/* =========================================================
   AUTHENTICATION & DASHBOARD STYLES
   ========================================================= */

/* =========================================================
   AUTH PAGE LAYOUT
   ========================================================= */

body.auth-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(
        to bottom,
        rgba(173, 216, 255, 0.55) 0%,
        rgba(100, 160, 230, 0.40) 20%,
        rgba(27,  62,  150, 0.80) 60%,
        rgba(14,  21,  48,  1.00) 100%
    );
}

/* Override absolute header positioning on auth pages */
body.auth-page .site-header {
    position: relative;
}

.auth-main {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 60px 20px;
}

.auth-container {
    width: 100%;
    max-width: 550px;
    margin: 0 auto;
}

/* =========================================================
   AUTH CARD
   ========================================================= */

.auth-card,
.payment-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(27, 42, 107, 0.15);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.auth-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 70px rgba(27, 42, 107, 0.20);
}

.auth-card.hidden {
    display: none;
}

/* =========================================================
   AUTH HEADER
   ========================================================= */

.auth-header {
    margin-bottom: 40px;
    text-align: center;
}

.auth-header h1 {
    margin: 0 0 10px;
    color: #1B2A6B;
    font-size: 32px;
    font-weight: 850;
    letter-spacing: -1px;
}

.auth-header p {
    margin: 0;
    color: #606880;
    font-size: 16px;
}

/* =========================================================
   FORM STYLES
   ========================================================= */

.auth-form,
.payment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #1B2A6B;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #D4D8E8;
    border-radius: 10px;
    font-size: 15px;
    color: #1B2A6B;
    background: white;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3A50C4;
    box-shadow: 0 0 0 3px rgba(58, 80, 196, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8b839a;
}

/* =========================================================
   FORM CHECKBOX
   ========================================================= */

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 14px;
    color: #606880;
    margin: 0;
    cursor: pointer;
    line-height: 1.6;
}

.form-checkbox a {
    color: #3A50C4;
    font-weight: 600;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

/* =========================================================
   FORM ERROR
   ========================================================= */

.form-error {
    display: none;
    padding: 12px 16px;
    background: #fee;
    border-left: 4px solid #f44;
    border-radius: 6px;
    color: #c33;
    font-size: 14px;
    font-weight: 600;
}

/* =========================================================
   AUTH SUBMIT BUTTON
   ========================================================= */

.auth-submit {
    margin-top: 10px;
}

.auth-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* =========================================================
   AUTH FOOTER
   ========================================================= */

.auth-footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #D4D8E8;
}

.auth-footer p {
    margin: 0;
    font-size: 14px;
    color: #606880;
}

.auth-footer a {
    color: #3A50C4;
    font-weight: 700;
    text-decoration: none;
    transition: color 180ms ease;
}

.auth-footer a:hover {
    color: #1B2A6B;
    text-decoration: underline;
}

/* =========================================================
   PAYMENT BANNER
   ========================================================= */

.payment-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 28px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #1B2A6B, #3A50C4);
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(27, 42, 107, 0.22);
    flex-wrap: wrap;
}

.payment-banner-submitted {
    background: linear-gradient(135deg, #14532d, #166534);
}

.payment-banner-setup {
    background: linear-gradient(135deg, #7c2d12, #ea580c);
}

.payment-banner-content {
    display: flex;
    align-items: center;
    gap: 18px;
    flex: 1;
}

.payment-banner-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.payment-banner-content strong {
    display: block;
    color: #ffffff;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 4px;
}

.payment-banner-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.5;
}

.payment-banner-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: #ffffff;
    color: #1B2A6B;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease;
    white-space: nowrap;
}

.payment-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

/* Pay Now sidebar link */
.sidebar-pay-link {
    color: #3A50C4 !important;
    font-weight: 800 !important;
    border: 1px solid #D4D8E8;
    background: #EEF0F8;
}

.sidebar-pay-link:hover {
    background: #3A50C4 !important;
    color: white !important;
    border-color: #3A50C4;
}

@media (max-width: 600px) {
    .payment-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-banner-btn {
        width: 100%;
        justify-content: center;
    }
}

/* =========================================================
   PAYMENT PAGE STYLES
   ========================================================= */

.payment-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 50px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.progress-step .step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #EEF0F8;
    color: #1B2A6B;
    font-weight: 800;
    font-size: 16px;
}

.progress-step.completed .step-number {
    background: #3A50C4;
    color: white;
}

