    /* plus-jakarta-sans-300 - latin */
    @font-face {
      font-display: swap; 
      font-family: 'Plus Jakarta Sans';
      font-style: normal;
      font-weight: 300;
      src: url('../fonts/plus-jakarta-sans-v12-latin-300.woff2') format('woff2'); 
    }
    /* plus-jakarta-sans-regular - latin */
    @font-face {
      font-display: swap; 
      font-family: 'Plus Jakarta Sans';
      font-style: normal;
      font-weight: 400;
      src: url('../fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2'); 
    }
    /* plus-jakarta-sans-600 - latin */
    @font-face {
      font-display: swap; 
      font-family: 'Plus Jakarta Sans';
      font-style: normal;
      font-weight: 600;
      src: url('../fonts/plus-jakarta-sans-v12-latin-600.woff2') format('woff2'); 
    }
    /* plus-jakarta-sans-700 - latin */
    @font-face {
      font-display: swap; 
      font-family: 'Plus Jakarta Sans';
      font-style: normal;
      font-weight: 700;
      src: url('../fonts/plus-jakarta-sans-v12-latin-700.woff2') format('woff2'); 
    }
    /* plus-jakarta-sans-800 - latin */
    @font-face {
      font-display: swap; 
      font-family: 'Plus Jakarta Sans';
      font-style: normal;
      font-weight: 800;
      src: url('../fonts/plus-jakarta-sans-v12-latin-800.woff2') format('woff2'); 
}

/* =========================================
   1. GLOBAL VARIABLES & RESET
   ========================================= */
:root {
    --primary: #6366f1;   /* Indigo */
    --secondary: #ec4899; /* Pink */
    --dark: #0f172a;      /* Slate 900 */
    --light: #f8fafc;     /* Slate 50 */
    --glass: rgba(255, 255, 255, 0.95);
    --sidebar-width: 280px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
    margin: 0; padding: 0;
}
a { text-decoration: none; }

/* =========================================
   2. SIDEBAR & NAVIGATION (Shared)
   ========================================= */
.sidebar {
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--dark);
    position: fixed;
    top: 0; left: 0;
    padding: 30px;
    color: white;
    z-index: 1000;
    transition: 0.3s;
}
.brand-logo { font-size: 1.5rem; font-weight: 800; color: white; margin-bottom: 50px; display: flex; align-items: center; }
.brand-logo span { color: var(--secondary); }
.sidebar .nav-link {
    display: flex; align-items: center; color: #94a3b8; padding: 12px 15px; border-radius: 12px; margin-bottom: 8px; text-decoration: none; font-weight: 500; transition: 0.3s;
}
.sidebar .nav-link:hover { background: rgba(255,255,255,0.05); color: white; transform: translateX(5px); }
.sidebar .nav-link.active { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3); }
.sidebar .nav-link i { width: 25px; font-size: 1.1rem; }

/* Navbar (Public) */
.navbar { background: rgba(15, 23, 42, 0.9); backdrop-filter: blur(10px); padding: 15px 0; transition: 0.3s; position: relative; z-index: 1001; }
.navbar-brand { font-weight: 800; font-size: 1.5rem; color: white !important; letter-spacing: -0.5px; text-decoration: none; }
.navbar-brand span { color: var(--secondary); }
.navbar .nav-link { color: rgba(255,255,255,0.8) !important; font-weight: 500; margin-left: 15px; transition: 0.2s; text-decoration: none; }
.navbar .nav-link:hover { color: white !important; transform: translateY(-2px); }
.btn-nav-login { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); padding: 8px 20px; border-radius: 50px; transition: 0.3s; text-decoration: none; display: inline-block; }
.btn-nav-login:hover { background: var(--primary); border-color: var(--primary); color: white; }

/* =========================================
   3. LAYOUT CONTAINERS
   ========================================= */
.main-content { margin-left: var(--sidebar-width); padding: 40px; min-height: 100vh; transition: 0.3s; }

/* =========================================
   4. DASHBOARD WIDGETS
   ========================================= */
