/* ========================================
   LIVE CHAT STYLES - Mobile Optimized
   Matches Site Theme: Neon Tech Blue
   ======================================== */

:root {
    --chat-primary: #00d4ff;
    --chat-primary-dark: #00a8cc;
    --chat-dark: #1c1c1c;
    --chat-dark-light: #2a2a2a;
    --chat-darker: #161616;
    --chat-gray: #888888;
    --chat-gray-light: #444444;
    --chat-white: #ffffff;
    --chat-danger: #ef4444;
    --chat-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

/* Customer Chat Widget */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.chat-widget.loaded {
    opacity: 1;
    visibility: visible;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--chat-primary) !important;
    color: var(--chat-dark);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
    position: relative;
    animation: pulse 2s infinite;
    font-weight: 600;
}

.chat-toggle-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 6px 30px rgba(0, 0, 0, 0.5);
    background: var(--chat-primary-dark);
}

.chat-toggle-btn.active {
    background: var(--chat-danger);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6), 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Notification Badge */
.chat-notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--chat-danger);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    animation: bounce 0.5s ease;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.6), 0 4px 20px rgba(0, 0, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(0, 212, 255, 0.1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Chat Box */
.chat-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 380px;
    height: 550px;
    background: var(--chat-dark-light);
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3), 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--chat-gray-light);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;
    animation: slideUp 0.3s ease;
    opacity: 0;
}

.chat-box.loaded {
    opacity: 1;
}

.chat-box.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Header */
.chat-header {
    background: var(--chat-darker);
    border-bottom: 2px solid var(--chat-primary);
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.2);
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-admin-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--chat-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--chat-dark);
    position: relative;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
    font-weight: 600;
}

.chat-admin-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid white;
    background: #10b981;
}

.chat-admin-status.offline {
    background: #6b7280;
}

.chat-header-text h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-header-text p {
    margin: 4px 0 0;
    font-size: 13px;
    opacity: 0.9;
}

.chat-action-btn,
.chat-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.chat-action-btn:hover,
.chat-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.chat-action-btn {
    background: rgba(239, 68, 68, 0.3);
}

.chat-action-btn:hover {
    background: rgba(239, 68, 68, 0.5);
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: var(--chat-dark);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.chat-message {
    display: flex;
    gap: 10px;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.sent {
    flex-direction: row-reverse;
}

.chat-message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--chat-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--chat-white);
    flex-shrink: 0;
}

.chat-message.sent .chat-message-avatar {
    background: var(--chat-primary);
    color: var(--chat-dark);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.4);
    font-weight: 600;
}

.chat-message-content {
    max-width: 70%;
}

.chat-message-bubble {
    background: var(--chat-dark-light);
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid var(--chat-gray-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.5;
    color: var(--chat-white);
}

.chat-message.sent .chat-message-bubble {
    background: var(--chat-primary);
    color: var(--chat-dark);
    border: 1px solid var(--chat-primary);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3), 0 2px 8px rgba(0, 0, 0, 0.3);
    font-weight: 500;
}

/* System Message (End Conversation) */
.chat-message.system .chat-message-bubble {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid var(--chat-danger);
    color: #ff6b6b;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    font-style: italic;
}

.chat-message.system .chat-message-avatar {
    background: var(--chat-danger);
    color: white;
}

.chat-message-time {
    font-size: 11px;
    color: var(--chat-gray);
    margin-top: 4px;
    padding: 0 8px;
}

.chat-message.sent .chat-message-time {
    text-align: right;
}

/* Typing Indicator */
.chat-typing-indicator {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.chat-typing-indicator.active {
    display: flex;
}

.chat-typing-dots {
    background: var(--chat-dark-light);
    padding: 12px 16px;
    border-radius: 16px;
    border: 1px solid var(--chat-gray-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 4px;
}

.chat-typing-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--chat-primary);
    animation: typingDot 1.4s infinite;
    box-shadow: 0 0 5px rgba(0, 212, 255, 0.5);
}

