
/* ===== WRAPPER ===== */
.help-wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
}

/* Background blur dots - matching register page */
.help-wrap::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(circle at 15% 25%, rgba(218, 25, 89, 0.08) 0%, transparent 35%),
        radial-gradient(circle at 85% 75%, rgba(249, 144, 81, 0.06) 0%, transparent 35%);
}

/* ===== MAIN CARD ===== */
.help-box {
    display: flex;
    width: 100%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 1;
}



/* ===== CONTENT ===== */
.help-main {
    flex: 1;
    padding: 35px 40px;
}

/* Header - matches register page style */
.help-top {
    text-align: center;
    margin-bottom: 30px;
}

.help-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(218, 25, 89, 0.1), rgba(249, 144, 81, 0.08));
    border: 1px solid rgba(218, 25, 89, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #da1959;
    font-size: 32px;
}

.help-top h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.help-top p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

/* ===== TABS ===== */
.help-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    padding: 4px;
    background: #f1f5f9;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.help-tab {
    flex: 1;
    padding: 14px 20px;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.help-tab i {
    font-size: 18px;
}

.help-tab.active {
    background: linear-gradient(135deg, #700d3b, #fe589e) !important;
    color: #fff;
    box-shadow: 0 4px 15px -5px rgba(218, 25, 89, 0.4);
}

.help-tab:not(.active):hover {
    color: #475569;
    background: rgba(255, 255, 255, 0.5);
}

/* ===== PANELS ===== */
.help-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.help-panel.active {
    display: block;
}

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

/* ===== FORM ===== */
.help-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.help-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.help-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.help-field label {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
    padding-left: 5px;
    display: flex;
    justify-content: space-between;
}

.help-input-wrap,
.help-select-wrap {
    position: relative;
    height: 52px;
    display: flex;
    align-items: center;
}

.help-input-wrap > i:first-child,
.help-select-wrap > i:first-child {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #da1959;
    font-size: 18px;
    z-index: 2;
}

.help-input-wrap input,
.help-select-wrap select {
    width: 100%;
    height: 52px;
    padding: 0 40px 0 52px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    color: #1e293b;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
    transition: all 0.2s;
    appearance: none;
}

.help-input-wrap input:focus,
.help-select-wrap select:focus {
    border-color: rgba(218, 25, 89, 0.4);
    background: #ffffff;
    box-shadow: 0 0 20px rgba(218, 25, 89, 0.1);
}

.help-input-wrap input::placeholder {
    color: #94a3b8;
}

.help-select-arrow {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
    pointer-events: none;
}

.help-textarea-wrap {
    position: relative;
}

.help-textarea-wrap textarea {
    width: 100%;
    padding: 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    color: #1e293b;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
    resize: vertical;
    min-height: 120px;
    transition: all 0.2s;
}

.help-textarea-wrap textarea:focus {
    border-color: rgba(218, 25, 89, 0.4);
    background: #ffffff;
    box-shadow: 0 0 20px rgba(218, 25, 89, 0.1);
}

.help-textarea-wrap textarea::placeholder {
    color: #94a3b8;
}

.help-hint {
    font-size: 12px;
    color: #94a3b8;
    padding-left: 5px;
}

/* Captcha - matches register page */
.help-captcha {
    display: flex;
    justify-content: center;
    padding: 15px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px dashed #e2e8f0;
    margin: 5px 0;
}

/* Button - matches register page exactly */
.help-btn {
    height: 54px;
    background: linear-gradient(135deg, #700d3b, #fe589e) !important;
    border: none;
    border-radius: 14px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 10px 30px -10px rgba(218, 25, 89, 0.35);
    margin-top: 5px;
}

.help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(218, 25, 89, 0.45);
}

.help-btn-secondary {
    background: #f1f5f9;
    border: 1.5px solid #e2e8f0;
    color: #f8f8f8;
    box-shadow: none;
}

.help-btn-secondary:hover {
    background: rgba(218, 25, 89, 0.05);
    border-color: rgba(218, 25, 89, 0.3);
    color: #da1959;
}

.help-btn-small {
    height: 44px;
    font-size: 14px;
    padding: 0 24px;
    width: auto;
    display: inline-flex;
}

/* Check Form */
.help-check-form {
    max-width: 400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

/* Tickets List */
.help-tickets {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.help-ticket {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.help-ticket:hover {
    background: #ffffff;
    border-color: rgba(218, 25, 89, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(5px);
}

.help-ticket-main {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.help-ticket-id {
    font-size: 12px;
    color: #da1959;
    font-weight: 700;
    font-family: 'DM Sans', sans-serif;
}

.help-ticket-main h4 {
    color: #1e293b;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.help-ticket-date {
    font-size: 12px;
    color: #94a3b8;
}

.help-ticket-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.help-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.help-status-open,
.help-status-pending {
    background: rgba(255, 193, 7, 0.1);
    color: #d97706;
}

.help-status-closed {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.help-status-resolved {
    background: rgba(25, 135, 84, 0.1);
    color: #198754;
}

.help-ticket-meta > i {
    color: #94a3b8;
    font-size: 18px;
}

/* Empty State */
.help-empty {
    text-align: center;
    padding: 50px 20px;
}

.help-empty > i {
    font-size: 60px;
    color: #e2e8f0;
    margin-bottom: 20px;
}

.help-empty h3 {
    color: #1e293b;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.help-empty p {
    color: #64748b;
    font-size: 14px;
    margin: 0 0 25px 0;
}

/* ===== INFO CARDS ===== */
.help-info {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
    max-width: 900px;
    padding: 18px 35px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

.help-card {
    flex: 1;
    text-align: center;
    transition: all 0.3s;
}

.help-card:hover {
    transform: translateY(-3px);
}

.help-card i {
    font-size: 24px;
    color: #da1959;
    margin-bottom: 8px;
}

.help-card h4 {
    color: #1e293b;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.help-card p {
    color: #64748b;
    font-size: 12px;
    margin: 0;
}

/* ===== FAQ LINK ===== */
.help-faq {
    margin-top: 25px;
    color: #64748b;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.help-faq a {
    color: #da1959;
    text-decoration: none;
    font-weight: 700;
    margin-left: 6px;
    transition: color 0.2s;
}

.help-faq a:hover {
    color: #f99051;
}

/* ===== ALERTS ===== */
.alert {
    margin-bottom: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: rgba(25, 135, 84, 0.08);
    border: 1px solid rgba(25, 135, 84, 0.15);
    color: #198754;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.15);
    color: #d97706;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .help-wrap {
        padding: 20px 15px;
    }
    
    .help-main {
        padding: 25px;
    }
    
    .help-row {
        grid-template-columns: 1fr;
    }
    
    .help-tabs {
        flex-direction: column;
    }
    
    .help-tab {
        justify-content: flex-start;
    }
    
    .help-info {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        border-radius: 20px;
        padding: 20px;
    }
    
    .help-ticket {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .help-ticket-meta {
        width: 100%;
        justify-content: space-between;
    }
}
