:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --text-color: #ffffff;
    --text-muted: #e2e8f0;
    --success: #48bb78;
    --danger: #f56565;
    --card-radius: 16px;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    background-image:
        radial-gradient(at 0% 0%, hsla(253, 16%, 7%, 1) 0, transparent 50%),
        radial-gradient(at 50% 0%, hsla(225, 39%, 30%, 1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(339, 49%, 30%, 1) 0, transparent 50%);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
    box-sizing: border-box;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 3rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: white;
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--glass-border);
    border-radius: var(--card-radius);
    padding: 3rem;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    color: white;
}

/* Typography & Elements */
h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(118, 75, 162, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(118, 75, 162, 0.6);
}

.btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Forms */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="file"],
textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: inherit;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(0, 0, 0, 0.4);
}

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #a5b4fc;
}

/* Landing Page Grid */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }

    .glass-card {
        padding: 2rem;
    }
}

/* Flash Messages */
.flash-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.alert {
    padding: 1rem 1.5rem;
    background: var(--glass-bg);
    border: var(--glass-border);
    backdrop-filter: blur(8px);
    margin-bottom: 10px;
    border-radius: 8px;
    animation: slideIn 0.3s ease-out;
}

.alert.success {
    border-left: 4px solid var(--success);
}

.alert.error {
    border-left: 4px solid var(--danger);
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.upload-zone:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #a5b4fc;
}

/* Info Panel & Steps */
.info-step {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.step-num {
    background: rgba(255, 255, 255, 0.1);
    color: #a5b4fc;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    /* Center vertically relative to input container (approx) */
    transform: translateY(-50%);
    /* Adjust to center */
    color: #cbd5e1;
    z-index: 2;
    margin-top: -10px;
    /* Fine tune based on input height including margin */
}

.input-with-icon input {
    padding-left: 45px;
}

/* Animations */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}
 / *   M o d e   S w i t c h e r   * / 
 . m o d e - b t n   { 
         f l e x :   1 ; 
         b a c k g r o u n d :   t r a n s p a r e n t ; 
         b o r d e r :   n o n e ; 
         c o l o r :   # c b d 5 e 1 ; 
         p a d d i n g :   1 0 p x ; 
         c u r s o r :   p o i n t e r ; 
         b o r d e r - r a d i u s :   6 p x ; 
         t r a n s i t i o n :   a l l   0 . 2 s   e a s e ; 
         f o n t - w e i g h t :   6 0 0 ; 
 } 
 
 . m o d e - b t n . a c t i v e   { 
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 1 5 ) ; 
         c o l o r :   w h i t e ; 
         b o x - s h a d o w :   0   1 p x   2 p x   r g b a ( 0 , 0 , 0 , 0 . 2 ) ; 
 } 
 
 . m o d e - b t n : h o v e r : n o t ( . a c t i v e )   { 
         b a c k g r o u n d :   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 5 ) ; 
 } 
 
 / *   C o m p a c t   I n p u t s   f o r   T a b l e   R o w s   * / 
 . c o m p a c t - i n p u t   { 
         b a c k g r o u n d :   r g b a ( 0 ,   0 ,   0 ,   0 . 3 )   ! i m p o r t a n t ; 
         b o r d e r :   1 p x   s o l i d   r g b a ( 2 5 5 ,   2 5 5 ,   2 5 5 ,   0 . 0 5 )   ! i m p o r t a n t ; 
         f o n t - s i z e :   0 . 9 r e m   ! i m p o r t a n t ; 
         p a d d i n g :   1 0 p x   ! i m p o r t a n t ; 
 } 
 
 . c o m p a c t - i n p u t : f o c u s   { 
         b a c k g r o u n d :   r g b a ( 0 ,   0 ,   0 ,   0 . 5 )   ! i m p o r t a n t ; 
         b o r d e r - c o l o r :   # a 5 b 4 f c   ! i m p o r t a n t ; 
 } 
  
 