.chat-typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.5;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Chat Input */
.chat-input-area {
    padding: 16px 20px;
    background: var(--chat-darker);
    border-top: 1px solid var(--chat-gray-light);
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.chat-input {
    flex: 1;
    border: 1px solid var(--chat-gray-light);
    border-radius: 24px;
    padding: 12px 18px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    resize: none;
    max-height: 100px;
    min-height: 44px;
    transition: all 0.2s ease;
    background: var(--chat-dark);
    color: var(--chat-white);
}

.chat-input:focus {
    outline: none;
    border-color: var(--chat-primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.chat-input::placeholder {
    color: var(--chat-gray);
}

.chat-send-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--chat-primary);
    color: var(--chat-dark);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    font-weight: 600;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    background: var(--chat-primary-dark);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Welcome Message */
.chat-welcome-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--chat-gray);
}

.chat-welcome-message i {
    font-size: 48px;
    color: var(--chat-primary);
    margin-bottom: 16px;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.5));
}

.chat-welcome-message h4 {
    font-size: 18px;
    color: var(--chat-white);
    margin: 0 0 8px;
}

.chat-welcome-message p {
    font-size: 14px;
    margin: 0;
    color: var(--chat-gray);
}

/* ========================================
   ADMIN CHAT PANEL STYLES
   ======================================== */

.admin-chat-panel {
    background: var(--chat-dark-light);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2), 0 2px 8px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--chat-gray-light);
    overflow: hidden;
    height: 600px;
    display: flex;
}

/* Chat Sidebar (Customer List) */
.admin-chat-sidebar {
    width: 300px;
    border-right: 1px solid var(--chat-gray-light);
    display: flex;
    flex-direction: column;
    background: var(--chat-darker);
}

.admin-chat-sidebar-header {
    padding: 20px;
    background: var(--chat-dark);
    border-bottom: 1px solid var(--chat-gray-light);
}

.admin-chat-sidebar-header h3 {
    margin: 0 0 12px;
    font-size: 18px;
    color: var(--chat-white);
}

.admin-chat-search {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--chat-gray-light);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: var(--chat-darker);
    color: var(--chat-white);
}

.admin-chat-search:focus {
    outline: none;
    border-color: var(--chat-primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.admin-chat-search::placeholder {
    color: var(--chat-gray);
}

/* Customer List */
.admin-chat-customers {
    flex: 1;
    overflow-y: auto;
}

.admin-chat-customer {
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border-bottom: 1px solid var(--chat-gray-light);
    transition: all 0.2s ease;
}

.admin-chat-customer:hover {
    background: var(--chat-dark);
}

.admin-chat-customer.active {
    background: var(--chat-dark);
    border-left: 3px solid var(--chat-primary);
    box-shadow: inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.admin-chat-customer-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--chat-primary);
    color: var(--chat-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

.admin-chat-customer-status {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: #10b981;
}

.admin-chat-customer-status.offline {
    background: #6b7280;
}

.admin-chat-customer-info {
    flex: 1;
    min-width: 0;
}

.admin-chat-customer-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--chat-white);
    margin: 0 0 4px;
}

.admin-chat-customer-last-message {
    font-size: 13px;
    color: var(--chat-gray);
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-chat-customer-badge {
    background: var(--chat-danger);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

/* Admin Chat Main Area */
.admin-chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: var(--chat-dark);
}

.admin-chat-header {
    padding: 20px;
    background: var(--chat-darker);
    border-bottom: 2px solid var(--chat-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.2);
}

.admin-chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-chat-header-text h3 {
    margin: 0;
    font-size: 16px;
    color: var(--chat-white);
}

.admin-chat-header-text p {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--chat-gray);
}

.admin-chat-actions {
    display: flex;
    gap: 8px;
}

.admin-chat-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--chat-gray-light);
    background: var(--chat-dark);
    color: var(--chat-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.admin-chat-action-btn:hover {
    background: var(--chat-dark-light);
    border-color: var(--chat-primary);
    color: var(--chat-primary);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

/* Admin Messages Area */
.admin-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Empty State */
.admin-chat-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--chat-gray);
    padding: 40px;
}