.progress-step.active .step-number {
    background: #3A50C4;
    color: white;
    box-shadow: 0 0 0 4px rgba(58, 80, 196, 0.15);
}

.progress-step .step-label {
    font-size: 12px;
    font-weight: 700;
    color: #1B2A6B;
    white-space: nowrap;
}

.progress-line {
    width: 80px;
    height: 2px;
    background: #D4D8E8;
    margin: 0 -10px;
    position: relative;
    z-index: 0;
}

/* =========================================================
   PAYMENT HEADER
   ========================================================= */

.payment-header {
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid #D4D8E8;
}

.payment-header h1 {
    margin: 0 0 8px;
    color: #1B2A6B;
    font-size: 28px;
    font-weight: 850;
}

.payment-header p {
    margin: 0;
    color: #606880;
    font-size: 15px;
}

/* =========================================================
   ORDER SUMMARY
   ========================================================= */

.order-summary {
    background: #F5F6FA;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.order-summary h2 {
    margin: 0 0 20px;
    color: #1B2A6B;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(27, 42, 107, 0.1);
}

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

.summary-row span:first-child {
    color: #606880;
    font-size: 15px;
}

.summary-row span:last-child {
    color: #1B2A6B;
    font-weight: 700;
    font-size: 15px;
}

/* =========================================================
   PAYMENT METHODS
   ========================================================= */

.payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.payment-method-option {
    position: relative;
}

.payment-method-option input[type="radio"] {
    display: none;
}

.payment-method-option .method-label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 2px solid #D4D8E8;
    border-radius: 10px;
    background: white;
    color: #606880;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 180ms ease;
}

.payment-method-option input[type="radio"]:checked + .method-label {
    border-color: #3A50C4;
    background: rgba(58, 80, 196, 0.08);
    color: #3A50C4;
}

/* =========================================================
   PAYMENT DETAILS
   ========================================================= */

.payment-details-section {
    margin-bottom: 30px;
    display: block;
}

.details-box {
    background: #F5F6FA;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #3A50C4;
}

.details-box h3 {
    margin: 0 0 16px;
    color: #1B2A6B;
    font-size: 15px;
    font-weight: 800;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: #606880;
}

.detail-label {
    font-weight: 600;
}

.detail-value {
    color: #1B2A6B;
    font-weight: 700;
    font-family: "Courier New", monospace;
}

.detail-note {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(27, 42, 107, 0.1);
    font-size: 13px;
    color: #8b839a;
    margin: 0;
}

/* =========================================================
   FILE UPLOAD
   ========================================================= */

.file-upload {
    position: relative;
    margin: 0;
}

.file-upload input[type="file"] {
    display: none;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 40px 20px;
    border: 2px dashed #D4D8E8;
    border-radius: 12px;
    background: #F5F6FA;
    cursor: pointer;
    transition: all 180ms ease;
}

.file-upload:hover .upload-placeholder {
    border-color: #3A50C4;
    background: rgba(58, 80, 196, 0.05);
}

.upload-icon {
    font-size: 32px;
}

.upload-text {
    color: #1B2A6B;
    font-weight: 700;
    font-size: 15px;
}

.upload-hint {
    color: #8b839a;
    font-size: 13px;
}

.file-preview {
    margin-top: 12px;
    padding: 12px;
    background: #f0fdf4;
    border-radius: 8px;
    border-left: 3px solid #22c96a;
    color: #15803d;
    font-size: 13px;
    font-weight: 600;
}

/* =========================================================
   PAYMENT CONFIRMATION
   ========================================================= */

.payment-confirmation {
    text-align: center;
    padding: 40px;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: #f0fdf4;
    border-radius: 50%;
    font-size: 40px;
    color: #22c96a;
}

.payment-confirmation h2 {
    margin: 0 0 10px;
    color: #1B2A6B;
    font-size: 26px;
    font-weight: 850;
}

.payment-confirmation > p {
    margin: 0 0 30px;
    color: #606880;
    font-size: 16px;
}

.confirmation-details {
    background: #F5F6FA;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.confirmation-details p {
    margin: 0 0 12px;
    color: #1B2A6B;
    font-size: 14px;
    font-weight: 600;
}

.confirmation-details ol {
    margin: 0;
    padding-left: 20px;
    color: #606880;
    font-size: 14px;
}

.confirmation-details li {
    margin-bottom: 8px;
}

.confirmation-info {
    background: #faf9fd;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: left;
}

