* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2f6 100%);
    color: #1e293b;
    min-height: 100vh;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.header-badge {
    display: inline-block;
    background: linear-gradient(135deg, #f2a83a20, #e5982b20);
    color: #f2a83a;
    padding: 6px 18px;
    border-radius: 60px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #1f2a44, #2d3a5e);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-header h1 .accent {
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-header p {
    color: #64748b;
    font-size: 1.1rem;
}

/* Location Card */
.location-card {
    background: white;
    border-radius: 32px;
    padding: 28px 36px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(242,168,58,0.15);
}

.location-info {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.location-label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 12px 24px;
    border-radius: 60px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
}

.location-label i {
    color: #f2a83a;
}

.location-selector-trigger {
    flex: 1;
    cursor: pointer;
}

.no-location-selected {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #fef9f0, #fff5e6);
    border: 2px dashed #f2a83a;
    border-radius: 60px;
    color: #f2a83a;
    font-weight: 600;
    transition: all 0.3s;
}

.no-location-selected:hover {
    background: #f2a83a;
    color: white;
}

.selected-location-display {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 24px;
    background: #fef9f0;
    border: 1px solid #f2a83a;
    border-radius: 60px;
}

.selected-location-display .flag { font-size: 1.5rem; }
.selected-location-display .country-name { font-weight: 700; color: #1f2a44; }
.selected-location-display .currency { font-size: 0.85rem; color: #f2a83a; background: white; padding: 4px 12px; border-radius: 40px; }

/* Buttons */
.action-bar {
    display: flex;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e2e8f0;
}

.btn-back, .btn-next {
    padding: 12px 32px;
    border-radius: 60px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-back {
    background: #f1f5f9;
    color: #475569;
}

.btn-back:hover {
    background: #e2e8f0;
}

.btn-next {
    background: linear-gradient(135deg, #1f2a44, #2d3a5e);
    color: white;
}

.btn-next:hover:not(:disabled) {
    background: linear-gradient(135deg, #f2a83a, #e5982b);
}

.btn-next:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Period Tabs - Component Override */
.period-tabs {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 32px;
}

/* Tabs Component Styling */
.tabs-container.tabs-pills {
    margin-bottom: 32px;
}

.tabs-container.tabs-pills .tabs-header {
    justify-content: center;
    gap: 16px;
    padding: 0;
    background: transparent;
    border-bottom: none;
}

.tabs-container.tabs-pills .tab-btn {
    padding: 12px 32px;
    font-size: 0.95rem;
    background: var(--color-white, #ffffff);
    border: 2px solid var(--color-gray-200, #e2e8f0);
    color: var(--color-gray-600, #475569);
    border-radius: 60px;
    font-weight: 700;
}

.tabs-container.tabs-pills .tab-btn.active {
    background: linear-gradient(135deg, var(--color-secondary, #1f2a44), var(--color-secondary-light, #2d3a5e));
    color: var(--color-white, #ffffff);
    border-color: var(--color-secondary, #1f2a44);
}

.tabs-container.tabs-pills .tab-btn.active::after {
    display: none;
}

/* Plan Cards */
.plans-card-container, .payment-methods-container {
    background: white;
    border-radius: 32px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    border: 1px solid #e2e8f0;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

/* Subscription Card Component Styling */
.subscription-card {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.subscription-card:hover {
    transform: translateY(-6px);
}

.subscription-card.selected {
    border: 2px solid var(--color-primary, #f2a83a);
    background: linear-gradient(135deg, #ffffff, #fefbf5);
}

.subscription-card.selected::after {
    content: "✓";
    position: absolute;
    top: -10px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: var(--color-success, #10b981);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.subscription-card .subscription-action {
    margin-top: 20px;
    width: 100%;
}

/* Fallback Plan Card Styles */
.plan-card {
    background: white;
    border-radius: 24px;
    padding: 24px;
    transition: all 0.3s;
    border: 1px solid #e2e8f0;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.1);
    border-color: #f2a83a;
}

.plan-card.selected-plan-card {
    border: 2px solid #f2a83a;
    background: linear-gradient(135deg, #ffffff, #fefbf5);
}

.plan-card.selected-plan-card::after {
    content: "✓";
    position: absolute;
    top: -10px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 4px 10px rgba(16,185,129,0.3);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    color: #1f2a44;
    padding: 5px 20px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 800;
    white-space: nowrap;
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1f2a44;
    margin-bottom: 8px;
    text-align: center;
}

.plan-price {
    font-size: 2rem;
    font-weight: 800;
    color: #f2a83a;
    text-align: center;
    margin: 12px 0;
}

.plan-price small {
    font-size: 0.8rem;
    color: #64748b;
}

.select-plan-btn {
    width: 100%;
    padding: 12px 20px;
    background: #f8fafc;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.select-plan-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.plan-card.selected-plan-card .select-plan-btn {
    background: #f2a83a;
    border-color: #f2a83a;
    color: #1f2a44;
    font-weight: 700;
}

/* Payment Methods */
.payment-methods-container h2 {
    text-align: center;
    margin-bottom: 12px;
    font-size: 1.5rem;
}

.section-subtitle {
    text-align: center;
    color: #64748b;
    margin-bottom: 24px;
}

.payment-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    padding: 16px 0;
}

.payment-pill {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 60px;
    padding: 14px 28px;
    min-width: 180px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.payment-pill:hover {
    transform: translateY(-3px);
    border-color: #f2a83a;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(242,168,58,0.15);
}

.payment-pill.selected {
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    border-color: #f2a83a;
}

.payment-pill.selected .pill-name {
    color: #1f2a44;
    font-weight: 800;
}

.pill-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #475569;
}

/* Loading Spinner */
.loading-spinner {
    text-align: center;
    padding: 40px;
    color: var(--color-gray-500, #64748b);
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--color-primary, #f2a83a);
    margin-bottom: 12px;
    display: inline-block;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 48px;
    color: var(--color-gray-500, #64748b);
}

.empty-state i {
    font-size: 3rem;
    color: var(--color-gray-300, #cbd5e1);
    margin-bottom: 16px;
    display: inline-block;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 32px;
    max-width: 680px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 28px 32px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: white;
    border-radius: 32px 32px 0 0;
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2a44;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header h3 i {
    color: #f2a83a;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    color: #ef4444;
    background: #fef2f2;
}

.modal-body {
    padding: 32px;
}

.modal-footer {
    padding: 20px 32px 28px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 16px;
    background: white;
    border-radius: 0 0 32px 32px;
}

.btn-secondary, .btn-primary {
    flex: 1;
    padding: 14px 24px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-primary {
    background: linear-gradient(135deg, #1f2a44, #2d3a5e);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    color: #1f2a44;
}

/* Plan Summary */
.plan-summary-full {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 24px;
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
}

.plan-summary-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.plan-summary-header i {
    color: #f2a83a;
}

.plan-summary-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.plan-summary-details .plan-name {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1f2a44;
}

.plan-summary-details .amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: #f2a83a;
}

/* Payment Instructions */
.payment-instructions-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
}

.payment-instructions-card h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2a44;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-instructions-card h4 i {
    color: #f2a83a;
}

.payment-instructions-text {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #475569;
    white-space: pre-line;
    background: white;
    padding: 16px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
}

/* Upload Section */
.upload-section, .upload-section-mobile {
    margin-top: 24px;
}

.upload-header, .upload-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.upload-header h4, .upload-header-mobile h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1f2a44;
    display: flex;
    align-items: center;
    gap: 10px;
}

.upload-header h4 i, .upload-header-mobile h4 i {
    color: #f2a83a;
}

.upload-limit, .upload-limit-mobile {
    font-size: 0.7rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 20px;
}

.upload-area, .upload-area-mobile {
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafcff;
}

.upload-area:hover, .upload-area-mobile:hover {
    border-color: #f2a83a;
    background: #fef9f0;
    transform: translateY(-2px);
}

.upload-area i, .upload-area-mobile i {
    font-size: 2rem;
    color: #94a3b8;
    margin-bottom: 10px;
    transition: all 0.3s;
}

.upload-area:hover i, .upload-area-mobile:hover i {
    color: #f2a83a;
}

.upload-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 4px;
}

.upload-hint {
    font-size: 0.7rem;
    color: #94a3b8;
}

.upload-area input, .upload-area-mobile input {
    display: none;
}

/* Image Preview */
.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.image-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
    background: #f8fafc;
}

.image-preview-item:hover {
    transform: scale(1.05);
    border-color: #f2a83a;
}

.image-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview-item .delete-image {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    border: 2px solid white;
    font-size: 0.7rem;
}

/* Success Modal */
.success-modal-content {
    max-width: 450px;
    text-align: center;
    padding: 40px 32px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: scaleIn 0.3s ease;
}

.success-icon i {
    font-size: 2.5rem;
    color: white;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.modal-header h3,
.modal-header h2,
.modal-header-left h3,
.modal-header-left h2 {
    color: #1f2a44 !important;
}

.modal-header h3 i,
.modal-header h2 i,
.modal-header-left h3 i,
.modal-header-left h2 i {
    color: #f2a83a !important;
}
.success-modal-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2a44;
    margin-bottom: 12px;
}
.success-modal-content h3 i {
    color: #10b981 !important;
}
.success-modal-content > p {
    color: #64748b;
    margin-bottom: 20px;
}

.transaction-ref {
    background: #f8fafc;
    padding: 16px;
    border-radius: 16px;
    font-size: 0.85rem;
    margin: 20px 0;
    text-align: left;
    border: 1px solid #e2e8f0;
}

.transaction-ref strong {
    color: #1f2a44;
    font-weight: 600;
}

.pending-message {
    background: #fef3c7;
    border-radius: 16px;
    padding: 16px;
    margin: 20px 0;
    text-align: center;
}

.pending-message i {
    font-size: 1.5rem;
    color: #f2a83a;
    margin-bottom: 8px;
    display: inline-block;
}

.pending-message p {
    color: #92400e;
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.pending-message .small-text {
    font-size: 0.7rem;
    color: #b45309;
}

.success-modal-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.success-modal-buttons .btn-secondary,
.success-modal-buttons .btn-primary {
    flex: 1;
    padding: 12px 20px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.success-modal-buttons .btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.success-modal-buttons .btn-secondary:hover {
    background: #e2e8f0;
}

.success-modal-buttons .btn-primary {
    background: linear-gradient(135deg, #1f2a44, #2d3a5e);
    color: white;
}

.success-modal-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    color: #1f2a44;
}

/* ==================== ERROR MODAL FIX ==================== */
.error-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none !important;
    align-items: center;
    justify-content: center;
    z-index: 20000;
}

.error-modal-overlay.open {
    display: flex !important;
}

.error-modal-content {
    background: white;
    border-radius: 28px;
    max-width: 400px;
    width: 90%;
    padding: 32px 28px;
    text-align: center;
    animation: errorModalPop 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@keyframes errorModalPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.error-modal-icon {
    width: 64px;
    height: 64px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.error-modal-icon i {
    font-size: 2rem;
    color: #ef4444;
}

.error-modal-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1f2a44 !important;
}

.error-modal-content p {
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.5;
}

.error-modal-buttons .btn-gotit {
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #1f2a44, #2d3a5e);
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.error-modal-buttons .btn-gotit:hover {
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    color: #1f2a44;
    transform: translateY(-2px);
}

/* Lightbox */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}

.lightbox-modal.open {
    visibility: visible;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
}

/* Mobile Bottom Sheet - 90% height */
.mobile-bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 28px 28px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001 !important;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.mobile-bottom-sheet.open {
    transform: translateY(0);
}

.bottom-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
}

.bottom-sheet-header h3 {
    font-size: 1.2rem;
    color: #1f2a44;
}

.close-sheet {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
}

.bottom-sheet-search {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.bottom-sheet-search i {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.bottom-sheet-search input {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 2px solid #e2e8f0;
    border-radius: 40px;
    font-size: 0.95rem;
}

.bottom-sheet-list {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0;
}

.sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}

.sheet-overlay.open {
    opacity: 1;
    visibility: visible;
}

.location-dropdown-option {
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
}

.location-dropdown-option:hover {
    background: #fef9f0;
}

.location-dropdown-option .flag {
    font-size: 1.5rem;
}

.location-dropdown-option .details {
    flex: 1;
}

.location-dropdown-option .name {
    font-weight: 700;
    color: #1f2a44;
}

.location-dropdown-option .currency-info {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 3px;
}

/* Mobile Fullscreen Modals */
.fullscreen-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.fullscreen-modal.open {
    transform: translateX(0);
}

.fullscreen-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    background: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.fullscreen-header .back-arrow-icon {
    background: #f1f5f9;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
}

.fullscreen-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2a44;
    flex: 1;
}

.fullscreen-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.fullscreen-footer {
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
    background: white;
    position: sticky;
    bottom: 0;
}

.btn-submit-mobile {
    width: 100%;
    padding: 14px;
    border-radius: 60px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    color: #1f2a44;
    font-size: 0.9rem;
}

/* Mobile Period Tabs */
.period-tabs-mobile {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.period-btn-mobile {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 60px;
    background: white;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #475569;
}

.period-btn-mobile.active {
    background: linear-gradient(135deg, #1f2a44, #2d3a5e);
    border-color: #1f2a44;
    color: white;
}

/* Mobile Plans Grid */
.plans-grid-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plan-card-mobile {
    background: white;
    border-radius: 20px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    position: relative;
}

.plan-card-mobile.selected-plan-card {
    border: 2px solid #f2a83a;
    background: #fefbf5;
}

.plan-card-mobile.selected-plan-card::after {
    content: "✓";
    position: absolute;
    top: -8px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: white;
}

.plan-name-mobile {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1f2a44;
}

.plan-price-mobile {
    font-size: 1.6rem;
    font-weight: 800;
    color: #f2a83a;
    margin: 8px 0;
}

.plan-price-mobile small {
    font-size: 0.7rem;
    color: #64748b;
}

.features-list-mobile {
    list-style: none;
    margin: 12px 0;
}

.features-list-mobile li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.75rem;
}

/* Mobile Payment Pills */
.payment-pills-container-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    padding: 8px 0;
}

.payment-pill-mobile {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 60px;
    padding: 10px 20px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.payment-pill-mobile.selected {
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    border-color: #f2a83a;
}

.payment-pill-mobile.selected .pill-name {
    color: #1f2a44;
    font-weight: 800;
}

/* Mobile Plan Summary */
.plan-summary-box-mobile {
    background: #f8fafc;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

.selected-plan-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.selected-plan-summary .plan-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2a44;
}

.selected-plan-summary .amount {
    font-size: 1.3rem;
    font-weight: 800;
    color: #f2a83a;
}

.payment-instructions-card-mobile {
    background: #f8fafc;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

.payment-instructions-card-mobile h4 {
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1f2a44;
}

/* Modal Header with Back Arrow */
.modal-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.back-arrow-modal {
    background: #f1f5f9;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid #e2e8f0;
}

/* Desktop vs Mobile */
@media (max-width: 768px) {
    .container { padding: 20px 16px; }
    .page-header h1 { font-size: 2rem; }
    .desktop-only { display: none !important; }
    
    /* Mobile tab adjustments */
    .tabs-container.tabs-pills .tab-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
    
    .payment-pill {
        padding: 10px 20px;
        min-width: 140px;
    }
}

@media (min-width: 769px) {
    .mobile-only { display: none !important; }
    .mobile-bottom-sheet, .sheet-overlay, .fullscreen-modal { display: none !important; }
}

/* Desktop Country Modal */
.modal-overlay-country {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000 !important;
    visibility: hidden;
    opacity: 0;
    transition: 0.2s;
}

.modal-overlay-country.open {
    visibility: visible;
    opacity: 1;
}

.country-modal-container {
    background: white;
    border-radius: 40px;
    width: 90%;
    max-width: 580px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideUp 0.2s ease;
    z-index: 100001 !important;
    position: relative;
}

.country-modal-header {
    padding: 22px 26px;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.country-modal-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-weight: 700;
    font-size: 1.2rem;
}

.country-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #94a3b8;
    transition: 0.2s;
}

.country-modal-close:hover {
    color: #ef4444;
}

.country-modal-search {
    padding: 18px 22px;
    border-bottom: 1px solid #edf2f7;
    position: relative;
}

.country-modal-search i {
    position: absolute;
    left: 34px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

.country-modal-search input {
    width: 100%;
    padding: 14px 20px 14px 44px;
    border: 1px solid #e2e8f0;
    border-radius: 60px;
    font-size: 0.9rem;
    background: #f9fafb;
    outline: none;
}

.country-modal-search input:focus {
    border-color: #f2a83a;
}

.country-list-container {
    overflow-y: auto;
    padding: 8px 0;
    max-height: 55vh;
}

.country-option-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 24px;
    cursor: pointer;
    transition: 0.1s;
    border-bottom: 1px solid #f1f5f9;
}

.country-option-item:last-child {
    border-bottom: none !important;
}

.country-option-item:hover {
    background: #fef9f0;
}

.country-flag-icon {
    font-size: 1.8rem;
    min-width: 48px;
    text-align: center;
}

.country-info-details {
    flex: 1;
}

.country-name-detail {
    font-weight: 700;
    color: #1f2a44;
    font-size: 1rem;
}

.country-currency-detail {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 2px;
}

body.modal-open {
    overflow: hidden;
}

/* No results message styling */
.no-results-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: #64748b;
}

.no-results-message i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.no-results-message p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #475569;
}

.no-results-message small {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Mobile No Results Message */
.no-results-message-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #64748b;
}

.no-results-message-mobile i {
    font-size: 3rem;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.no-results-message-mobile p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: #475569;
}

.no-results-message-mobile small {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* ==================== PLAN STATUS MODAL STYLES ==================== */
.plan-status-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20000;
    animation: fadeIn 0.2s ease;
}

.plan-status-modal-content {
    background: white;
    border-radius: 28px;
    max-width: 480px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.plan-status-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 28px;
    border-bottom: 1px solid #e2e8f0;
    border-left: 5px solid;
    border-radius: 28px 28px 0 0;
    background: linear-gradient(135deg, #f8fafc, #ffffff);
}

.plan-status-icon {
    font-size: 2rem;
}

.plan-status-modal-header h3 {
    flex: 1;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1f2a44 !important;
    margin: 0;
}

.payment-modal-content .modal-header h3 {
    color: #1f2a44 !important;
}

.auth-modal .modal-header h2 {
    color: #1f2a44 !important;
}

.plan-status-modal-close {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    color: #64748b;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-status-modal-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

.plan-status-modal-body {
    padding: 28px;
}

.existing-plan-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.existing-plan-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.existing-plan-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: 1px dashed #e2e8f0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 600;
    color: #64748b;
}

.detail-value {
    font-weight: 700;
    color: #1f2a44;
}

.plan-status-message {
    background: #fef9f0;
    border-radius: 16px;
    padding: 16px;
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
}

.plan-status-modal-footer {
    padding: 20px 28px 28px;
    display: flex;
    gap: 12px;
    border-top: 1px solid #e2e8f0;
}

.plan-status-action-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.upgrade-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.downgrade-btn {
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    color: #1f2a44;
}

.downgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 168, 58, 0.3);
}

.cancel-btn {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.cancel-btn:hover {
    background: #e2e8f0;
}

.warning-btn {
    background: #ef4444;
    color: white;
}

.warning-btn:hover {
    background: #dc2626;
}

.pending-btn {
    background: #f2a83a;
    color: #1f2a44;
}

.pending-btn:hover {
    background: #e5982b;
}

/* Animation keyframes */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .plan-status-modal-content {
        width: 95%;
        margin: 16px;
    }
    
    .plan-status-modal-header {
        padding: 20px;
    }
    
    .plan-status-modal-body {
        padding: 20px;
    }
    
    .plan-status-modal-footer {
        padding: 16px 20px 24px;
        flex-direction: column;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}

/* Existing Subscriptions List in Modal */
.existing-plan-summary {
    background: #f8fafc;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.plan-name-header {
    font-size: 1rem;
    font-weight: 700;
    color: #1f2a44;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.plan-name-header i {
    color: #f2a83a;
}

.subscriptions-list-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.existing-sub-item {
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    border-left: 3px solid;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sub-period-badge {
    font-size: 0.7rem;
    font-weight: 700;
    color: #1f2a44;
    margin-bottom: 6px;
    display: inline-block;
    background: #f1f5f9;
    padding: 2px 10px;
    border-radius: 20px;
}

.sub-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
}

.sub-amount {
    font-weight: 700;
    color: #f2a83a;
    font-size: 0.9rem;
}

.sub-status {
    font-size: 0.7rem;
    font-weight: 600;
}

.sub-date {
    font-size: 0.65rem;
    color: #94a3b8;
}

/* ==================== MOBILE LOCATION BUTTON ==================== */
.mobile-location-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: linear-gradient(135deg, #fef9f0, #fff5e6);
    padding: 14px 20px;
    border-radius: 60px;
    cursor: pointer;
    border: 2px dashed #f2a83a;
    margin-top: 16px;
    width: 100%;
}

.mobile-location-trigger span {
    flex: 1;
    font-weight: 600;
    color: #f2a83a;
}

.mobile-location-trigger i:first-child {
    font-size: 1.2rem;
    color: #f2a83a;
}

.mobile-location-trigger i:last-child {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .mobile-location-trigger {
        display: flex !important;
    }
    
    .location-selector-trigger {
        display: none !important;
    }
}

@media (min-width: 769px) {
    .mobile-location-trigger {
        display: none !important;
    }
}

.mobile-bottom-sheet {
    z-index: 10002 !important;
}

.sheet-overlay {
    z-index: 10001 !important;
}

/* ==================== MOBILE FOOTER NAVIGATION ==================== */
.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 16px 20px;
    border-top: 1px solid rgba(242, 168, 58, 0.2);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.footer-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 6px 12px;
    border-radius: 40px;
    flex: 1;
    max-width: 80px;
}

.footer-nav-item i {
    font-size: 1.2rem;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.footer-nav-item span {
    font-size: 0.7rem;
    font-weight: 500;
    color: #94a3b8;
    transition: all 0.2s ease;
}

.footer-nav-item.active {
    background: rgba(242, 168, 58, 0.15);
}

.footer-nav-item.active i {
    color: #f2a83a;
    transform: translateY(-2px);
}

.footer-nav-item.active span {
    color: #f2a83a;
    font-weight: 600;
}

.footer-nav-item:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .container {
        padding-bottom: 80px !important;
    }
    
    .mobile-footer {
        display: flex;
    }
}

@media (min-width: 769px) {
    .mobile-footer {
        display: none;
    }
}

/* ==================== ACCOUNT BOTTOM SHEET STYLES ==================== */
.account-bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-radius: 28px 28px 0 0;
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10002;
    height: 90vh;
    display: flex;
    flex-direction: column;
}

.account-bottom-sheet.open {
    transform: translateY(0);
}

.account-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 10001;
}

.account-sheet-overlay.open {
    opacity: 1;
    visibility: visible;
}

.account-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: white;
}

.account-sheet-header h3 {
    font-size: 1.2rem;
    color: #1f2a44;
    margin: 0;
    font-weight: 600;
}

.account-sheet-header h3 i {
    color: #f2a83a;
    margin-right: 8px;
}

.account-sheet-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.account-sheet-close:hover {
    background: #f1f5f9;
    color: #ef4444;
}

.account-sheet-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

.profile-section {
    text-align: center;
    padding: 32px 24px 24px;
    background: white;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    box-shadow: 0 8px 20px rgba(242, 168, 58, 0.25);
}

.profile-avatar i {
    font-size: 2.5rem;
    color: white;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2a44;
    margin-bottom: 4px;
}

.profile-email {
    font-size: 0.85rem;
    color: #64748b;
}

.menu-items {
    display: flex;
    flex-direction: column;
    padding: 8px 16px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 12px;
    margin-bottom: 4px;
}

.menu-item:hover {
    background: #f8fafc;
}

.menu-item:active {
    transform: scale(0.98);
}

.menu-item i:first-child {
    width: 24px;
    font-size: 1.1rem;
    color: #f2a83a;
}

.menu-item span {
    flex: 1;
    font-weight: 500;
    color: #1f2a44;
    font-size: 0.95rem;
}

.menu-item .arrow {
    color: #cbd5e1;
    font-size: 0.8rem;
    transition: all 0.2s;
}

.menu-item:hover .arrow {
    color: #f2a83a;
    transform: translateX(2px);
}

.logout-item {
    margin-top: 16px;
    border-top: none;
}

.logout-item i:first-child {
    color: #ef4444;
}

.logout-item span {
    color: #ef4444;
}

.logout-item:hover {
    background: #fef2f2;
}

.auth-buttons-section {
    text-align: center;
    padding: 48px 24px;
    background: white;
}

.welcome-message {
    margin-bottom: 32px;
}

.welcome-message i {
    font-size: 3.5rem;
    color: #f2a83a;
    margin-bottom: 16px;
    display: inline-block;
}

.welcome-message h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1f2a44;
    margin-bottom: 8px;
}

.welcome-message p {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 280px;
    margin: 0 auto;
}

.btn-login-sheet, .btn-register-sheet {
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-login-sheet {
    background: linear-gradient(135deg, #1f2a44, #2d3a5e);
    color: white;
}

.btn-login-sheet:hover {
    background: linear-gradient(135deg, #f2a83a, #e5982b);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(242, 168, 58, 0.3);
}

.btn-register-sheet {
    background: white;
    color: #475569;
    border: 1.5px solid #e2e8f0;
}

.btn-register-sheet:hover {
    border-color: #f2a83a;
    background: #fef9f0;
    color: #f2a83a;
}

.loading-account {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.loading-account i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: inline-block;
    color: #f2a83a;
}

@media (max-width: 768px) {
    .account-bottom-sheet {
        height: 85vh;
    }
    
    .menu-items {
        padding: 4px 12px;
    }
    
    .menu-item {
        padding: 12px 14px;
    }
    
    .profile-section {
        padding: 24px 20px 20px;
    }
}
/* Mobile Header Visibility */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    .mobile-header-only {
        display: block !important;
    }
    /* Adjust container padding for mobile header */
    .container {
        padding-top: 0 !important;
    }
}

@media (min-width: 769px) {
    .desktop-only {
        display: block !important;
    }
    .mobile-header-only {
        display: none !important;
    }
}

/* Mobile Page Header Fallback Styles */
.mobile-page-header-fallback {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.mobile-page-header-fallback .back-btn {
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.mobile-page-header-fallback .back-btn:active {
    transform: scale(0.95);
}

.mobile-page-header-fallback .title-section {
    flex: 1;
}

.mobile-page-header-fallback .title-section h1 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2a44;
    margin: 0;
}
/* Hide mobile page header subtitle, search, notifications, and menu on pricing page */
.mobile-header-only .header-subtitle,
.mobile-header-only #headerSearchBtn,
.mobile-header-only #headerNotificationBtn,
.mobile-header-only #headerMenuBtn,
.mobile-header-only .header-actions,
.mobile-header-only .header-menu-dropdown {
    display: none !important;
}

/* Adjust header container for pricing page */
.mobile-header-only .header-container {
    justify-content: flex-start;
}

.mobile-header-only .header-title-section {
    flex: 1;
}
/* Force mobile header to show */
.mobile-header-only {
    display: block !important;
}

/* Make sure the header container is visible */
#mobilePageHeaderContainer {
    display: block;
    width: 100%;
}

/* Fix for mobile page header visibility */
.mobile-page-header {
    display: block !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: white !important;
}

.header-container {
    display: flex !important;
    align-items: center !important;
    padding: 12px 16px !important;
}

.header-back-btn {
    display: flex !important;
}

.header-title-section {
    display: block !important;
    margin-left: 12px !important;
}

.header-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #1f2a44 !important;
    margin: 0 !important;
}

/* Ensure the header is visible on mobile only */
@media (max-width: 768px) {
    .mobile-header-only {
        display: block !important;
    }
    #mobilePageHeaderContainer {
        display: block !important;
    }
}

@media (min-width: 769px) {
    .mobile-header-only {
        display: none !important;
    }
}
/* Auth Modal Styles - ensure it appears on top */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
}

.auth-modal-container {
    background: white;
    border-radius: 32px;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 100001;
}

.auth-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: linear-gradient(135deg, #1f2a44, #2d3a5e);
    border-radius: 32px 32px 0 0;
}

.auth-modal-tabs {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px;
    border-radius: 60px;
}

.auth-modal-tab {
    padding: 8px 24px;
    border: none;
    border-radius: 40px;
    background: transparent;
    color: #94a3b8;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-modal-tab.active {
    background: white;
    color: #f2a83a;
}

.auth-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
    color: white;
    transition: all 0.2s;
}

.auth-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.auth-modal-body {
    padding: 24px;
}

.auth-modal-form {
    display: none;
}

.auth-modal-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.auth-modal-footer {
    padding: 20px 24px 24px;
    border-top: 1px solid #e2e8f0;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Password toggle for modal */
.password-toggle-modal {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 8px;
}

.password-toggle-modal:hover {
    color: #f2a83a;
}

/* Forgot password modal inside auth modal */
.forgot-password-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100001;
}

.forgot-password-modal.show {
    display: flex;
}