.admin-chat-empty i {
    font-size: 64px;
    margin-bottom: 20px;
    color: var(--chat-primary);
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.3));
}

.admin-chat-empty h3 {
    margin: 0 0 8px;
    color: var(--chat-white);
    font-size: 18px;
}

.admin-chat-empty p {
    margin: 0;
    font-size: 14px;
    color: var(--chat-gray);
}

/* Admin Input Area */
.admin-chat-input-area {
    padding: 16px 20px;
    background: var(--chat-darker);
    border-top: 1px solid var(--chat-gray-light);
}

/* Online Status Toggle (Admin) */
.admin-status-toggle {
    padding: 12px 20px;
    background: var(--chat-dark);
    border-bottom: 1px solid var(--chat-gray-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-status-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--chat-white);
    font-weight: 500;
}

.admin-status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

.admin-status-indicator.offline {
    background: var(--chat-gray);
    box-shadow: none;
}

.admin-status-switch {
    position: relative;
    width: 48px;
    height: 26px;
}

.admin-status-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.admin-status-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--chat-gray-light);
    transition: 0.3s;
    border-radius: 26px;
}

.admin-status-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

input:checked + .admin-status-slider {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

input:checked + .admin-status-slider:before {
    transform: translateX(22px);
}

/* Tablet Responsiveness (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .chat-box {
        width: 420px;
        height: 600px;
    }
    
    .admin-chat-panel {
        height: 650px;
    }
    
    .admin-chat-sidebar {
        width: 280px;
    }
    
    .chat-messages,
    .admin-chat-messages {
        padding: 18px;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }

    .chat-box {
        width: calc(100vw - 20px);
        height: calc(100vh - 100px);
        right: 10px;
        bottom: 85px;
        max-width: 100%;
        border-radius: 12px;
    }

    .chat-toggle-btn {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

    .chat-messages {
        padding: 16px;
    }

    .chat-message-content {
        max-width: 80%;
    }

    /* Admin Panel Mobile */
    .admin-chat-panel {
        flex-direction: column;
        height: auto;
    }

    .admin-chat-sidebar {
        width: 100%;
        max-height: 300px;
    }

    .admin-chat-main {
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }

    .chat-toggle-btn {
        width: 52px;
        height: 52px;
        font-size: 20px;
    }

    .chat-box {
        bottom: 75px;
    }

    .chat-header {
        padding: 16px;
    }

    .chat-admin-avatar {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .chat-header-text h3 {
        font-size: 15px;
    }

    .chat-header-text p {
        font-size: 12px;
    }

    .chat-messages {
        padding: 12px;
        gap: 10px;
    }

    .chat-message-bubble {
        padding: 10px 14px;
        font-size: 13px;
    }

    .chat-input-area {
        padding: 12px 16px;
    }
}

/* Already dark themed - no need for dark mode media query */

/* Name Prompt Styles */
.chat-name-prompt {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.chat-name-prompt.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.chat-name-prompt-content {
    background: var(--chat-dark-light);
    border: 2px solid var(--chat-primary);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3), 0 10px 40px rgba(0, 0, 0, 0.6);
    width: 320px;
    max-width: calc(100vw - 40px);
    position: relative;
    animation: glow-border 3s ease-in-out infinite;
}

@keyframes glow-border {
    0%, 100% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.3), 0 10px 40px rgba(0, 0, 0, 0.6); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.5), 0 10px 40px rgba(0, 0, 0, 0.6); }
}

.chat-name-prompt-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    color: var(--chat-gray);
    font-size: 24px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.chat-name-prompt-close:hover {
    background: var(--chat-gray-light);
    color: var(--chat-white);
    transform: rotate(90deg);
}

