/* Support Page Styles */
.support-page {
    padding: 2rem 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%);
    min-height: 100vh;
    color: #e0e0e0;
}

.support-header {
    text-align: center;
    margin-bottom: 3rem;
}

.support-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #8d5cff;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(141, 92, 255, 0.3);
}

.support-header h1 i {
    margin-right: 0.5rem;
    color: #8d5cff;
}

.support-header p {
    font-size: 1.1rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    color: #d4edda;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #f8d7da;
}

.alert i {
    font-size: 1.2rem;
}

/* Support Layout */
.support-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: start;
}

.support-left-column,
.support-right-column {
    display: grid;
    gap: 2rem;
}

/* Form Section */
.support-form-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(141, 92, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.support-form-section h2 {
    font-size: 1.5rem;
    color: #8d5cff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.support-form-section h2 i {
    color: #8d5cff;
}

.support-form {
    display: grid;
    gap: 1.5rem;
}

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

.form-group label {
    font-weight: 600;
    color: #e0e0e0;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 2px solid rgba(141, 92, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8d5cff;
    box-shadow: 0 0 0 3px rgba(141, 92, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.submit-btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #8d5cff 0%, #6b46c1 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 0.5rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(141, 92, 255, 0.3);
}

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

/* Login Required */
.login-required {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(141, 92, 255, 0.2);
}

.login-required i {
    font-size: 3rem;
    color: #8d5cff;
    margin-bottom: 1rem;
}

.login-required h3 {
    color: #e0e0e0;
    margin-bottom: 0.5rem;
}

.login-required p {
    color: #b0b0b0;
    margin-bottom: 1.5rem;
}

.login-required .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #8d5cff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-required .btn:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

/* Tickets Section */
.support-tickets-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(141, 92, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.support-tickets-section h2 {
    font-size: 1.5rem;
    color: #8d5cff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.support-tickets-section h2 i {
    color: #8d5cff;
}

.tickets-list {
    display: grid;
    gap: 1rem;
}

.ticket-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(141, 92, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.ticket-card:hover {
    border-color: rgba(141, 92, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(141, 92, 255, 0.1);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.ticket-info {
    flex: 1;
}

.ticket-subject {
    font-size: 1.1rem;
    color: #e0e0e0;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ticket-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.ticket-category {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.category-technical { background: rgba(255, 193, 7, 0.2); color: #ffc107; }
.category-account { background: rgba(0, 123, 255, 0.2); color: #007bff; }
.category-payment { background: rgba(40, 167, 69, 0.2); color: #28a745; }
.category-server { background: rgba(220, 53, 69, 0.2); color: #dc3545; }
.category-other { background: rgba(108, 117, 125, 0.2); color: #6c757d; }

.ticket-date {
    font-size: 0.85rem;
    color: #b0b0b0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.ticket-status {
    flex-shrink: 0;
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.status-open { background: rgba(255, 193, 7, 0.2); color: #ffc107; }
.status-in_progress { background: rgba(0, 123, 255, 0.2); color: #007bff; }
.status-closed { background: rgba(40, 167, 69, 0.2); color: #28a745; }

.ticket-actions {
    margin-top: 1rem;
}

.ticket-actions .btn {
    padding: 0.5rem 1rem;
    border: 1px solid #8d5cff;
    background: transparent;
    color: #8d5cff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.3s ease;
}

.ticket-actions .btn:hover {
    background: #8d5cff;
    color: white;
    transform: translateY(-1px);
}

/* Contact Section */
.support-contact-section,
.support-faq-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(141, 92, 255, 0.2);
    border-radius: 16px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.support-contact-section h2,
.support-faq-section h2 {
    font-size: 1.5rem;
    color: #8d5cff;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.support-contact-section h2 i,
.support-faq-section h2 i {
    color: #8d5cff;
}

.contact-info {
    display: grid;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.contact-item i {
    font-size: 1.5rem;
    color: #8d5cff;
    width: 40px;
    text-align: center;
}

.contact-item strong {
    color: #e0e0e0;
    margin-bottom: 0.25rem;
}

.contact-item a {
    color: #8d5cff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #a78bfa;
}

/* Support Stats */
.support-stats {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(141, 92, 255, 0.1);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-item i {
    font-size: 1.5rem;
    color: #8d5cff;
    width: 40px;
    text-align: center;
}

.stat-item strong {
    color: #e0e0e0;
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.stat-item span {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-list {
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid #8d5cff;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-1px);
}

.faq-item h4 {
    color: #8d5cff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-item p {
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .support-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

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

    .support-header h1 {
        font-size: 2rem;
    }

    .support-form-section,
    .support-tickets-section,
    .support-contact-section,
    .support-faq-section {
        padding: 1.5rem;
    }

    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .ticket-status {
        align-self: flex-end;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .contact-item i {
        width: auto;
    }
}

@media (max-width: 480px) {
    .support-header h1 {
        font-size: 1.8rem;
    }

    .support-form-section,
    .support-tickets-section,
    .support-contact-section,
    .support-faq-section {
        padding: 1rem;
    }

    .ticket-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .submit-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}
