*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body{
    width:100%;
    height:100%;
    overflow:hidden;
}

.container{
    display:flex;
    width:100%;
    height:100vh;
    background:#fff;
}

/* LEFT SIDE */
.left-section{
    flex:1;
    background:linear-gradient(135deg, #ff8f00 0%, #ff6f00 100%);
    color:white;
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:60px 40px;
    position:relative;
    overflow:hidden;
}

.left-section::before{
    content:'';
    position:absolute;
    top:-50%;
    right:-50%;
    width:200%;
    height:200%;
    background:radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size:50px 50px;
    animation:moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.left-section img{
    width:240px;
    height:240px;
    border-radius:20px;
    box-shadow:0 20px 60px rgba(0,0,0,0.3);
    margin-bottom:40px;
    position:relative;
    z-index:2;
    transition:transform 0.3s ease;
}

.left-section img:hover{
    transform:scale(1.05);
}

.left-section h1{
    font-size:42px;
    font-weight:700;
    margin-bottom:12px;
    position:relative;
    z-index:2;
    letter-spacing:-0.5px;
}

.left-section p{
    font-size:18px;
    font-weight:300;
    position:relative;
    z-index:2;
    opacity:0.95;
}

/* RIGHT SIDE */
.right-section{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(135deg, #f8f9fa 0%, #f0ebe0 100%);
    padding:40px 20px;
}

.form-box{
    background:white;
    padding:50px;
    width:100%;
    max-width:430px;
    border-radius:24px;
    box-shadow:0 25px 50px rgba(0,0,0,0.08), 0 10px 20px rgba(0,0,0,0.04);
    text-align:center;
    animation:slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity:0;
        transform:translateY(20px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}

.form-box h2{
    margin-bottom:35px;
    font-size:28px;
    color:#1a2847;
    font-weight:700;
    letter-spacing:-0.3px;
}

.form-box > div {
    /* Forms controlled by inline styles and JavaScript */
}

input[type="text"],
input[type="password"]{
    width:100%;
    padding:14px 16px;
    margin:12px 0;
    border-radius:12px;
    border:2px solid #e0e0e0;
    font-size:15px;
    transition:all 0.3s ease;
    background:#f8f9fa;
    color:#333;
}

input[type="text"]::placeholder,
input[type="password"]::placeholder{
    color:#999;
}

input[type="text"]:focus,
input[type="password"]:focus{
    outline:none;
    border-color:#ff8f00;
    background:#fff;
    box-shadow:0 0 0 4px rgba(255,143,0,0.1);
}

button{
    width:100%;
    padding:14px 16px;
    margin-top:16px;
    background:linear-gradient(135deg, #ff8f00 0%, #ff7600 100%);
    color:white;
    border:none;
    border-radius:12px;
    font-weight:600;
    font-size:15px;
    cursor:pointer;
    transition:all 0.3s ease;
    box-shadow:0 4px 15px rgba(255,143,0,0.2);
}

button:hover{
    background:linear-gradient(135deg, #ff9f20 0%, #ff8600 100%);
    box-shadow:0 6px 20px rgba(255,143,0,0.3);
    transform:translateY(-2px);
}

button:active{
    transform:translateY(0);
    box-shadow:0 2px 8px rgba(255,143,0,0.2);
}

/* LOGIN TABS */
.login-tabs {
    display:flex;
    gap:12px;
    margin-bottom:30px;
    background:#f8f9fa;
    padding:8px;
    border-radius:10px;
}

.tab-btn {
    flex:1;
    padding:12px 16px;
    background:transparent;
    color:#666;
    border:2px solid transparent;
    border-radius:8px;
    font-weight:600;
    font-size:14px;
    cursor:pointer;
    transition:all 0.3s ease;
    margin:0;
    box-shadow:none;
}

.tab-btn:hover {
    background:#e8e8e8;
    transform:none;
    box-shadow:none;
}

.tab-btn.active {
    background:linear-gradient(135deg, #ff8f00 0%, #ff7600 100%);
    color:white;
    box-shadow:0 4px 12px rgba(255,143,0,0.2);
}

/* LOGIN SECTIONS */
.login-section {
    animation:fadeOut 0.3s ease;
    opacity:0;
    pointer-events:none;
}

.login-section.active-section {
    animation:fadeIn 0.3s ease;
    opacity:1;
    pointer-events:all;
}

@keyframes fadeIn {
    from {
        opacity:0;
        transform:translateY(10px);
    }
    to {
        opacity:1;
        transform:translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity:1;
        transform:translateY(0);
    }
    to {
        opacity:0;
        transform:translateY(-10px);
    }
}

.btn-primary {
    width:100%;
    padding:14px 16px;
    margin-top:16px;
    background:linear-gradient(135deg, #ff8f00 0%, #ff7600 100%);
    color:white;
    border:none;
    border-radius:12px;
    font-weight:600;
    font-size:15px;
    cursor:pointer;
    transition:all 0.3s ease;
    box-shadow:0 4px 15px rgba(255,143,0,0.2);
}

.btn-primary:hover {
    background:linear-gradient(135deg, #ff9f20 0%, #ff8600 100%);
    box-shadow:0 6px 20px rgba(255,143,0,0.3);
    transform:translateY(-2px);
}

.btn-primary:active {
    transform:translateY(0);
    box-shadow:0 2px 8px rgba(255,143,0,0.2);
}

.otp-label {
    text-align:center;
    color:#666;
    font-size:14px;
    margin-bottom:20px;
    font-weight:500;
}

.form-footer {
    margin-top:24px;
    font-size:14px;
    color:#666;
}

p{
    margin-top:20px;
    font-size:14px;
    color:#666;
}

.link{
    color:#ff8f00;
    font-weight:600;
    cursor:pointer;
    text-decoration:none;
    transition:color 0.3s ease;
}

.link:hover{
    color:#ff6f00;
    text-decoration:underline;
}

/* LOGIN SPECIFIC */
.form-box #loginForm button {
    margin-top:12px;
    padding:12px 16px;
    font-size:14px;
}

.form-box #loginForm > div {
    margin:15px 0;
}

/* Responsive */
@media(max-width:968px){
    .container{
        flex-direction:column;
    }

    .left-section{
        flex:0 0 auto;
        padding:40px 20px;
        min-height:250px;
    }

    .left-section img{
        width:180px;
        height:180px;
        margin-bottom:20px;
    }

    .left-section h1{
        font-size:32px;
        margin-bottom:8px;
    }

    .left-section p{
        font-size:16px;
    }

    .right-section{
        flex:1;
        padding:30px 20px;
    }

    .form-box{
        padding:40px 25px;
        max-width:100%;
    }

    .form-box h2{
        font-size:24px;
        margin-bottom:25px;
    }

    input[type="text"],
    input[type="password"]{
        padding:12px 14px;
        font-size:14px;
        margin:10px 0;
    }

    button,
    .btn-primary {
        padding:12px 14px;
        font-size:14px;
        margin-top:12px;
    }

    .login-tabs {
        margin-bottom:24px;
    }

    .tab-btn {
        padding:10px 12px;
        font-size:13px;
    }
}
