body{
    font-family: Arial, sans-serif;
    background: #f4f0f8;
    color:#2d2d2d;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}
.auth-container, .dashboard{
    background: white;
    padding: 2rem;
    border-radius: 10px;
    width: 320px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
h1 {
    color: #6b3fa0;
    margin-bottom: 0.5rem;
}
h2{
    margin-bottom: 1rem;
    color:#2d2d2d;
}
input{
    width:90%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
button{
    width:95%;
    padding: 0.8rem;
    background: #6b3fa0;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 0.8rem;
    cursor: pointer;
    transition: background 0.3s;
}
button:hover{
    background: #5a2d8f;
}
.hidden{
    display: none;
}
p{
    font-size: 0.9rem;
}
a{
    color: #6b3fa0;
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}/* Medium screens (tablets, small laptops) */
@media (max-width: 1024px) {
    body {
        height: auto;
        padding: 2rem 0;
        flex-direction: column;
    }
    .auth-container, .dashboard {
        width: 400px;
        padding: 2.5rem;
    }
    h1 {
        font-size: 1.8rem;
    }
    h2 {
        font-size: 1.2rem;
    }
    button {
        font-size: 1rem;
    }
}
/* Small tablets and large phones */
@media (max-width: 768px) {
    body {
        padding: 2rem 1rem;
    }
    .auth-container, .dashboard {
        width: 85%;
        padding: 2rem;

    }
    h1 {
        font-size: 1.6rem;
    }
    h2 {
        font-size: 1.1rem;
    }
    input, button {
        width: 100%;
        font-size: 1rem;
    }
    p {
        font-size: 0.85rem;
    }
}
/* Mobile phones (portrait) */
@media (max-width: 480px) {
    body {
        flex-direction: column;
        align-items: stretch;
        height: auto;
        padding: 11.5rem 0;
    }
    .auth-container, .dashboard {
        width: 85%;
        padding: 1.5rem;
        border-radius: 8px;
        box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    }
    h1 {
        font-size: 1.4rem;
    }
    h2 {
        font-size: 1rem;
    }
    input {
        font-size: 0.9rem;
        padding: 0.7rem;
    }
    button {
        font-size: 0.95rem;
        padding: 0.7rem;
    }
    p {
        font-size: 0.8rem;
    }
}
/* Extra small devices (very narrow phones) */
@media (max-width: 360px) {
    .auth-container, .dashboard {
        width: 95%;
        padding: 1.2rem;
    }
    h1 {
        font-size: 1.2rem;
    }
    input, button {
        font-size: 0.85rem;
    }
    p {
        font-size: 0.75rem;
    }
}