/* ==========================================
   SUPPORT PAGE STYLES
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0D0F10;
    color: #FFFFFF;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
}

.support-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.support-hero {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(139, 92, 246, 0.05));
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.support-hero-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 900;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.support-hero-subtitle {
    font-size: 1.1rem;
    color: #A9ADB1;
    margin-bottom: 2rem;
}

.support-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.support-stat {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: #3B82F6;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6B7280;
    text-transform: uppercase;
}

/* ==========================================
   MAIN CONTENT
   ========================================== */

.support-main {
    padding: 3rem 0;
}

.support-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2.5rem;
    align-items: start;
}

/* ==========================================
   FORM CARD
   ========================================== */

.support-form-card {
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.form-subtitle {
    font-size: 1rem;
    color: #A9ADB1;
    margin-bottom: 2rem;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #FFFFFF;
}

.required {
    color: #EF4444;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: #3B82F6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #6B7280;
}

.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 20px;
    padding-right: 2.5rem;
    appearance: none;
}

[dir="rtl"] .form-select {
    background-position: left 0.75rem center;
    padding-right: 1rem;
    padding-left: 2.5rem;
}

.form-select option {
    background: #1A1D1F;
    color: #FFFFFF;
}

.form-textarea {
    resize: vertical;
    min-height: 150px;
}

.char-count {
    text-align: right;
    font-size: 0.85rem;
    color: #6B7280;
    margin-top: -0.5rem;
}

[dir="rtl"] .char-count {
    text-align: left;
}

/* File Upload */
.file-upload {
    border: 2px dashed rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: rgba(59, 130, 246, 0.3);
}

.file-upload-placeholder {
    padding: 2rem;
    text-align: center;
    cursor: pointer;
}

.file-upload-placeholder svg {
    width: 48px;
    height: 48px;
    color: #6B7280;
    margin-bottom: 1rem;
}

.file-upload-placeholder span {
    display: block;
    font-size: 0.95rem;
    color: #A9ADB1;
    margin-bottom: 0.5rem;
}

.file-upload-placeholder small {
    display: block;
    font-size: 0.85rem;
    color: #6B7280;
}

.file-preview {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.file-preview-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.file-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-icon svg {
    width: 20px;
    height: 20px;
    color: #3B82F6;
}

.file-info {
    flex: 1;
}

.file-name {
    font-size: 0.9rem;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
}

.file-size {
    font-size: 0.8rem;
    color: #6B7280;
}

.file-remove {
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.1);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-remove:hover {
    background: rgba(239, 68, 68, 0.2);
}

.file-remove svg {
    width: 16px;
    height: 16px;
    color: #EF4444;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    border: none;
    border-radius: 12px;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.5);
}

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

.submit-btn svg {
    width: 20px;
    height: 20px;
}

.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.loading svg {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.success-message svg {
    width: 64px;
    height: 64px;
    color: #10B981;
    margin-bottom: 1.5rem;
}

.success-message h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.75rem;
}

.success-message p {
    font-size: 1rem;
    color: #A9ADB1;
}

/* ==========================================
   SIDEBAR
   ========================================== */

.support-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

.contact-card {
    background: rgba(26, 29, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
}

.contact-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
}

.contact-card-text {
    font-size: 0.9rem;
    color: #A9ADB1;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(59, 130, 246, 0.3);
    transform: translateX(5px);
}

[dir="rtl"] .contact-method:hover {
    transform: translateX(-5px);
}

.method-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon svg {
    width: 20px;
    height: 20px;
    color: #3B82F6;
}

.method-info {
    flex: 1;
}

.method-name {
    font-size: 0.85rem;
    color: #6B7280;
    margin-bottom: 0.25rem;
}

.method-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: #FFFFFF;
}

.help-link-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.help-link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    color: #3B82F6;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.help-link-btn:hover {
    background: rgba(59, 130, 246, 0.15);
}

.help-link-btn svg {
    width: 16px;
    height: 16px;
}

.business-hours {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.9rem;
}

.hours-row:last-child {
    border-bottom: none;
}

.hours-row span {
    color: #A9ADB1;
}

.hours-row strong {
    color: #FFFFFF;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

@media (max-width: 968px) {
    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-sidebar {
        position: relative;
        top: 0;
    }
}

@media (max-width: 768px) {
    .support-container {
        padding: 0 1.5rem;
    }

    .support-hero {
        padding: 2.5rem 0;
    }

    .support-stats {
        gap: 2rem;
    }

    .support-form-card {
        padding: 2rem 1.5rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .support-hero-title {
        font-size: 1.5rem;
    }

    .support-form-card {
        padding: 1.5rem 1.25rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .support-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* ==========================================
   END SUPPORT.CSS
   ========================================== */