.confirmation-info p {
    margin: 10px 0;
    font-size: 14px;
    color: #606880;
}

/* =========================================================
   DASHBOARD PAGE
   ========================================================= */

.dashboard-main {
    flex: 1;
    padding: 40px 0;
    background: linear-gradient(to bottom, #f5f6fa 0%, #ffffff 100%);
}

.dashboard-header {
    position: relative;
}

.dashboard-grid {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

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

.dashboard-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 250px;
    flex-shrink: 0;
}

.dashboard-sidebar h2 {
    margin: 0 0 20px;
    color: #1B2A6B;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sidebar-link {
    padding: 14px 18px;
    color: #606880;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 180ms ease;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: #EEF0F8;
    color: #1B2A6B;
}

.sidebar-link.active {
    background: #3A50C4;
    color: white;
    border-left-color: #3A50C4;
}

/* =========================================================
   DASHBOARD CONTENT
   ========================================================= */

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1;
    padding: 0 40px;
}

.dashboard-section {
    display: none;
    width: 100%;
}

.dashboard-section.active {
    display: block;
    width: 100%;
}

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

.section-header {
    margin-bottom: 30px;
}

.section-header h1 {
    margin: 0;
    color: #1B2A6B;
    font-size: 32px;
    font-weight: 850;
    letter-spacing: -1px;
}

.section-header p {
    margin: 8px 0 0;
    color: #606880;
    font-size: 16px;
}

/* =========================================================
   STATUS ALERT
   ========================================================= */

.status-alert {
    margin-bottom: 30px;
    padding: 16px 20px;
    border-radius: 10px;
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    color: #b45309;
    font-size: 14px;
    font-weight: 600;
    display: none;
}

.status-alert.show {
    display: block;
}

.demo-message {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* =========================================================
   STATUS CARD
   ========================================================= */

.status-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(27, 42, 107, 0.08);
    margin-bottom: 30px;
}

.status-card h2 {
    margin: 0 0 25px;
    color: #1B2A6B;
    font-size: 20px;
    font-weight: 800;
}

.status-content {
    display: grid;
    gap: 16px;
    margin-bottom: 20px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #EEF0F8;
}

.status-item:last-of-type {
    border-bottom: none;
}

.status-label {
    color: #606880;
    font-size: 15px;
    font-weight: 600;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.pending {
    background: #fef3c7;
    color: #b45309;
}

.status-badge.approved {
    background: #dcfce7;
    color: #166534;
}

.pending-message {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
    color: #92400e;
}

.pending-message p {
    margin: 8px 0;
}

.pending-message p:first-child {
    margin-top: 0;
    font-weight: 700;
}

/* =========================================================
   QUICK ACCESS
   ========================================================= */

.quick-access {
    margin-top: 40px;
}

.quick-access h2 {
    margin: 0 0 20px;
    color: #1B2A6B;
    font-size: 20px;
    font-weight: 800;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: white;
    border: 1px solid #D4D8E8;
    border-radius: 12px;
    transition: all 180ms ease;
    text-align: center;
}

.quick-link:hover {
    border-color: #3A50C4;
    background: rgba(58, 80, 196, 0.05);
    transform: translateY(-2px);
}

.link-icon {
    font-size: 32px;
}

.link-label {
    font-size: 14px;
    font-weight: 700;
    color: #1B2A6B;
}

/* =========================================================
   PROFILE CARD
   ========================================================= */

.profile-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(27, 42, 107, 0.08);
}

.profile-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.info-item {
    padding: 20px 0;
    border-bottom: 1px solid #EEF0F8;
}

.info-item label {
    display: block;
    color: #606880;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.info-item p {
    margin: 0;
    color: #1B2A6B;
    font-size: 16px;
    font-weight: 600;
}

/* =========================================================
   PLAN CARD
   ========================================================= */

.plan-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(27, 42, 107, 0.08);
}

.plan-info {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #EEF0F8;
}

.plan-info h2 {
    margin: 0 0 8px;
    color: #1B2A6B;
    font-size: 26px;
    font-weight: 850;
}

