/* --- COPY VARIABLES FROM LANDING PAGE --- */
:root {
    --primary-purple: #9D96C4; 
    --primary-dark: #222222;    
    --bg-blue: #C5D5E6;     
    --white: #ffffff;
    --pill-radius: 50px;        
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--white);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* --- BACKGROUND WAVE --- */
.wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* --- LOGIN CARD --- */
.login-card {
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    border-radius: 40px;
    box-shadow: 0 20px 60px rgba(157, 150, 196, 0.2);
    text-align: center;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
}

.login-logo img {
    height: 85px;
    object-fit: contain;
    width: auto;
    margin-left: 20px;
}

.login-card h2 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.login-card p {
    color: #666;
    margin-bottom: 2.5rem;
}

/* --- FORM STYLES --- */
.input-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
    padding-left: 10px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-purple);
}

.input-field {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem; /* Space for icon */
    background-color: #F0F4F8;
    border: 2px solid transparent;
    border-radius: var(--pill-radius);
    font-size: 1rem;
    transition: 0.3s;
    outline: none;
}

.input-field:focus {
    background-color: #fff;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(157, 150, 196, 0.1);
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-purple);
    color: white;
    border: none;
    border-radius: var(--pill-radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(157, 150, 196, 0.3);
}

.btn-login:hover {
    background-color: #837cb0;
    transform: translateY(-2px);
}

.links {
    font-size: 0.9rem;
    color: #666;
}

.links a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 700;
}

.links a:hover {
    text-decoration: underline;
}

/* Back button */
.btn-back {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.btn-back:hover {
    transform: translateX(-5px); 
}
