*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: 'Segoe UI', sans-serif;
}

body{
    background:#f4f6f9;
}

/* Navbar */
nav{
    background:#4f46e5;
    color:white;
    padding:15px 40px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

nav h1{
    font-size:20px;
}

nav a{
    color:white;
    text-decoration:none;
    margin-left:20px;
}

/* Form Card */
.auth-container{
    display:flex;
    justify-content:center;
    align-items:center;
    height:90vh;
}

.card{
    background:white;
    padding:40px;
    width:400px;
    border-radius:12px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    animation:fadeIn 0.4s ease-in-out;
}

.card h2{
    text-align:center;
    margin-bottom:25px;
}

.input-group{
    margin-bottom:18px;
}

.input-group label{
    display:block;
    margin-bottom:6px;
    font-weight:600;
}

.input-group input{
    width:100%;
    padding:12px;
    border:1px solid #ddd;
    border-radius:8px;
    transition:0.3s;
}

.input-group input:focus{
    border-color:#4f46e5;
    outline:none;
}

button{
    width:100%;
    padding:12px;
    border:none;
    background:#4f46e5;
    color:white;
    font-size:15px;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

button:hover{
    background:#3730a3;
}

.link{
    text-align:center;
    margin-top:15px;
}

.link a{
    color:#4f46e5;
    text-decoration:none;
}

/* Dashboard */
.dashboard{
    padding:40px;
}

.dashboard h2{
    margin-bottom:20px;
}

.logout-btn{
    width:auto;
    padding:10px 20px;
    background:#dc2626;
}

.logout-btn:hover{
    background:#991b1b;
}

/* Animation */
@keyframes fadeIn{
    from{opacity:0; transform:translateY(10px);}
    to{opacity:1; transform:translateY(0);}
}