.plan-info p {
    margin: 0 0 16px;
    color: #606880;
    font-size: 15px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.plan-price span:first-child {
    color: #1B2A6B;
    font-size: 28px;
    font-weight: 850;
}

.plan-price span:last-child {
    color: #606880;
    font-size: 14px;
}

.plan-features {
    margin-top: 0;
}

.plan-features h3 {
    margin: 0 0 16px;
    color: #1B2A6B;
    font-size: 16px;
    font-weight: 800;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #606880;
    font-size: 14px;
}

.plan-features li::before {
    content: "✓";
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #EEF0F8;
    color: #3A50C4;
    border-radius: 50%;
    flex-shrink: 0;
    font-weight: 800;
    font-size: 12px;
}

/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #D4D8E8;
    box-shadow: 0 4px 12px rgba(27, 42, 107, 0.06);
    transition: all 180ms ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: #3A50C4;
    box-shadow: 0 8px 24px rgba(27, 42, 107, 0.12);
}

.feature-card h3 {
    margin: 0 0 10px;
    color: #1B2A6B;
    font-size: 17px;
    font-weight: 800;
}

.feature-card p {
    margin: 0 0 20px;
    color: #606880;
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.feature-button {
    padding: 12px 16px;
    background: #3A50C4;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 180ms ease;
}

.feature-button:hover:not(:disabled) {
    background: #1B2A6B;
    transform: translateY(-2px);
}

.feature-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.feature-button.btn-approved {
    background: #10b981;
}

.feature-button.btn-approved:hover:not(:disabled) {
    background: #059669;
}

.feature-button.btn-pending {
    background: #f59e0b;
}

.feature-button.btn-pending:hover:not(:disabled) {
    background: #d97706;
}

.feature-button.btn-rejected {
    background: #ef4444;
}

.feature-button.btn-rejected:hover:not(:disabled) {
    background: #dc2626;
}

/* =========================================================
   SETTINGS
   ========================================================= */

.settings-group {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(27, 42, 107, 0.06);
}

.settings-group h2 {
    margin: 0 0 20px;
    color: #1B2A6B;
    font-size: 18px;
    font-weight: 800;
}

.settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #EEF0F8;
}

.settings-item:last-child {
    border-bottom: none;
}

.settings-item label {
    color: #1B2A6B;
    font-size: 15px;
    font-weight: 600;
    margin: 0;
}

.settings-button {
    padding: 10px 20px;
    background: #3A50C4;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 180ms ease;
}

.settings-button:hover:not(:disabled) {
    background: #1B2A6B;
    transform: translateY(-1px);
}

.settings-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.settings-button.danger {
    background: #f44;
    color: white;
}

.settings-button.danger:hover:not(:disabled) {
    background: #c33;
}

.settings-item.danger {
    border-bottom-color: #fee;
}

/* =========================================================
   DASHBOARD SETUP FORM
   ========================================================= */

.dashboard-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dashboard-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.dashboard-form legend {
    padding: 0;
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 800;
    color: #1B2A6B;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid #EEF0F8;
    padding-bottom: 12px;
}

.dashboard-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-form label {
    color: #1B2A6B;
    font-size: 14px;
    font-weight: 700;
}

.dashboard-form input[type="text"],
.dashboard-form input[type="email"],
.dashboard-form input[type="tel"],
.dashboard-form input[type="number"],
.dashboard-form select,
.dashboard-form textarea {
    padding: 12px 16px;
    border: 1px solid #D4D8E8;
    border-radius: 10px;
    font-size: 14px;
    color: #1B2A6B;
    background: white;
    font-family: inherit;
}

.dashboard-form input[type="text"]:focus,
.dashboard-form input[type="email"]:focus,
.dashboard-form input[type="tel"]:focus,
.dashboard-form input[type="number"]:focus,
.dashboard-form select:focus,
.dashboard-form textarea:focus {
    outline: none;
    border-color: #3A50C4;
    box-shadow: 0 0 0 3px rgba(58, 80, 196, 0.1);
}

.dashboard-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3A50C4;
    cursor: pointer;
}

.dashboard-form .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

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

/* =========================================================
   SETUP ERROR
   ========================================================= */

.dashboard-form .form-error {
    display: none;
    padding: 12px 16px;
    background: #fee;
    border-left: 4px solid #f44;
    border-radius: 6px;
    color: #c33;
    font-size: 14px;
    font-weight: 600;
}

.dashboard-form .form-error:not(:empty) {
    display: block;
}

#dashboardSetupError:not(:empty) {
    display: block;
    padding: 12px 16px;
    background: #fee;
    border-left: 4px solid #f44;
    border-radius: 6px;
    color: #c33;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

#dashboardSetupError.success {
    background: #f0fdf4;
    border-left-color: #22c96a;
    color: #15803d;
}