.stats-card { background: white; border-radius: 20px; padding: 30px; border: 1px solid rgba(0,0,0,0.03); box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: 0.3s; height: 100%; position: relative; overflow: hidden; }
.stats-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.06); }
.icon-box { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; margin-bottom: 20px; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--dark); line-height: 1; margin-bottom: 5px; }
.stat-label { color: #64748b; font-size: 0.9rem; font-weight: 500; }
.custom-table { width: 100%; border-collapse: separate; border-spacing: 0 10px; }
.custom-table th { color: #94a3b8; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; padding: 15px; border: none; }
.custom-table td { background: white; padding: 15px; vertical-align: middle; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.custom-table tr td:first-child { border-top-left-radius: 12px; border-bottom-left-radius: 12px; border-left: 1px solid #f1f5f9; }
.custom-table tr td:last-child { border-top-right-radius: 12px; border-bottom-right-radius: 12px; border-right: 1px solid #f1f5f9; }
.album-thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; background: #f1f5f9; }
.bg-gradient-blue { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: var(--primary); }
.bg-gradient-pink { background: linear-gradient(135deg, #fce7f3, #fbcfe8); color: var(--secondary); }
.bg-gradient-purple { background: linear-gradient(135deg, #f3e8ff, #e9d5ff); color: #9333ea; }

/* =========================================
   5. LANDING PAGE
   ========================================= */
.hero-section { position: relative; height: 100vh; min-height: 700px; background: url('https://images.unsplash.com/photo-1519741497674-611481863552?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat; display: flex; align-items: center; justify-content: center; color: white; overflow: hidden; }
.hero-overlay { position: absolute; top: 0; left: 0; background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.6) 100%); width: 100%; height: 100%; }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 20px; }
.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero-title span { background: linear-gradient(to right, #818cf8, #f472b6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px; font-weight: 300; }
.search-card { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.2); padding: 30px; border-radius: 20px; max-width: 450px; margin: 0 auto; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.search-input { background: rgba(255,255,255,0.9); border: none; border-radius: 12px; padding: 15px 20px; font-size: 1.1rem; text-align: center; letter-spacing: 1px; font-weight: 600; width: 100%; box-sizing: border-box; box-shadow: inset 0 2px 5px rgba(0,0,0,0.05); }
.search-input:focus { outline: none; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.3); }
.btn-go { background: linear-gradient(135deg, var(--primary), var(--secondary)); border: none; padding: 15px; border-radius: 12px; color: white; font-weight: 700; width: 100%; margin-top: 15px; font-size: 1.1rem; transition: 0.3s; cursor: pointer; }
.btn-go:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4); }
.features-section { padding: 100px 0; background: white; }
.feature-card { padding: 40px 30px; border-radius: 20px; background: white; border: 1px solid #f1f5f9; transition: 0.3s; height: 100%; }
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--primary); }
.feature-icon { width: 70px; height: 70px; background: #e0e7ff; color: var(--primary); border-radius: 18px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 25px; }
.mockup-section { background: #0f172a; color: white; padding: 100px 0; overflow: hidden; }
.mockup-img { border-radius: 20px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); border: 8px solid rgba(255,255,255,0.1); transition: 0.5s; max-width: 100%; height: auto; }
.mockup-img:hover { transform: scale(1.02); }
.footer { background: #0b1120; color: #94a3b8; padding: 60px 0 30px 0; border-top: 1px solid #1e293b; }
.footer a { color: #cbd5e1; text-decoration: none; transition: 0.2s; }
.footer a:hover { color: var(--secondary); }

/* =========================================
   6. FORMS (General)
   ========================================= */
.create-card { background: white; border-radius: 20px; border: 1px solid rgba(0,0,0,0.03); box-shadow: 0 10px 30px rgba(0,0,0,0.03); overflow: hidden; max-width: 800px; margin: 0 auto; }
.card-header-custom { background: linear-gradient(135deg, var(--dark), #1e293b); padding: 40px; color: white; position: relative; overflow: hidden; }
.card-header-custom::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%); }
.form-section { padding: 40px; }
.form-floating > .form-control { border-radius: 12px; border: 1px solid #e2e8f0; background: #f8fafc; height: 58px; }
.form-floating > .form-control:focus { border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1); }
.form-floating > label { color: #94a3b8; background-color: transparent !important; }
.form-floating > .form-control:-webkit-autofill,
.form-floating > .form-control:-webkit-autofill:hover, 
.form-floating > .form-control:-webkit-autofill:focus, 
.form-floating > .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 100px #f8fafc inset !important;
    -webkit-text-fill-color: var(--dark) !important;
    transition: background-color 5000s ease-in-out 0s;
}
.form-label { font-weight: 600; font-size: 0.85rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; }
.file-upload-wrapper { border: 2px dashed #cbd5e1; border-radius: 12px; padding: 20px; text-align: center; background: #f8fafc; transition: 0.3s; position: relative; }
.file-upload-wrapper:hover { border-color: var(--primary); background: #eef2ff; }
.file-upload-wrapper input { position: absolute; width: 100%; height: 100%; top: 0; left: 0; opacity: 0; cursor: pointer; }
.btn-create { background: linear-gradient(135deg, var(--primary), var(--secondary)); border: none; padding: 15px; border-radius: 12px; color: white; font-weight: 700; width: 100%; font-size: 1.1rem; transition: 0.3s; cursor: pointer; }
.btn-create:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3); }
.limit-card { text-align: center; padding: 60px 20px; background: white; border-radius: 20px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); }

/* =========================================
   7. LOGIN PAGE / SPLIT SCREEN LAYOUT
   ========================================= */

/* Main Wrapper */
.main-wrapper { width: 100%; min-height: 100vh; display: flex; }

/* FIX: Specific Login Page Background to ensure it shows up */
.login-layout .visual-side {
    width: 50%;
    background: url('https://images.unsplash.com/photo-1452587925148-ce544e77e70d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 60px;
    color: white;
}

/* Generic visual side fallback */
.visual-side {
    width: 50%;
    background: url('https://images.unsplash.com/photo-1452587925148-ce544e77e70d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat;
    position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: 60px; color: white;
}
.visual-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(15, 23, 42, 0.9), rgba(99, 102, 241, 0.4)); }
.visual-content { position: relative; z-index: 2; }

/* Right Side Form */
.form-side { width: 50%; background: white; padding: 40px 80px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.form-side .brand-logo { color: var(--dark); font-size: 1.8rem; margin-bottom: 40px; }
.login-card { width: 100%; max-width: 400px; }
.form-title { font-weight: 700; color: var(--dark); font-size: 2rem; margin-bottom: 10px; }
.form-subtitle { color: #64748b; margin-bottom: 40px; }
.btn-login { background: linear-gradient(135deg, var(--primary), var(--secondary)); border: none; padding: 14px; border-radius: 12px; color: white; font-weight: 700; width: 100%; font-size: 1.1rem; transition: 0.3s; margin-top: 20px; }
.btn-login:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3); }
.back-link { position: absolute; top: 30px; left: 30px; z-index: 10; color: white; text-decoration: none; font-weight: 600; opacity: 0.8; }
.back-link:hover { opacity: 1; }
.forgot-link { color: #64748b; font-size: 0.9rem; text-decoration: none; transition: 0.2s; }
.forgot-link:hover { color: var(--primary); }

/* =========================================
   8. GALLERY / PHOTO GRID SYSTEM
   ========================================= */
.glass-header { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(0,0,0,0.05); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.03); }
.btn-view { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; border: none; font-weight: 600; padding: 10px 25px; border-radius: 50px; transition: 0.3s; }
.btn-view:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3); color: white; }
.btn-back { background: white; border: 1px solid #e2e8f0; color: var(--dark); font-weight: 600; padding: 10px 25px; border-radius: 50px; transition: 0.3s; }
.btn-back:hover { background: #f1f5f9; color: var(--dark); border-color: #cbd5e1; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 25px; padding-top: 30px; }
.photo-card { background: white; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.04); border: 1px solid rgba(0,0,0,0.03); transition: all 0.3s ease; position: relative; }
.photo-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.img-wrapper { position: relative; height: 200px; overflow: hidden; background: #f1f5f9; }
.img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.photo-card:hover img { transform: scale(1.05); }
.delete-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.photo-card:hover .delete-overlay { opacity: 1; }
.btn-delete { background: #ef4444; color: white; border: none; width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4); }
.btn-delete:hover { transform: scale(1.1); background: #dc2626; }
.file-info { padding: 12px 15px; font-size: 0.75rem; color: #94a3b8; text-align: center; border-top: 1px solid #f1f5f9; background: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: monospace; }
.btn-add-start { background: #f0fdf4; color: #16a34a; border: 2px dashed #86efac; border-radius: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 240px; cursor: pointer; transition: 0.3s; }
.btn-add-start:hover { background: #dcfce7; border-color: #16a34a; transform: translateY(-3px); }
.btn-insert { display: block; width: 100%; background: #f8fafc; border: 1px dashed #cbd5e1; color: #64748b; font-size: 0.8rem; font-weight: 600; text-align: center; padding: 10px; border-radius: 10px; margin-top: 12px; cursor: pointer; transition: 0.2s; }
.btn-insert:hover { background: var(--primary); border-color: var(--primary); color: white; }

/* =========================================
   9. RESPONSIVE MEDIA QUERIES
   ========================================= */

@media (max-width: 992px) {
    /* 1. Hide Sidebar on Mobile */
    .sidebar { transform: translateX(-100%); }
    .sidebar.active { transform: translateX(0); box-shadow: 10px 0 30px rgba(0,0,0,0.1); }
    
    /* 2. Adjust Main Content */
    .main-content { margin-left: 0; padding: 20px; }
    
    /* 3. LOGIN & REGISTER PAGE FIX (CRITICAL) */
    /* We use !important to force-hide the image and force-expand the form */
    .login-layout .visual-side,
    .register-layout .visual-side,
    .visual-side { 
        display: none !important; 
    }

    .login-layout .form-side,
    .register-layout .form-side,
    .form-side { 
        width: 100% !important; 
        padding: 40px 20px; 
    }

    /* 4. Fix Back Link Color */
    .back-link { color: var(--dark); }
}

@media screen and (orientation: landscape) and (max-height: 500px) {
    .bottom-bar { height: 50px; padding: 0 15px; }
    .main-stage { padding-bottom: 50px; }
    .album-title { display: none; }
    .btn-glass { width: 34px; height: 34px; font-size: 12px; }
    .controls { gap: 8px; }
}

/* =========================================
   10. PRICING & OTHER SECTIONS
   ========================================= */
.pricing-header { background: var(--dark); color: white; padding: 100px 0 150px; text-align: center; }
.pricing-card { background: white; border-radius: 20px; padding: 40px 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; height: 100%; border: 1px solid #e2e8f0; position: relative; overflow: hidden; }
.pricing-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15); border-color: var(--primary); }
.popular-badge { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; position: absolute; top: 20px; right: -35px; transform: rotate(45deg); padding: 5px 40px; font-size: 0.8rem; font-weight: bold; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.price-num { font-size: 3rem; font-weight: 800; color: var(--dark); line-height: 1; margin-bottom: 5px; }
.price-duration { font-size: 1rem; color: #64748b; font-weight: 600; }
.feature-list { list-style: none; padding: 0; margin: 30px 0; text-align: left; }
.feature-list li { margin-bottom: 12px; color: #475569; display: flex; align-items: flex-start; }
.feature-list li i { color: #10b981; margin-right: 10px; margin-top: 4px; }
.pricing-card.dark-theme { background: linear-gradient(145deg, #1e293b, #0f172a); border: 0; }
.pricing-card.dark-theme .price-num { color: white; }
.pricing-card.dark-theme .price-duration { color: rgba(255,255,255,0.5); }
.pricing-card.dark-theme .feature-list li { color: rgba(255,255,255,0.5); }
.pricing-card.dark-theme .feature-list li i { color: #f59e0b; }
.btn-plan { width: 100%; padding: 15px; border-radius: 12px; font-weight: 700; border: none; transition: 0.3s; }
.btn-outline { background: white; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-fill { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }
.btn-fill:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3); }
.btn-light-custom { background: #f8fafc; color: var(--primary); }
.btn-light-custom:hover { background: white; color: var(--primary); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.addon-section { margin-top: -80px; position: relative; z-index: 2; }
.page-header { background: #0f172a; color: white; padding: 80px 0 40px; text-align: center; }
.content-box { background: white; border-radius: 20px; padding: 40px; margin-top: -30px; margin-bottom: 60px; box-shadow: 0 10px 40px rgba(0,0,0,0.05); position: relative; z-index: 10; }
.content-box h4 { color: var(--dark); font-weight: 700; margin-top: 30px; }
.content-box p, .content-box li { color: #64748b; line-height: 1.7; }
.flex-column-min-vh { display: flex; flex-direction: column; min-height: 100vh; }
.footer { margin-top: auto; }

/* =========================================
   13. REGISTRATION PAGE
   ========================================= */
.register-layout .form-side { width: 55%; overflow-y: auto; }
.offer-card { background: linear-gradient(135deg, #1e293b, #0f172a); border-radius: 15px; padding: 20px; color: white; border: 1px solid rgba(255,255,255,0.1); position: relative; overflow: hidden; margin-bottom: 25px; }
.offer-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent 70%); }
.price-tag { background: var(--secondary); color: white; padding: 5px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; display: inline-block; margin-bottom: 10px; }
.btn-register { background: linear-gradient(135deg, var(--primary), var(--secondary)); border: none; padding: 15px; border-radius: 12px; color: white; font-weight: 700; width: 100%; font-size: 1.1rem; transition: 0.3s; }
.btn-register:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3); }


/* =========================================
   13.1. REGISTER (MULTI-STEP & WIZARD)
   ========================================= */
.visual-bg-register { background: url('https://images.unsplash.com/photo-1515934751635-c81c6bc9a2d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat !important; opacity: 0.2; mix-blend-mode: overlay;}

/* 2. Google Welcome Badge */
.google-welcome-badge { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; padding: 12px; border-radius: 8px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; font-size: 14px;}
/* 3. Multi-Step Wizard Animations */
.step-container { transition: all 0.3s ease-in-out;}
.step-1 { display: block; animation: fadeIn 0.4s ease-out; }
.step-2 { display: none; animation: slideInRight 0.4s ease-out; }
.hidden { display: none !important; }
.visible { display: block !important; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); }}
@keyframes slideInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); }}
/* 4. Email Preview Badge */
.email-preview-badge { background: #eff6ff; border: 1px solid #dbeafe; color: #1e40af; padding: 8px 12px; border-radius: 6px; font-size: 13px; margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; }
.email-preview-badge:hover { background: #dbeafe; }
.email-preview-badge i { font-size: 12px; opacity: 0.7; }

/* =========================================
   14. FORGOT PASSWORD / RESET PAGE
   ========================================= */
.forgot-layout .visual-side { background: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat; }
.forgot-layout .visual-overlay { background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(99, 102, 241, 0.3)); }
.forgot-layout .login-card { max-width: 420px; }
.btn-action { background: linear-gradient(135deg, var(--primary), var(--secondary)); border: none; padding: 14px; border-radius: 12px; color: white; font-weight: 700; width: 100%; font-size: 1.1rem; transition: 0.3s; margin-top: 10px; }
.btn-action:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3); }
.support-box { background: #f1f5f9; border-radius: 12px; padding: 15px; font-size: 0.9rem; color: #475569; margin-top: 30px; text-align: center; }
.support-link { color: var(--primary); font-weight: 700; text-decoration: none; }

/* =========================================
   15. SETTINGS / PROFILE PAGE
   ========================================= */
.settings-card { background: white; border-radius: 20px; border: 1px solid rgba(0,0,0,0.03); box-shadow: 0 10px 30px rgba(0,0,0,0.03); overflow: hidden; }
.nav-pills .nav-link { color: var(--dark); background: #f8fafc; font-weight: 600; padding: 15px 20px; border-radius: 12px; margin-bottom: 5px; transition: 0.2s; border: 1px solid transparent; }
.nav-pills .nav-link:hover { background-color: #e2e8f0; color: var(--primary); }
.nav-pills .nav-link.active { background-color: #e0e7ff; color: var(--primary); border-color: #c7d2fe; }
.logo-preview { width: 100px; height: 100px; object-fit: cover; border-radius: 50%; border: 4px solid white; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.btn-save { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; border: none; padding: 12px 30px; border-radius: 12px; font-weight: 700; transition: 0.3s; }
.btn-save:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3); }
.danger-zone { background: #fef2f2; border: 1px dashed #fecaca; padding: 30px; border-radius: 16px; }
.settings-card .form-control { border-radius: 10px; padding: 12px 15px; border: 1px solid #e2e8f0; }
.settings-card .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1); }
.settings-card .form-label { font-weight: 600; font-size: 0.85rem; color: #64748b; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; }

/* =========================================
   16. SUPER ADMIN DASHBOARD
   ========================================= */
.sidebar.admin-theme .nav-link.active { background: linear-gradient(135deg, #fbbf24, #d97706); color: white; box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3); }
.admin-card { background: white; border-radius: 20px; border: 1px solid rgba(0,0,0,0.03); box-shadow: 0 10px 30px rgba(0,0,0,0.03); overflow: hidden; margin-bottom: 30px; }
.stat-card { background: white; border-radius: 16px; padding: 25px; box-shadow: 0 5px 20px rgba(0,0,0,0.02); display: flex; align-items: center; justify-content: space-between; }
.stat-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.admin-card .table thead th { background: #f8fafc; color: #64748b; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; border-bottom: 1px solid #e2e8f0; padding: 15px; }
.admin-card .table tbody td { vertical-align: middle; padding: 15px; border-bottom: 1px solid #f1f5f9; color: #334155; }
.avatar { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: #e2e8f0; }
.badge-soft-success { background: #dcfce7; color: #166534; }
.badge-soft-warning { background: #fef3c7; color: #92400e; }
.badge-soft-danger { background: #fee2e2; color: #991b1b; }

/* =========================================
   17. UPLOAD PAGE
   ========================================= */
.upload-card { background: white; border-radius: 20px; border: 1px solid rgba(0,0,0,0.03); box-shadow: 0 10px 30px rgba(0,0,0,0.03); overflow: hidden; position: relative; }
.step-indicator { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; }
.step-badge { width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; transition: 0.3s; }
.step-title { font-weight: 700; font-size: 1.1rem; color: var(--dark); }
.step-desc { font-size: 0.85rem; color: #64748b; margin-top: 2px; }
.state-pending .step-badge { background: #f1f5f9; color: #94a3b8; }
.state-active .step-badge { background: var(--primary); color: white; box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3); }
.state-done .step-badge { background: #10b981; color: white; }
.dropzone { border: 2px dashed #cbd5e1; background: #f8fafc; border-radius: 16px; min-height: 250px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; transition: 0.3s; }
.dropzone:hover { border-color: var(--primary); background: #eef2ff; }
.dz-message { font-weight: 600; color: #64748b; font-size: 1.1rem; }
.dropzone .dz-preview .dz-remove { background: #ef4444; color: white; border-radius: 6px; text-decoration: none; display: inline-block; padding: 6px 12px; margin-top: 10px; font-weight: bold; font-size: 0.8rem; box-shadow: 0 4px 6px rgba(239, 68, 68, 0.3); transition: 0.2s; cursor: pointer; z-index: 20; position: relative; }
.dropzone .dz-preview .dz-remove:hover { background: #dc2626; transform: translateY(-2px); }
.pin-wrapper { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 30px; position: relative; overflow: hidden; }
.pin-wrapper::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--primary), var(--secondary)); }
.btn-upload { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; border: none; padding: 18px 40px; border-radius: 12px; font-weight: 700; font-size: 1.1rem; width: 100%; transition: 0.3s; box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2); }
.btn-upload:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3); }
.btn-disabled { background: #e2e8f0; color: #94a3b8; cursor: not-allowed; pointer-events: none; box-shadow: none; }
.drive-item { cursor: pointer; border: 3px solid transparent; transition: 0.2s; position: relative; }
.drive-item.selected { border-color: #10b981; background: #ecfdf5; }
.drive-item.selected::after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; top: 5px; right: 5px; background: #10b981; color: white; border-radius: 50%; width: 20px; height: 20px; font-size: 12px; display: flex; align-items: center; justify-content: center; }

/* =========================================
   18. RESET PASSWORD PAGE
   ========================================= */
.reset-layout .visual-side { background: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80') center/cover no-repeat; }
.reset-layout .visual-overlay { background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(99, 102, 241, 0.3)); }
.reset-layout .login-card { max-width: 420px; }

/* =========================================
   19. ALBUM VIEWER (Flipbook)
   ========================================= */
body.viewer-mode { margin: 0; padding: 0; background-color: #0f172a; height: 100vh; width: 100vw; overflow: hidden; }
.main-stage { width: 100%; height: 100vh; position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; padding-bottom: 75px; }
.flipbook { opacity: 0; transition: opacity 0.8s ease; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.page { background-color: white; overflow: hidden; image-rendering: high-quality; }
.spread-page { background-size: 200% 100% !important; background-repeat: no-repeat !important; }
.page-left { background-position: 0% 0% !important; }
.page-right { background-position: 100% 0% !important; }
.shadow-left { position: absolute; top: 0; right: 0; width: 40px; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0), rgba(0,0,0,0.15)); pointer-events: none; }
.shadow-right { position: absolute; top: 0; left: 0; width: 40px; height: 100%; background: linear-gradient(to left, rgba(0,0,0,0), rgba(0,0,0,0.15)); border-left: 1px solid rgba(0,0,0,0.05); pointer-events: none; }
.cover-page { background-size: 100% 100% !important; }
.bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; height: 70px; background: #0f172a; border-top: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; z-index: 9999; padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -5px 20px rgba(0,0,0,0.3); }
.bar-left { display: flex; align-items: center; gap: 15px; }
.album-title { font-weight: 700; color: white; font-size: 0.95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.btn-home { color: #94a3b8; text-decoration: none; font-size: 18px; transition: 0.2s; display: flex; align-items: center; }
.btn-home:hover { color: #ec4899; }
.page-count { font-size: 0.8rem; color: #64748b; font-weight: 600; }
.controls { display: flex; align-items: center; gap: 10px; }
.btn-glass { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.05); color: white; width: 40px; height: 40px; border-radius: 50%; font-size: 14px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.btn-glass:hover { background: linear-gradient(135deg, #6366f1, #ec4899); border-color: transparent; box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4); transform: translateY(-2px); }
.btn-primary-action { background: linear-gradient(135deg, #6366f1, #ec4899); border: none; box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3); }
.btn-primary-action:hover { box-shadow: 0 6px 15px rgba(236, 72, 153, 0.5); transform: scale(1.05); }

@media screen and (orientation: landscape) and (max-height: 500px) {
    .bottom-bar { height: 50px; padding: 0 15px; }
    .main-stage { padding-bottom: 50px; }
    .album-title { display: none; }
    .btn-glass { width: 34px; height: 34px; font-size: 12px; }
    .controls { gap: 8px; }
}

/* =========================================
   20. CONTACT PAGE (Added)
   ========================================= */
.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease;
    text-align: center;
    border: 1px solid #f1f5f9; /* Matches your feature-card border */
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary); /* Hover effect matching your theme */
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1); /* Based on var(--primary) */
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
}

/* Specific colors for different icons */
.contact-icon.icon-cyan { background: rgba(13, 202, 240, 0.1); color: #0dcaf0; }
.contact-icon.icon-green { background: rgba(25, 135, 84, 0.1); color: #198754; }

.contact-link {
    color: var(--dark);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--primary);
}

/* Default: No negative margin on mobile to prevent cutting */
.contact-container {
    margin-top: 0; 
    position: relative;
    z-index: 10; /* Ensures cards sit ON TOP of the Hero image */
}

/* Desktop Only: Add the floating effect */
@media (min-width: 992px) {
    .contact-container {
        margin-top: -60px; /* Reduced from -80px to be safer */
    }
}

/* Extra safety for the icon inside the card */
.contact-icon {
    margin-top: 5px; /* Adds a tiny buffer inside the card */
}
/* =========================================
   21. PROFESSIONAL LOGIN (NEW DESIGN)
   ========================================= */

/* Add the brand gradient to root if not exists */
:root {
    --brand-gradient: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
    --text-gray-dark: #6B7280;
}

/* Page Container (Forces full height, no scroll on body) */
.login-body-wrapper {
    height: 100vh;
    overflow: hidden;
    background-color: #F9FAFB;
}

.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* --- VISUAL SIDE (LEFT) --- */
.visual-section {
    flex: 1;
    background: var(--brand-gradient);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.visual-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
    opacity: 0.2; 
    mix-blend-mode: overlay;
}

.visual-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 40px;
    max-width: 500px;
}

.visual-content h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; line-height: 1.2; }
.visual-content p { font-size: 18px; opacity: 0.9; line-height: 1.6; }

/* Floating Cards Animation */
.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px;
    width: 200px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}
.card-1 { top: 20%; left: 10%; animation-delay: 0s; }
.card-2 { bottom: 20%; right: 10%; animation-delay: 2s; }

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

/* --- FORM SIDE (RIGHT) --- */
.form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    background: white;
    overflow-y: auto; 
    position: relative;
}

/* Overwrite generic sidebar brand-logo color for login page */
.form-section .brand-logo { 
    color: #0f172a; 
    margin-bottom: 24px; 
    font-size: 24px;
}
.form-section .brand-icon {
    width: 28px; height: 28px;
    background-color: var(--primary); /* Uses existing --primary variable */
    -webkit-mask: url('../assets/logo.svg') no-repeat center / contain;
    mask: url('../assets/logo.svg') no-repeat center / contain;
    display: inline-block;
    margin-right: 8px;
}

.form-wrapper { width: 100%; max-width: 420px; }

/* Typography */
.login-title { font-size: 28px; font-weight: 700; color: #111827; margin-bottom: 8px; }
.login-subtitle { color: #6B7280; font-size: 15px; margin-bottom: 24px; }

/* Social Buttons */
.social-buttons { display: flex; gap: 12px; margin-bottom: 16px; }
.btn-social {
    flex: 1;
    height: 44px;
    border: 1px solid #E5E7EB;
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-social:hover { background-color: #f9fafb; border-color: #d1d5db; color: #111827; }
.btn-social img { width: 20px; }

/* Legal Text */
.legal-text {
    font-size: 12px;
    color: #6B7280;
    text-align: center;
    margin-bottom: 24px;
    line-height: 1.5;
}
.legal-text a { color: var(--primary); text-decoration: none; }

/* Divider */
.divider {
    display: flex; align-items: center; text-align: center; margin: 0 0 24px 0;
    color: #6B7280; font-size: 12px; font-weight: 500; text-transform: uppercase;
}
.divider::before, .divider::after {
    content: ''; flex: 1; border-bottom: 1px solid #E5E7EB;
}
.divider span { padding: 0 10px; }

/* Standard Form Controls (Not Floating) */
.login-form-group { margin-bottom: 16px; }
.login-label { font-size: 14px; font-weight: 500; color: #374151; margin-bottom: 6px; display: block; }
.login-input {
    width: 100%;
    height: 46px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    padding: 10px 16px;
    font-size: 15px;
    transition: all 0.2s;
    background-color: #fff;
    color: #111827;
}
.login-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
    outline: none;
}

/* Gradient Button */
.btn-gradient {
    width: 100%;
    height: 46px;
    background: var(--brand-gradient);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 10px;
    transition: opacity 0.2s, transform 0.1s;
}
.btn-gradient:hover { opacity: 0.95; color: white; transform: translateY(-1px); }
.btn-gradient:active { transform: scale(0.98); }

/* Links */
.form-section .back-link {
    position: absolute;
    top: 30px; left: 30px;
    text-decoration: none;
    color: #6B7280;
    font-size: 14px; font-weight: 500;
    display: flex; align-items: center; gap: 6px;
    transition: color 0.2s;
}
.form-section .back-link:hover { color: var(--primary); }

.form-section .forgot-link {
    display: block; text-align: right; font-size: 13px;
    color: var(--primary); text-decoration: none; font-weight: 500; margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .visual-section { display: none !important; }
    .login-container { justify-content: center; background: white; }
    .form-section { width: 100%; padding: 20px; }
    .form-wrapper { max-width: 100%; margin: 0 auto; }
    .form-section .back-link { top: 20px; left: 20px; }
}
/* =========================================
   22. SHOW PASSWORD ICON
   ========================================= */
.password-wrapper {
    position: relative;
    width: 100%;
}

.password-toggle-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #9CA3AF; /* Light gray */
    z-index: 10;
    font-size: 16px;
    transition: color 0.2s;
}

.password-toggle-icon:hover {
    color: var(--primary); /* Turns blue/purple on hover */
}