/* Support Panel Styling */
.support-panel-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 18, 32, 0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    opacity: 0;
    visibility: hidden;
}

.support-panel-overlay.active {
    right: 0;
    opacity: 1;
    visibility: visible;
}

.support-panel {
    position: absolute;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100%;
    background: #fff;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    z-index: 10001;
}

.support-panel-overlay.active .support-panel {
    right: 0;
}

@media (max-width: 480px) {
    .support-panel {
        width: 100%;
        right: -100%;
    }
}

/* Header */
.support-header {
    padding: 30px;
    background: linear-gradient(135deg, #001220 0%, #002b49 100%);
    color: #fff;
    position: relative;
}

.close-panel {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.close-panel:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.support-header h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 5px;
}

.support-header p {
    font-size: 14px;
    opacity: 0.8;
}

/* Content */
.support-content {
    flex: 1;
    overflow-y: auto;
    padding: 25px;
}

.support-content::-webkit-scrollbar {
    width: 5px;
}

.support-content::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 10px;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 30px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    color: #002b49;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
}

.action-btn i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.action-btn.whatsapp i {
    color: #25d366;
}

.action-btn.chat i {
    color: #3b82f6;
}

.action-btn.call i {
    color: #10b981;
}

.action-btn.quote i {
    color: #f59e0b;
}

.action-btn.issue i {
    color: #ef4444;
}

.action-btn:hover {
    background: #fff;
    border-color: #002b49;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 43, 73, 0.1);
}

/* Smart Questions */
.smart-questions {
    margin-bottom: 30px;
}

.smart-questions h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #64748b;
    margin-bottom: 15px;
    font-weight: 700;
}

.question-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.question-item {
    padding: 12px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #334155;
    transition: all 0.2s;
    text-align: left;
}

.question-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #002b49;
}

/* Emergency Box */
.emergency-box {
    background: #fff1f2;
    border: 2px solid #fda4af;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.emergency-box h4 {
    color: #be123c;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 8px;
}

.emergency-box p {
    font-size: 13px;
    color: #9f1239;
    margin-bottom: 15px;
}

.emergency-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e11d48;
    color: #fff;
    padding: 10px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(225, 29, 72, 0.3);
}

.emergency-call-btn:hover {
    background: #be123c;
    transform: scale(1.05);
}

/* Footer */
.support-footer {
    padding: 20px 25px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.online-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #059669;
}

.online-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.footer-stats {
    display: flex;
    gap: 20px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat .label {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat .value {
    font-size: 13px;
    font-weight: 700;
    color: #002b49;
}