/* =========================================================
   SETUP SUCCESS
   ========================================================= */

#dashboardSetupError.success {
    display: block;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        gap: 30px;
    }

    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .profile-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .auth-main {
        padding: 40px 20px;
    }

    .auth-card,
    .payment-card {
        padding: 35px;
    }

    .auth-header h1 {
        font-size: 26px;
    }

    .dashboard-grid {
        flex-direction: column;
        gap: 30px;
    }

    .dashboard-sidebar {
        width: 100%;
        flex-shrink: 1;
    }

    .dashboard-content {
        padding: 0 20px;
    }

    .payment-progress {
        flex-wrap: wrap;
        gap: 15px;
    }

    .progress-line {
        display: none;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .quick-links {
        grid-template-columns: 1fr;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .section-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .auth-card,
    .payment-card {
        padding: 25px;
    }

    .auth-header h1 {
        font-size: 22px;
    }

    .sidebar-link {
        padding: 12px 14px;
        font-size: 14px;
    }

    .status-card,
    .plan-card,
    .profile-card,
    .settings-group {
        padding: 20px;
    }
}

/* =========================================================
   TICKET STYLES
   ========================================================= */

.ticket-upload-card,
.ticket-docs-card,
.ticket-chat-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(27, 42, 107, 0.08);
    margin-bottom: 30px;
    position: relative;
    width: 100%;
    display: block;
}

.ticket-add-docs-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(27, 42, 107, 0.08);
    margin-bottom: 30px;
    position: relative;
    width: 100%;
    display: none;
}

#ticketPanel .ticket-add-docs-card {
    display: block;
}

.ticket-upload-card h2,
.ticket-add-docs-card h2,
.ticket-docs-card h2,
.ticket-chat-card h2 {
    margin: 0 0 20px;
    color: #1B2A6B;
    font-size: 20px;
    font-weight: 800;
}

.ticket-drop-zone {
    border: 2px dashed #D4D8E8;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    background: #F5F6FA;
    cursor: pointer;
    transition: all 180ms ease;
    margin-bottom: 15px;
}

.ticket-drop-zone:hover {
    border-color: #3A50C4;
    background: rgba(58, 80, 196, 0.05);
}

.ticket-drop-zone.drag-over {
    border-color: #3A50C4;
    background: rgba(58, 80, 196, 0.1);
}

.drop-inner {
    cursor: pointer;
}

.drop-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.drop-label {
    margin: 0 0 8px;
    color: #1B2A6B;
    font-weight: 700;
    font-size: 15px;
}

.drop-hint {
    margin: 0;
    color: #8b839a;
    font-size: 13px;
}

.ticket-file-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.ticket-camera-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

.camera-btn {
    padding: 10px 16px;
    background: #EEF0F8;
    color: #3A50C4;
    border: 1px solid #D4D8E8;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 180ms ease;
}

.camera-btn:hover {
    background: #3A50C4;
    color: white;
}

.camera-hint {
    color: #8b839a;
    font-size: 13px;
}

.camera-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.camera-snap-btn,
.camera-cancel-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 180ms ease;
}

.camera-snap-btn {
    background: #3A50C4;
    color: white;
}

.camera-snap-btn:hover {
    background: #1B2A6B;
}

.camera-cancel-btn {
    background: #D4D8E8;
    color: #1B2A6B;
}

.camera-cancel-btn:hover {
    background: #C0C5DB;
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 400px;
    overflow-y: auto;
    padding: 15px;
    background: #FAFBFF;
    border-radius: 10px;
    border: 1px solid #E8EAF0;
    margin-bottom: 15px;
    min-height: 200px;
}

.chat-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

#chatInput,
#adminChatInput {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #D4D8E8;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #1B2A6B;
}

#chatInput:focus,
#adminChatInput:focus {
    outline: none;
    border-color: #3A50C4;
    box-shadow: 0 0 0 3px rgba(58, 80, 196, 0.1);
}

#chatImageBtn,
#chatCameraBtn,
#chatSendBtn {
    padding: 10px 16px;
    background: #3A50C4;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 180ms ease;
    white-space: nowrap;
}

#chatImageBtn:hover,
#chatCameraBtn:hover,
#chatSendBtn:hover {
    background: #1B2A6B;
    transform: translateY(-2px);
}

#chatImageBtn:disabled,
#chatCameraBtn:disabled,
#chatSendBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
