/* Clean master app styles to avoid interference */
html,
body,
#root {
  height: 100%;
  margin: 0;
  padding: 0;
}

.roman-v {
  display: inline-block;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  line-height: 0.8;
  padding: 1px 1px;
  margin: 0 1px;
  font-family: 'Times New Roman', serif;
}/* Clean master app styles *//* Container */
.whatsapp-widget-container {
    position: fixed;
    bottom: 1.5rem;
    /* bottom-6 */
    right: 1.5rem;
    /* right-6 */
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Inter', sans-serif;
}

/* Chat Window */
.whatsapp-chat-window {
    margin-bottom: 1rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 320px;
    overflow: hidden;
    border: 1px solid #f3f4f6;
}

/* Header */
.whatsapp-header {
    background: linear-gradient(to right, hsl(199, 89%, 48%), hsl(271, 91%, 65%));
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.whatsapp-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.whatsapp-avatar-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: white;
    border-radius: 9999px;
    color: #25D366;
}

.whatsapp-avatar-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0.625rem;
    height: 0.625rem;
    background-color: #22c55e;
    border: 2px solid white;
    border-radius: 9999px;
}

.whatsapp-header-title {
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    margin: 0;
}

.whatsapp-header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    font-weight: 500;
    margin: 0;
}

.whatsapp-close-btn {
    color: rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.375rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-close-btn:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Body */
.whatsapp-body {
    padding: 1.25rem;
    background-color: #f9fafb;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 16px 16px;
}

.whatsapp-message {
    background-color: white;
    padding: 1rem;
    border-radius: 1rem;
    border-top-left-radius: 0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    font-size: 0.875rem;
    color: #374151;
    max-width: 90%;
    align-self: flex-start;
    border: 1px solid #f3f4f6;
    position: relative;
    line-height: 1.625;
}

.whatsapp-timestamp {
    font-size: 0.625rem;
    color: #9ca3af;
    position: absolute;
    bottom: 0.25rem;
    right: 0.5rem;
}

/* Footer */
.whatsapp-footer {
    padding: 1rem;
    background-color: white;
    border-top: 1px solid #f3f4f6;
}

.whatsapp-send-btn {
    width: 100%;
    background-color: #25D366;
    color: white;
    font-weight: 700;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.whatsapp-send-btn:hover {
    background-color: #20bd5a;
    box-shadow: 0 10px 15px -3px rgba(34, 197, 94, 0.3);
    transform: translateY(-1px);
}

/* Floating Button */
.whatsapp-float-btn {
    border-radius: 9999px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 50;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.whatsapp-float-btn.open {
    width: 3.5rem;
    height: 3.5rem;
    background-color: white;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.whatsapp-float-btn.open:hover {
    background-color: #f9fafb;
}

.whatsapp-float-btn.closed {
    width: 4rem;
    height: 4rem;
    background-color: #25D366;
    color: white;
}

.whatsapp-float-btn.closed:hover {
    background-color: #20bd5a;
    transform: scale(1.05);
}

.whatsapp-float-btn-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 9999px;
    overflow: visible;
}

/* Notification Bell */
.whatsapp-notification {
    position: absolute;
    top: 0;
    right: 0;
    width: 1.5rem;
    height: 1.5rem;
    background-color: #dc2626;
    border-radius: 9999px;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    z-index: 10;
}