/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

:root {
    --primary: #1a1a1a;
    --secondary: #4a4a4a;
    --accent: #d4af37;
    --bg-light: #f8f9fa;
    --bg-dark: #121212;
    --text-main: #212529;
    --text-muted: #6c757d;
    --white: #ffffff;
    --border: #e9ecef;
}

body {
    background: var(--bg-light);
    min-height: 100vh;
    color: var(--text-main);
    transition: background-color 0.3s;
}

/* No Dark Mode Support */
.hidden {
    display: none !important;
}

/* Common Components */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.price, .forgot-link, .auth-footer a, .setting-info i {
    color: var(--primary);
}

.plan-card.selected, .plan-card.popular {
    border-color: var(--primary);
}

.plan-badge, input:checked + .slider {
    background-color: var(--primary);
}

.btn-small {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
}

.icon-btn {
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--primary);
    cursor: pointer;
    position: relative;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s;
}

.icon-btn:hover {
    background: rgba(26, 26, 26, 0.05);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.modal-overlay.hidden {
    display: none !important;
    visibility: hidden;
    opacity: 0;
}

.modal {
    background: var(--white);
    width: 90%;
    max-width: 380px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes modalPop {
    from { transform: scale(0.7) translateY(20px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

.modal-header {
    padding: 20px;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.modal-body {
    padding: 30px 24px;
    background: white;
}

.premium-animation {
    font-size: 64px;
    color: #FFD700;
    margin-bottom: 20px;
    text-align: center;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    animation: crownBounce 2s infinite ease-in-out;
}

@keyframes crownBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}


.premium-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.premium-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.premium-features i {
    color: #10b981;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

.modal-body {
    padding: 25px;
}

/* Chat Styles */
.chat-modal {
    height: 80vh;
    display: flex;
    flex-direction: column;
}

.chat-body {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
}

.message.user {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 2px;
}

.message.bot, .message.system {
    align-self: flex-start;
    background: white;
    color: #333;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.chat-footer {
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px;
}

.content-section {
    margin-bottom: 20px;
}

.content-section h4 {
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-section p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.about-logo {
    text-align: center;
    margin-bottom: 20px;
}

.about-logo i {
    font-size: 50px;
    color: var(--primary);
    margin-bottom: 10px;
}

.about-logo h2 {
    font-size: 24px;
    margin: 0;
}

.about-logo span {
    font-size: 12px;
    color: var(--text-muted);
}

.info-list {
    margin: 20px 0;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.info-item i {
    color: #10b981;
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 30px;
}

/* Welcome Screen */
.welcome-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    position: relative;
    overflow: hidden;
    height: 100vh;
}

.welcome-screen .container {
    justify-content: center;
    align-items: center;
    max-width: 400px;
}

.logo-animation {
    text-align: center;
    z-index: 1;
    margin-bottom: 40px;
}

.logo-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
    color: var(--primary);
}

.app-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.tagline {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 0;
}

.welcome-content {
    width: 100%;
    z-index: 1;
}

.features {
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 20px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    color: var(--text-main);
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.feature i {
    font-size: 18px;
    color: var(--primary);
    width: 24px;
    text-align: center;
}

.continue-btn {
    background: var(--primary) !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

/* Home Page Updates */
.welcome-card {
    background: var(--primary);
    border-radius: 24px;
    padding: 24px;
    color: var(--white);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.action-btn i {
    font-size: 24px;
    color: var(--primary);
}

.profile-info h4::after {
    background: var(--accent);
}

.nav-item.active {
    color: var(--primary);
    background: rgba(26, 26, 26, 0.05);
}

.fab {
    background: var(--primary);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.profile-header {
    background: var(--primary);
}

.photo-edit-btn {
    background: var(--accent);
}

.setting-info i {
    color: var(--primary);
}


@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.offline-notice {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 12px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    animation: slideIn 0.3s ease;
}

/* Profile Enhancements */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
}

.edit-form {
    background: white;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid var(--border);
    animation: slideDown 0.3s ease;
}

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

.edit-form .input-group {
    margin-bottom: 15px;
}

.edit-form label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.edit-form textarea,
.edit-form input,
.edit-form select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.edit-form textarea:focus,
.edit-form input:focus,
.edit-form select:focus {
    outline: none;
    border-color: var(--primary);
}

.edit-form textarea {
    height: 100px;
    resize: none;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

/* Auth Pages */
.auth-container {
    background: white;
    min-height: 100vh;
    padding: 20px;
}

.profile-upload-section {
    text-align: center;
    padding: 20px 0;
}

.profile-upload-section h3 {
    margin-bottom: 10px;
    color: var(--primary);
}

.profile-preview-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 20px auto;
}

.profile-preview-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--border);
}

.upload-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.back-btn {
    font-size: 24px;
    color: #667eea;
    cursor: pointer;
    margin-bottom: 30px;
    padding: 10px;
    display: inline-block;
}

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

.logo-small {
    font-size: 40px;
    margin-bottom: 10px;
}

.auth-tabs {
    display: flex;
    background: #f3f4f6;
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 30px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.tab-btn.active {
    background: white;
    color: #667eea;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: #667eea;
}

.hint {
    display: block;
    margin-top: 5px;
    color: #6b7280;
    font-size: 12px;
}

.forgot-link {
    text-align: right;
    margin-top: 10px;
    color: #667eea;
    cursor: pointer;
    font-size: 14px;
}

.auth-submit-btn {
    position: relative;
    height: 52px;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s linear infinite;
}

.form-message {
    padding: 12px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.auth-footer {
    text-align: center;
    margin-top: 40px;
    color: #6b7280;
    font-size: 14px;
}

.auth-footer a {
    color: #667eea;
    text-decoration: none;
}

/* Subscription */
.subscription-container {
    background: white;
    min-height: 100vh;
    padding: 20px;
}

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

.plans {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.plan-card {
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.plan-card.selected {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.plan-card.popular {
    border-color: #667eea;
}

.plan-card.closed {
    opacity: 0.7;
    filter: grayscale(0.5);
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #667eea;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.plan-header {
    margin-bottom: 20px;
    text-align: center;
}

.plan-price {
    margin-top: 10px;
}

.price {
    font-size: 40px;
    font-weight: 800;
    color: #667eea;
}

.period {
    color: #6b7280;
    font-size: 14px;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features li {
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features .fa-check {
    color: #10b981;
}

.plan-features .fa-times {
    color: #ef4444;
}

.subscription-footer {
    margin-top: auto;
}

.note {
    text-align: center;
    margin-top: 15px;
    color: #6b7280;
    font-size: 14px;
}

.user-badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 5px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.badge-premium {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.4);
}

.badge-vip {
    background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(109, 40, 217, 0.4);
}

/* Home Page */
.app-container {
    background: #f9fafb;
    min-height: 100vh;
    padding-bottom: 80px;
}

.app-header {
    background: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-left, .header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-main {
    padding: 20px;
}

.welcome-card {
    background: var(--primary);
    border-radius: 24px;
    padding: 24px;
    color: var(--white);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.welcome-text h2 {
    font-size: 28px;
    margin-bottom: 5px;
}

.profile-preview img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
}

.quick-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.action-btn {
    flex: 1;
    background: white;
    border: none;
    padding: 20px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s;
    margin: 0 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.action-btn i {
    font-size: 24px;
    color: #FF4B6E;
}

.section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #374151;
}

/* Modern Profile Card Design */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 10px 0;
}

@media (min-width: 768px) {
    .profile-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 24px;
    }
}

.profile-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    cursor: pointer;
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.profile-img {
    position: relative;
    width: 100%;
    padding-top: 125%; /* 4:5 Aspect Ratio */
    overflow: hidden;
    background: #f1f5f9;
}

.profile-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-card:hover .profile-img img {
    transform: scale(1.08);
}

.profile-info {
    padding: 15px;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-info h4::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #FF4B6E;
    border-radius: 50%;
    display: inline-block;
    border: 2px solid white;
}

.profile-info p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-info i {
    width: 14px;
    color: var(--primary);
    font-size: 12px;
}

.profile-info .bio-text {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 4px;
    height: 34px;
}

.profile-card .status-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    color: var(--primary);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-transform: uppercase;
}

body.dark-mode .profile-info h4 {
    color: #f5f5f5;
}

body.dark-mode .profile-info h4::after {
    border-color: #1f2937;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
    border-radius: 0;
}

.profile-info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.profile-info p {
    font-size: 14px;
    color: #6b7280;
}

.like-btn {
    margin-left: auto;
    background: transparent;
    border: 2px solid #e5e7eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ef4444;
    transition: all 0.3s;
}

.like-btn:hover {
    background: #fee2e2;
    border-color: #ef4444;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    display: flex;
    justify-content: space-around;
    padding: 15px 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #6b7280;
    transition: all 0.3s;
    padding: 10px 20px;
    border-radius: 10px;
}

.nav-item.active {
    color: #FF4B6E;
    background: rgba(255, 75, 110, 0.1);
}

.nav-item i {
    font-size: 24px;
    margin-bottom: 5px;
}

.nav-item span {
    font-size: 12px;
    font-weight: 600;
}

/* FAB */
.fab {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s;
}

.fab:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 12px 30px rgba(255, 75, 110, 0.5);
}

/* Profile Page */
.profile-header {
    background: var(--primary);
    padding: 40px 20px 20px;
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

.profile-photo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid white;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-edit-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--accent);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat strong {
    font-size: 24px;
    margin-bottom: 5px;
}

.stat span {
    font-size: 14px;
    opacity: 0.9;
}

.settings-list {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
}

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

.setting-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.setting-info i {
    font-size: 20px;
    color: #667eea;
    width: 24px;
}

.setting-item strong {
    display: block;
    margin-bottom: 5px;
}

.setting-item p {
    color: #6b7280;
    font-size: 14px;
}

.clickable {
    cursor: pointer;
    transition: background 0.3s;
}

.clickable:hover {
    background: #f9fafb;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #FF4B6E;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

.select-small {
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #374151;
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal {
    background: white;
    border-radius: 20px;
    max-width: 400px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
}

.modal-body {
    padding: 20px;
}

.notif-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
    transition: background 0.3s;
    cursor: pointer;
}

.notif-item:last-child {
    border-bottom: none !important;
}

.notif-item:hover {
    background: rgba(0,0,0,0.02);
}

body.dark-mode .notif-item {
    border-color: #2E2E4A !important;
}

body.dark-mode .notif-item:hover {
    background: rgba(255,255,255,0.05);
}

.premium-animation {
    text-align: center;
    margin: 20px 0;
}

.premium-animation i {
    font-size: 60px;
    color: #f59e0b;
    animation: crownGlow 2s infinite;
}

.premium-features {
    list-style: none;
    margin: 20px 0;
}

.premium-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.premium-features i {
    color: #10b981;
}

/* Dark Mode */
body.dark-mode .app-container,
body.dark-mode .app-header,
body.dark-mode .action-btn,
body.dark-mode .profile-card,
body.dark-mode .bottom-nav,
body.dark-mode .modal,
body.dark-mode .auth-container,
body.dark-mode .subscription-container,
body.dark-mode .settings-list,
body.dark-mode .profile-header,
body.dark-mode .profile-info,
body.dark-mode .modal-body,
body.dark-mode .input-group input,
body.dark-mode .input-group select,
body.dark-mode .select-small,
body.dark-mode .bkash-input,
body.dark-mode .plan-card,
body.dark-mode .section[style*="background: white"],
body.dark-mode .section {
    background: #1A1A2E !important;
    color: #E0E0E0 !important;
}

body.dark-mode .section-title,
body.dark-mode .header-left h1,
body.dark-mode .welcome-text h2,
body.dark-mode .profile-info h4,
body.dark-mode .setting-item strong,
body.dark-mode .plan-header h3,
body.dark-mode .modal-header h3,
body.dark-mode .bkash-input-group label,
body.dark-mode #profileName,
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4 {
    color: #FFFFFF !important;
}

body.dark-mode .text-muted,
body.dark-mode .setting-item p,
body.dark-mode .profile-info p,
body.dark-mode .plan-features li,
body.dark-mode .period,
body.dark-mode .note,
body.dark-mode .hint,
body.dark-mode #displayBio,
body.dark-mode #cvContent p,
body.dark-mode .bkash-footer p {
    color: #A0A0C0 !important;
}

body.dark-mode .profile-card,
body.dark-mode .plan-card,
body.dark-mode .input-group input,
body.dark-mode .input-group select,
body.dark-mode .bkash-input,
body.dark-mode .modal,
body.dark-mode .settings-list {
    border-color: #2E2E4A !important;
}

body.dark-mode .subscription-teaser {
    background: #1A1A2E !important;
    border-color: #FF4B6E !important;
}

body.dark-mode hr,
body.dark-mode .setting-item {
    border-color: #2E2E4A !important;
}

body.dark-mode .auth-tabs {
    background: #2E2E4A !important;
}

body.dark-mode .tab-btn.active {
    background: #4361EE !important;
    color: white !important;
}

body.dark-mode .clickable:hover {
    background: #2E2E4A !important;
}

/* bKash Payment Modal */
.bkash-modal {
    text-align: center;
}

.bkash-logo-container {
    background: #e2136e;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.bkash-logo-container img {
    height: 40px;
}

.payment-details {
    margin-bottom: 25px;
}

.payment-amount {
    font-size: 32px;
    font-weight: 800;
    color: #e2136e;
    margin: 10px 0;
}

.bkash-input-group {
    text-align: left;
    margin-bottom: 20px;
}

.bkash-input-group label {
    display: block;
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.bkash-input {
    width: 100%;
    padding: 14px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
    letter-spacing: 2px;
}

.bkash-btn {
    background: #e2136e;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 10px;
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.bkash-btn:hover {
    background: #c0105d;
}

.bkash-footer {
    margin-top: 20px;
    font-size: 12px;
    color: #9ca3af;
}

/* Dark Mode bKash */
body.dark-mode .bkash-input {
    background: #374151;
    border-color: #4b5563;
    color: white;
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); }
}

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

@keyframes slideIn {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

@keyframes crownGlow {
    0%, 100% { transform: scale(1); text-shadow: 0 0 10px rgba(245, 158, 11, 0.5); }
    50% { transform: scale(1.1); text-shadow: 0 0 20px rgba(245, 158, 11, 0.8); }
}

/* Responsive */
@media (min-width: 768px) {
    .container, .auth-container, .subscription-container {
        max-width: 400px;
        margin: 0 auto;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    }
    
    .auth-container, .subscription-container {
        min-height: auto;
        border-radius: 20px;
        margin: 20px auto;
        min-height: calc(100vh - 40px);
    }
}