/* Premium Common Styles - ATM Comfort Zone */
:root {
    --navy: #0a192f;
    --gold: #d4af37;
    --gold-light: #e5c158;
    --white: #ffffff;
    --gray: #8892b0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Chat Widget - Deep Fix */
.chat-widget {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 10000;
    font-family: 'Inter', sans-serif;
}

.chat-bubble {
    width: 50px;
    height: 50px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: var(--transition);
    animation: bubblePulse 3s infinite;
}

@keyframes bubblePulse {
    0% { box-shadow: 0 0 0 0 rgba(10, 25, 47, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(10, 25, 47, 0); }
    100% { box-shadow: 0 0 0 0 rgba(10, 25, 47, 0); }
}

.chat-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    background: #152c4a;
}

.chat-window {
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 280px;
    max-height: 400px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    display: none;
    flex-direction: column;
    transform-origin: bottom right;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-right: -5px;
}

.chat-window.active {
    display: flex;
    animation: chatIn 0.4s cubic-bezier(0.17, 0.88, 0.32, 1.15);
}

@keyframes chatIn {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
    background: var(--navy);
    color: var(--white);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 2px solid var(--gold);
}

.chat-header img {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: white;
    padding: 3px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.chat-header strong {
    font-size: 0.85rem;
    display: block;
    letter-spacing: 0.5px;
}

.chat-body {
    padding: 1.25rem;
}

.chat-msg {
    background: #f1f5f9;
    padding: 0.8rem;
    border-radius: 10px 10px 10px 4px;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #1e293b;
    margin-bottom: 1.25rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.chat-option {
    padding: 0.75rem 0.9rem;
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.chat-option:hover {
    background: #f8fafc;
    border-color: var(--gold);
    color: var(--gold);
    transform: translateX(5px);
}

.chat-option i {
    color: var(--gold);
    font-size: 1rem;
}

/* Navigation Handled per-page primarily, but with common minimalist branding */
.logo span {
    display: none !important;
}

/* Ensure consistent hamburger branding */
.hamburger.active span {
    background: var(--gold) !important;
}

/* Occasion Form Fixes */
.modal-content {
    max-width: 500px !important;
    padding: 1.5rem !important;
}

.form-group {
    margin-bottom: 0.8rem !important;
}

.form-row {
    gap: 0.8rem !important;
}

.modal-content h2 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.selected-occasion {
    padding: 0.6rem !important;
    margin-bottom: 1rem !important;
    font-size: 0.9rem !important;
}

textarea {
    height: 80px !important;
}

@media (max-width: 480px) {
    .chat-window {
        width: 280px;
        right: -10px;
    }
}
