/* ==================== CSS VARIABLES ==================== */
:root {
    --primary-orange: #FF8C42;
    --dark-bg: #1a2332;
    --darker-bg: #0f1419;
    --text-white: #ffffff;
    --text-gray: #b8c5d6;
    --glass-bg: rgba(42, 52, 70, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}


/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* ==================== PAGE CONTAINER ==================== */
.page-container {
    width: 100%;
    height: 100vh;
    perspective: 2000px;
}

.auth-card {
    background: white;
    overflow: hidden;
    display: grid;
    grid-template-columns: 55% 45%;
    height: 100vh;
    position: relative;
    animation: cardAppear 0.8s ease;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.text-danger{
    color: red;
}
/* ==================== SCENE CONTAINER ==================== */
.scene-container {
    background: radial-gradient(circle at 30% 50%, rgba(255, 140, 66, 0.2), transparent 60%);
    background-color: var(--dark-bg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scene-bg {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

/* ==================== CLOCK ==================== */
.clock {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    border: 6px solid #2d3748;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3),
                inset 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.clock::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #2d3748;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.clock-face {
    width: 100%;
    height: 100%;
    position: relative;
}

.clock-hand {
    position: absolute;
    background: #2d3748;
    transform-origin: bottom center;
    left: 50%;
    bottom: 50%;
    border-radius: 4px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.hour-hand {
    width: 5px;
    height: 26px;
    margin-left: -2.5px;
    animation: rotateHour 120s linear infinite;
}

.minute-hand {
    width: 4px;
    height: 36px;
    margin-left: -2px;
    animation: rotateMinute 60s linear infinite;
}

@keyframes rotateHour {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateMinute {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ==================== WORKER CHARACTER ==================== */
.worker-character {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%) scale(1.4);
    z-index: 10;
}

/* Head */
.worker-head {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 5px;
    animation: headBob 3s ease-in-out infinite;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.2));
}

@keyframes headBob {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

.hard-hat {
    position: relative;
    width: 90px;
    height: 50px;
    z-index: 2;
}

.hat-main {
    width: 90px;
    height: 45px;
    background: linear-gradient(135deg, #ffb300 0%, #ffa000 50%, #ff8f00 100%);
    border-radius: 50% 50% 0 0;
    position: relative;
    box-shadow: inset 0 -5px 15px rgba(0, 0, 0, 0.3), 
                inset 0 3px 10px rgba(255, 255, 255, 0.3),
                0 5px 15px rgba(0, 0, 0, 0.2);
}

.hat-main::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 15px;
    width: 60px;
    height: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
}

.hat-brim {
    width: 100px;
    height: 15px;
    background: linear-gradient(180deg, #ff8f00 0%, #ef6c00 100%);
    border-radius: 40%;
    position: absolute;
    bottom: 0;
    left: -5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4),
                inset 0 2px 5px rgba(255, 255, 255, 0.2);
}

.hat-light {
    width: 18px;
    height: 15px;
    background: radial-gradient(circle, #ffeb3b 0%, #fdd835 100%);
    border-radius: 50%;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(255, 235, 59, 0.9),
                0 0 25px rgba(255, 235, 59, 0.5),
                inset 0 -2px 5px rgba(253, 216, 53, 0.8);
    animation: lightGlow 2s ease-in-out infinite;
}

@keyframes lightGlow {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 15px rgba(255, 235, 59, 0.9),
                    0 0 25px rgba(255, 235, 59, 0.5),
                    inset 0 -2px 5px rgba(253, 216, 53, 0.8);
    }
    50% { 
        opacity: 0.7; 
        box-shadow: 0 0 25px rgba(255, 235, 59, 1),
                    0 0 40px rgba(255, 235, 59, 0.7),
                    inset 0 -2px 5px rgba(253, 216, 53, 0.8);
    }
}

.face {
    width: 75px;
    height: 65px;
    background: linear-gradient(135deg, #ffccbc 0%, #ffab91 100%);
    border-radius: 50%;
    position: absolute;
    bottom: -30px;
    left: 7px;
    z-index: 1;
    box-shadow: inset 0 -5px 10px rgba(0, 0, 0, 0.1),
                0 3px 8px rgba(0, 0, 0, 0.15);
}

.face::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.eye {
    width: 10px;
    height: 10px;
    background: #2d3748;
    border-radius: 50%;
    position: absolute;
    top: 20px;
    animation: blink 4s ease-in-out infinite;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5);
}

.eye::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 3px;
    height: 3px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

@keyframes blink {
    0%, 95%, 100% { transform: scaleY(1); }
    97% { transform: scaleY(0.1); }
}

.eye-left {
    left: 18px;
}

.eye-right {
    right: 18px;
}

.beard {
    width: 38px;
    height: 25px;
    background: linear-gradient(180deg, #5d4037 0%, #4e342e 100%);
    border-radius: 50% 50% 40% 40%;
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.3),
                0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Body */
.worker-body {
    width: 115px;
    height: 100px;
    position: relative;
    margin: 0 auto;
    filter: drop-shadow(2px 4px 8px rgba(0, 0, 0, 0.15));
}

.torso {
    width: 115px;
    height: 90px;
    background: linear-gradient(135deg, #66bb6a 0%, #4caf50 50%, #43a047 100%);
    border-radius: 25px 25px 12px 12px;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 5px 15px rgba(255, 255, 255, 0.2),
                inset 0 -5px 15px rgba(0, 0, 0, 0.2),
                0 4px 10px rgba(0, 0, 0, 0.15);
}

.torso::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 20px;
    width: 70px;
    height: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
}

/* Arms */
.arm {
    position: absolute;
    top: 15px;
    filter: drop-shadow(1px 2px 3px rgba(0, 0, 0, 0.2));
}

.arm-left {
    left: -20px;
    animation: armSwingLeft 2s ease-in-out infinite;
}

.arm-right {
    right: -20px;
    animation: armSwingRight 1.5s ease-in-out infinite;
}

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

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

.upper-arm {
    width: 26px;
    height: 45px;
    background: linear-gradient(135deg, #66bb6a 0%, #57ab5a 100%);
    border-radius: 13px;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.2),
                inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.lower-arm {
    width: 24px;
    height: 45px;
    background: linear-gradient(135deg, #66bb6a 0%, #57ab5a 100%);
    border-radius: 12px;
    position: absolute;
    top: 38px;
    left: 1px;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.2),
                inset 0 -2px 5px rgba(0, 0, 0, 0.2);
}

.hand {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ffccbc 0%, #ffab91 100%);
    border-radius: 50%;
    position: absolute;
    bottom: -24px;
    left: 0;
    box-shadow: inset 0 -3px 5px rgba(0, 0, 0, 0.1),
                0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Hammer */
.tool-hammer {
    position: absolute;
    top: 5px;
    right: -28px;
    filter: drop-shadow(2px 3px 4px rgba(0, 0, 0, 0.3));
}

.hammer-handle {
    width: 7px;
    height: 65px;
    background: linear-gradient(90deg, #795548 0%, #6d4c41 50%, #5d4037 100%);
    border-radius: 4px;
    position: relative;
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.5),
                2px 0 4px rgba(0, 0, 0, 0.3);
}

.hammer-head {
    width: 32px;
    height: 16px;
    background: linear-gradient(135deg, #757575 0%, #616161 50%, #424242 100%);
    border-radius: 3px;
    position: absolute;
    top: -8px;
    left: -12.5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
                inset 0 2px 4px rgba(255, 255, 255, 0.2),
                inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.hammer-head::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

/* Legs */
.worker-legs {
    width: 90px;
    margin: 0 auto;
    position: relative;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.15));
}

.leg {
    position: absolute;
    bottom: -100px;
}

.leg-left {
    left: 15px;
}

.leg-right {
    right: 15px;
}

.thigh {
    width: 28px;
    height: 50px;
    background: linear-gradient(135deg, #1976d2 0%, #1565c0 100%);
    border-radius: 14px 14px 7px 7px;
    box-shadow: inset 0 3px 8px rgba(255, 255, 255, 0.2),
                inset 0 -3px 8px rgba(0, 0, 0, 0.2);
}

.shin {
    width: 26px;
    height: 50px;
    background: linear-gradient(135deg, #1565c0 0%, #0d47a1 100%);
    border-radius: 7px 7px 10px 10px;
    margin-left: 1px;
    box-shadow: inset 0 3px 8px rgba(255, 255, 255, 0.2),
                inset 0 -3px 8px rgba(0, 0, 0, 0.2);
}

.shoe {
    width: 36px;
    height: 18px;
    background: linear-gradient(135deg, #5e35b1 0%, #4527a0 100%);
    border-radius: 40% 40% 40% 40%;
    margin-left: -5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.shoe::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 5px;
    width: 20px;
    height: 8px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

/* ==================== WORKBENCH ==================== */
.workbench {
    position: absolute;
    bottom: 8%;
    left: 50%;
    transform: translateX(-50%);
    width: 450px;
    height: 150px;
    z-index: 5;
}

.bench-top {
    width: 100%;
    height: 30px;
    background: linear-gradient(180deg, #4e342e 0%, #3e2723 50%, #2e1f1a 100%);
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4),
                inset 0 3px 8px rgba(255, 255, 255, 0.1),
                inset 0 -3px 8px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.bench-top::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 20px;
    width: 100px;
    height: 10px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50%;
}

.bench-leg {
    width: 20px;
    height: 120px;
    background: linear-gradient(90deg, #6d4c41 0%, #5d4037 50%, #4e342e 100%);
    position: absolute;
    bottom: 0;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3),
                inset 0 0 5px rgba(0, 0, 0, 0.2);
}

.bench-leg-1 { left: 40px; }
.bench-leg-2 { left: 145px; }
.bench-leg-3 { right: 145px; }
.bench-leg-4 { right: 40px; }

/* Laptop */
.laptop {
    position: absolute;
    top: -60px;
    left: 230px;
    z-index: 3;
    filter: drop-shadow(3px 5px 8px rgba(0, 0, 0, 0.3));
}

.laptop-screen {
    width: 115px;
    height: 75px;
    background: #37474f;
    border-radius: 6px 6px 0 0;
    border: 4px solid #263238;
    position: relative;
    transform: perspective(400px) rotateY(-5deg);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.screen-content {
    padding: 10px;
}

.code-line {
    height: 5px;
    background: #4caf50;
    border-radius: 3px;
    margin-bottom: 6px;
    animation: codeBlink 3s ease-in-out infinite;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.6);
}

.code-line:nth-child(1) { width: 75%; }
.code-line:nth-child(2) { width: 55%; animation-delay: 0.5s; }
.code-line:nth-child(3) { width: 65%; animation-delay: 1s; }

@keyframes codeBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.laptop-base {
    width: 122px;
    height: 12px;
    background: linear-gradient(180deg, #455a64 0%, #37474f 100%);
    border-radius: 0 0 4px 4px;
    margin-left: -3.5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
}

/* Coffee Cup */
.coffee-cup {
    position: absolute;
    top: -58px;
    left: 75px;
    z-index: 3;
    filter: drop-shadow(2px 4px 6px rgba(0, 0, 0, 0.25));
}

.cup-body {
    width: 45px;
    height: 50px;
    background: linear-gradient(135deg, #7e57c2 0%, #5e35b1 50%, #4527a0 100%);
    border-radius: 0 0 18px 18px;
    box-shadow: inset 0 5px 10px rgba(255, 255, 255, 0.2),
                inset 0 -5px 10px rgba(0, 0, 0, 0.3),
                0 3px 8px rgba(0, 0, 0, 0.3);
}

.cup-body::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 8px;
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.cup-handle {
    width: 18px;
    height: 25px;
    border: 5px solid #4527a0;
    border-left: none;
    border-radius: 0 50% 50% 0;
    position: absolute;
    right: -14px;
    top: 12px;
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.2);
}

.steam {
    width: 4px;
    height: 25px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 4px;
    position: absolute;
    bottom: 50px;
    opacity: 0;
    animation: steamRise 3s ease-in-out infinite;
    filter: blur(1px);
}

.steam-1 { left: 12px; animation-delay: 0s; }
.steam-2 { left: 21px; animation-delay: 1s; }
.steam-3 { left: 30px; animation-delay: 2s; }

@keyframes steamRise {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    20% { opacity: 0.8; }
    80% { opacity: 0.4; }
    100% { transform: translateY(-40px) scale(0.5); opacity: 0; }
}

/* Tools on bench */
.wrench {
    width: 65px;
    height: 15px;
    background: linear-gradient(90deg, #757575 0%, #616161 50%, #757575 100%);
    border-radius: 25px;
    position: absolute;
    top: -22px;
    right: 65px;
    transform: rotate(-15deg);
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.4),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.wrench::before {
    content: '';
    width: 18px;
    height: 18px;
    background: linear-gradient(135deg, #757575 0%, #616161 100%);
    border-radius: 50%;
    position: absolute;
    left: -6px;
    top: -2px;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.2),
                2px 2px 4px rgba(0, 0, 0, 0.3);
}

.screwdriver {
    width: 10px;
    height: 75px;
    background: linear-gradient(180deg, #ff6f00 0%, #ff6f00 40%, #9e9e9e 40%, #757575 100%);
    border-radius: 5px;
    position: absolute;
    top: -45px;
    right: 145px;
    transform: rotate(25deg);
    box-shadow: 2px 3px 6px rgba(0, 0, 0, 0.4),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

/* ==================== PLANT POT ==================== */
.plant-pot {
    position: absolute;
    bottom: 35%;
    left: 10%;
    z-index: 4;
    filter: drop-shadow(3px 5px 8px rgba(0, 0, 0, 0.25));
}

.pot {
    width: 65px;
    height: 75px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 50%, #bdbdbd 100%);
    border-radius: 0 0 12px 12px;
    clip-path: polygon(15% 0, 85% 0, 100% 100%, 0% 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3),
                inset 0 3px 10px rgba(255, 255, 255, 0.5),
                inset 0 -3px 10px rgba(0, 0, 0, 0.2);
}

.pot::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 15px;
    width: 35px;
    height: 40px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.plant {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
}

.leaf {
    width: 32px;
    height: 45px;
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
    border-radius: 50% 0;
    position: absolute;
    transform-origin: bottom center;
    animation: leafSway 3s ease-in-out infinite;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2),
                2px 2px 6px rgba(0, 0, 0, 0.2);
}

.leaf::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 22px;
    height: 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 50% 0;
}

.leaf-1 {
    top: -38px;
    left: -12px;
    transform: rotate(-20deg);
}

.leaf-2 {
    top: -32px;
    left: 6px;
    transform: rotate(10deg);
    animation-delay: 0.5s;
}

.leaf-3 {
    top: -26px;
    left: 0;
    transform: rotate(-5deg);
    animation-delay: 1s;
}

@keyframes leafSway {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(12deg) scale(1.02); }
}

/* ==================== TOOLBOX ON FLOOR ==================== */
.toolbox-floor {
    position: absolute;
    bottom: 10%;
    right: 15%;
    z-index: 3;
    filter: drop-shadow(3px 6px 10px rgba(0, 0, 0, 0.35));
}

.toolbox-body {
    width: 90px;
    height: 50px;
    background: linear-gradient(135deg, #e53935 0%, #c62828 50%, #b71c1c 100%);
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4),
                inset 0 3px 10px rgba(255, 255, 255, 0.2),
                inset 0 -3px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.toolbox-body::before {
    content: '';
    width: 65px;
    height: 4px;
    background: linear-gradient(90deg, #ffeb3b 0%, #fbc02d 100%);
    position: absolute;
    top: 50%;
    left: 12.5px;
    transform: translateY(-50%);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3),
                inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.toolbox-body::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 15px;
    width: 60px;
    height: 25px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.toolbox-handle {
    width: 65px;
    height: 25px;
    border: 6px solid #c62828;
    border-bottom: none;
    border-radius: 30px 30px 0 0;
    position: absolute;
    top: -25px;
    left: 12.5px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3),
                2px 0 5px rgba(0, 0, 0, 0.2);
}

/* ==================== FLOATING PARTICLES ==================== */
.particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.particle-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.particle-2 {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle-3 {
    top: 40%;
    right: 20%;
    animation-delay: 4s;
}

.particle-4 {
    bottom: 30%;
    left: 25%;
    animation-delay: 6s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.9;
    }
    50% {
        transform: translate(25px, -50px) scale(1.3);
        opacity: 0.7;
    }
    90% {
        opacity: 0.2;
    }
}

/* ==================== FORM CONTAINER ==================== */
.form-container {
    background: #fafafa;
    padding: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
}

.form-container::-webkit-scrollbar {
    width: 8px;
}

.form-container::-webkit-scrollbar-track {
    background: #e0e0e0;
}

.form-container::-webkit-scrollbar-thumb {
    background: #a0a0a0;
    border-radius: 4px;
}

.form-container::-webkit-scrollbar-thumb:hover {
    background: #808080;
}

.form-wrapper {
    width: 100%;
    max-width: 450px;
    padding: 40px 0;
}

/* ==================== BRAND LOGO ==================== */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-orange), #ff6b35);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 140, 66, 0.3);
}

.logo-r {
    color: white;
    font-size: 26px;
    font-weight: 800;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-name {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-dark);
}

.logo-tagline {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==================== FORM TITLE ==================== */
.form-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    line-height: 1.2;
}

/* ==================== FORM INPUTS ==================== */
.register-form {
    width: 100%;
}

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

.form-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    color: var(--text-dark);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 4px rgba(255, 140, 66, 0.1);
}

.form-input::placeholder {
    color: #a0aec0;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    padding: 8px;
    font-size: 18px;
    transition: all 0.3s ease;
}

.toggle-password:hover {
    color: var(--primary-orange);
}

/* ==================== SUBMIT BUTTON ==================== */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary-orange);
    color: var(--text-dark);
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(129, 199, 132, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(129, 199, 132, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ==================== DIVIDER ==================== */
.divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
    color: var(--text-gray);
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: var(--border-color);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

/* ==================== SOCIAL BUTTONS ==================== */
.social-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 25px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    background: rgba(168, 213, 168, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-orange);
}

.google-btn svg {
    width: 22px;
    height: 22px;
}

.microsoft-btn {
    color: #00a4ef;
}

.github-btn {
    color: #2d3748;
}

/* ==================== TERMS TEXT ==================== */
.terms-text {
    font-size: 12px;
    color: var(--text-gray);
    text-align: center;
    line-height: 1.6;
    margin-top: 20px;
}

.terms-link {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: var(--dark-green);
}

/* ==================== SIGN IN LINK ==================== */
.signin-link {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 30px;
}

.signin-link a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.signin-link a:hover {
    color: var(--dark-green);
    text-decoration: underline;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 1200px) {
    .auth-card {
        grid-template-columns: 50% 50%;
    }
    
    .worker-character {
        transform: translateX(-50%) scale(1.2);
    }
    
    .workbench {
        width: 400px;
        transform: translateX(-50%) scale(0.9);
    }
    
    .form-container {
        padding: 50px 40px;
    }
}

@media (max-width: 991px) {
    body {
        padding: 0;
    }
    
    .auth-card {
        grid-template-columns: 1fr;
        border-radius: 0;
    }
    
    .scene-container {
        display: none;
    }
    
    .form-container {
        padding: 40px 30px;
        height: 100vh;
    }
    
    .form-wrapper {
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .form-container {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 32px;
    }
    
    .brand-logo {
        margin-bottom: 30px;
    }
    
    .form-wrapper {
        padding: 20px 0;
    }
}

/* ==================== USER TYPE SELECTOR ==================== */
.user-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

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

.type-card {
    padding: 20px 15px;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-card i {
    font-size: 32px;
    color: var(--text-gray);
    display: block;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.type-card span {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.type-card small {
    display: block;
    font-size: 12px;
    color: var(--text-gray);
}

.type-option input[type="radio"]:checked + .type-card {
    border-color: var(--primary-orange);
    background: rgba(129, 199, 132, 0.05);
    box-shadow: 0 4px 15px rgba(129, 199, 132, 0.2);
}

.type-option input[type="radio"]:checked + .type-card i {
    color: var(--primary-orange);
    transform: scale(1.1);
}

.type-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-2px);
}

/* ==================== INPUT ROW ==================== */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

/* ==================== CONDITIONAL FIELDS ==================== */
.conditional-fields {
    animation: fadeIn 0.3s ease;
}

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

/* ==================== SELECT STYLING ==================== */
.form-input[type="tel"],
select.form-input {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

select.form-input option {
    padding: 10px;
}

/* ==================== PASSWORD STRENGTH BAR ==================== */
.password-strength-bar {
    margin-top: 8px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.strength-indicator {
    height: 100%;
    width: 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.strength-indicator.weak {
    width: 33%;
    background: #f44336;
}

.strength-indicator.medium {
    width: 66%;
    background: #ff9800;
}

.strength-indicator.strong {
    width: 100%;
    background: #4caf50;
}

/* ==================== CHECKBOX STYLING ==================== */
.checkbox-group {
    margin: 20px 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    margin-right: 12px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.3s ease;
    background: white;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ==================== RESPONSIVE UPDATES ==================== */
@media (max-width: 576px) {
    .user-type-selector {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .input-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 0;
    }
    
    .type-card {
        padding: 18px 12px;
    }
    
    .type-card i {
        font-size: 28px;
    }
}

/* ==================== VALIDATION STATES ==================== */
.form-input.error {
    border-color: #f44336;
}

.form-input.success {
    border-color: #4caf50;
}

.error-message {
    color: #f44336;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}