.chat-name-prompt-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--chat-primary), var(--chat-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: var(--chat-dark);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.chat-name-prompt-content h4 {
    margin: 0 0 8px;
    color: var(--chat-white);
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

.chat-name-prompt-content p {
    margin: 0 0 20px;
    color: var(--chat-gray);
    font-size: 14px;
    text-align: center;
}

.chat-name-prompt-input {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.chat-name-prompt-input input {
    flex: 1;
    padding: 12px 16px;
    background: var(--chat-darker);
    border: 1px solid var(--chat-gray-light);
    border-radius: 8px;
    color: var(--chat-white);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.chat-name-prompt-input input:focus {
    outline: none;
    border-color: var(--chat-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.chat-name-prompt-input input::placeholder {
    color: var(--chat-gray);
}

.btn-name-submit {
    padding: 12px 16px;
    background: var(--chat-primary);
    border: none;
    border-radius: 8px;
    color: var(--chat-dark);
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.btn-name-submit:hover {
    background: var(--chat-primary-dark);
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.4);
}

.btn-name-skip {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--chat-gray-light);
    border-radius: 8px;
    color: var(--chat-gray);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.btn-name-skip:hover {
    background: var(--chat-gray-light);
    color: var(--chat-white);
    border-color: var(--chat-gray);
}

/* Responsive for name prompt */
@media (max-width: 480px) {
    .chat-name-prompt {
        right: 10px;
        bottom: 90px;
    }
    
    .chat-name-prompt-content {
        width: calc(100vw - 20px);
        padding: 20px;
    }
}

/* Customer Info Form Styles */
.chat-info-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.chat-info-form-overlay.active {
    opacity: 1;
    visibility: visible;
}

.chat-info-form {
    background: var(--chat-dark-light);
    border: 2px solid var(--chat-primary);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: calc(100% - 40px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4), 0 20px 60px rgba(0, 0, 0, 0.6);
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.chat-info-form-overlay.active .chat-info-form {
    transform: scale(1);
}

.chat-info-form-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--chat-gray-light);
    color: var(--chat-gray);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.2s ease;
}

.chat-info-form-close:hover {
    background: var(--chat-gray-light);
    color: var(--chat-white);
    transform: rotate(90deg);
    border-color: var(--chat-primary);
}

.chat-info-form-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--chat-primary), var(--chat-primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--chat-dark);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.4);
}

.chat-info-form h3 {
    margin: 0 0 10px;
    color: var(--chat-white);
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.chat-info-form > p {
    margin: 0 0 30px;
    color: var(--chat-gray);
    font-size: 14px;
    text-align: center;
}

.chat-info-form .form-group {
    margin-bottom: 20px;
}

.chat-info-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--chat-white);
    font-size: 14px;
    font-weight: 500;
}

.chat-info-form .form-group label i {
    color: var(--chat-primary);
    margin-right: 6px;
}

.chat-info-form .form-group input {
    width: 100%;
    padding: 14px 16px;
    background: var(--chat-darker);
    border: 1px solid var(--chat-gray-light);
    border-radius: 10px;
    color: var(--chat-white);
    font-size: 15px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.chat-info-form .form-group input:focus {
    outline: none;
    border-color: var(--chat-primary);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.chat-info-form .form-group input::placeholder {
    color: var(--chat-gray);
}

.btn-start-chat {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--chat-primary), var(--chat-primary-dark));
    color: var(--chat-dark);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
    margin-top: 10px;
}

.btn-start-chat:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

.btn-start-chat:active {
    transform: translateY(0);
}

/* Responsive for info form */
@media (max-width: 480px) {
    .chat-info-form {
        padding: 30px 20px;
        width: calc(100% - 20px);
    }
    
    .chat-info-form h3 {
        font-size: 20px;
    }
    
    .chat-info-form-icon {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }
}

/* Print Styles */
@media print {
    .chat-widget,
    .chat-box,
    .chat-name-prompt,
    .chat-info-form-overlay {
        display: none !important;
    }
}

