/* Support Page Styles */

/* Hero Section */
.support-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 50%, #ecfdf5 100%);
    background-image: url('../images/bg-splash.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #1f2937;
    text-align: center;
}

.support-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.support-hero .hero-content {
    position: relative;
    z-index: 2;
}

.support-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #1f2937;
    font-weight: 700;
    line-height: 1.25;
}

.support-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #6b7280;
    line-height: 1.625;
}

/* Search Box */
.search-box {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    font-size: 1.2rem;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 60px;
    border: 1px solid rgba(20, 184, 166, 0.1);
    border-radius: 50px;
    font-size: 16px;
    background: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 8px 25px rgba(20, 184, 166, 0.2);
}

/* Quick Actions */
.quick-actions {
    padding: 5rem 0;
    background: white;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.action-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(20, 184, 166, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.action-card:hover {
    transform: translateY(-5px);
    border-color: #14b8a6;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.action-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
}

.action-card h3 {
    margin-bottom: 1rem;
    color: #1f2937;
    font-weight: 600;
}

.action-card p {
    margin-bottom: 1.5rem;
    color: #6b7280;
    line-height: 1.625;
}

/* Help Categories */
.help-categories {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 100%);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(20, 184, 166, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: #f8f9ff;
    border: 2px solid #e0e7ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: #14b8a6;
}

.category-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.category-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-card li {
    margin-bottom: 0.75rem;
}

.category-card a {
    color: #14b8a6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.category-card a:hover {
    color: #5a67d8;
    text-decoration: underline;
}

/* Help Content */
.help-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.help-article {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: #14b8a6;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: #5a67d8;
}

/* Support Forms */
.support-forms {
    padding: 4rem 0;
}

.support-form-card {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e9ecef;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    margin-bottom: 0.5rem;
    color: #333;
}

.form-header p {
    color: #666;
    margin-bottom: 0;
}

.support-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #14b8a6;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Rating Input */
.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color 0.3s ease;
    margin-bottom: 0;
}

.rating-input label:hover,
.rating-input label:hover ~ label {
    color: #fbbf24;
}

.rating-input input[type="radio"]:checked ~ label {
    color: #fbbf24;
}

/* Support Contact */
.support-contact {
    padding: 4rem 0;
    background: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-card p {
    margin-bottom: 1rem;
    color: #666;
}

.contact-card a {
    color: #14b8a6;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.contact-card a:hover {
    text-decoration: underline;
}

.response-time {
    font-size: 0.875rem;
    color: #888;
    font-style: italic;
}

/* Success Modal */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.success-modal {
    background: white;
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
    max-width: 400px;
    margin: 0 1rem;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-icon i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-modal h3 {
    margin-bottom: 1rem;
    color: #333;
}

.success-modal p {
    margin-bottom: 2rem;
    color: #666;
}

/* Search Results */
.search-results {
    background: white;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-height: 400px;
    overflow-y: auto;
    display: none;
}

.search-result-item {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-result-item:hover {
    background: #f8f9fa;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    font-weight: 500;
    color: #333;
    margin-bottom: 0.25rem;
}

.search-result-description {
    color: #666;
    font-size: 0.875rem;
}

/* Form States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
}

.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #10b981;
}

.error-text {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.error-text.show {
    display: block;
}

/* Loading States */
.support-form.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .support-hero h1 {
        font-size: 2rem;
    }
    
    .support-hero p {
        font-size: 1rem;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .support-form-card {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .help-article {
        margin: 0 1rem;
        padding: 2rem;
    }
    
    .success-modal {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .support-hero {
        padding: 100px 0 40px;
    }
    
    .quick-actions,
    .help-categories,
    .support-forms,
    .support-contact {
        padding: 2rem 0;
    }
    
    .action-card,
    .category-card,
    .contact-card {
        padding: 1.5rem;
    }
    
    .action-icon,
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
} 
