/* Customer Care Modal Styles */
.customer-care-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 10000;
    animation: modalFadeIn 0.3s ease;
}

.customer-care-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.customer-care-content {
    background: white;
    border-radius: 24px;
    max-width: 520px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close-btn:hover {
    background: #e5e7eb;
    transform: rotate(90deg);
}

.modal-close-btn i {
    font-size: 1.125rem;
    color: #6b7280;
}

.customer-care-header {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    padding: 48px 32px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.customer-care-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: headerPulse 3s ease-in-out infinite;
}

@keyframes headerPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.header-icon-wrapper {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.header-icon-wrapper i {
    font-size: 2.25rem;
    color: #2563eb;
}

.customer-care-header h3 {
    color: white;
    font-size: 1.75rem;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}

.customer-care-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin: 0;
    position: relative;
    z-index: 1;
}

.customer-care-body {
    padding: 40px 32px;
}

.care-section {
    margin-bottom: 32px;
}

.care-section:last-child {
    margin-bottom: 0;
}

.care-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.care-section-title i {
    color: #9ca3af;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-method {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.contact-method:hover {
    border-color: #2563eb;
    background: #eff6ff;
    transform: translateX(4px);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.contact-method:hover .contact-icon {
    transform: scale(1.1);
}

.contact-icon.phone {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.contact-icon.email {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.contact-icon.chat {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.contact-details {
    flex: 1;
}

.contact-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 4px;
}

.contact-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.contact-method.phone .contact-value {
    color: #10b981;
}

.contact-method.email .contact-value {
    color: #f59e0b;
}

.contact-method.chat .contact-value {
    color: #8b5cf6;
}

.contact-arrow {
    color: #9ca3af;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.contact-method:hover .contact-arrow {
    color: #2563eb;
    transform: translateX(4px);
}

.availability-info {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 2px solid #a7f3d0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.availability-icon {
    width: 40px;
    height: 40px;
    background: #10b981;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.availability-text {
    flex: 1;
}

.availability-text strong {
    display: block;
    color: #065f46;
    font-size: 0.9375rem;
    margin-bottom: 2px;
}

.availability-text span {
    color: #047857;
    font-size: 0.8125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.feature-item {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 8px;
}

.feature-item span {
    display: block;
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 640px) {
    .customer-care-content {
        border-radius: 20px 20px 0 0;
        margin-top: auto;
        max-height: 85vh;
    }
    
    .customer-care-header {
        padding: 40px 24px 32px;
    }
    
    .customer-care-header h3 {
        font-size: 1.5rem;
    }
    
    .customer-care-body {
        padding: 32px 24px;
    }
    
    .contact-method {
        padding: 16px;
    }
    
    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
    
    .contact-value {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth scrollbar */
.customer-care-content::-webkit-scrollbar {
    width: 8px;
}

.customer-care-content::-webkit-scrollbar-track {
    background: #f9fafb;
}

.customer-care-content::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}

.customer-care-content::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}
