*{
    box-sizing:border-box;
}

body{

    margin:0;
    background:#eef2f7;

    font-family:Arial,Helvetica,sans-serif;
}

.container{

    max-width:450px;

    margin:40px auto;

    background:white;

    border-radius:20px;

    padding:30px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

}

h1{

    margin-top:0;
    color:#333;

}

.kraan{

    width:180px;

    max-width:80%;

}

.status{

    font-size:34px;

    font-weight:bold;

    margin:25px 0;

}

.status.on{

    color:#22aa44;

}

.status.off{

    color:#d22;

}

.toggle{

    width:100%;

    border:none;

    border-radius:50px;

    color:white;

    font-size:24px;

    padding:20px;

    cursor:pointer;

    transition:.3s;

}

.toggle:hover{

    transform:scale(1.02);

}

.toggle.on{

    background:#22aa44;

}

.toggle.off{

    background:#d22;

}

.timer{

    margin:20px 0;

    font-size:34px;

    font-weight:bold;

    font-family:monospace;

    color:#333;

}

@media(max-width:600px){

    .container{

        margin:10px;
        padding:20px;

    }

    .status{

        font-size:28px;

    }

    .toggle{

        font-size:20px;

    }

}

/* ===== LOGIN STYLING ===== */

.login-container{

    max-width:400px;

}

.login-form{

    margin-top:20px;

}

input{

    width:100%;

    padding:15px;

    margin:10px 0;

    border-radius:12px;

    border:1px solid #ddd;

    font-size:16px;

    transition:.2s;

}

input:focus{

    outline:none;

    border-color:#22aa44;

    box-shadow:0 0 0 2px rgba(34,170,68,.15);

}

.login-btn{

    width:100%;

    border:none;

    border-radius:50px;

    color:white;

    font-size:22px;

    padding:18px;

    margin-top:10px;

    background:#22aa44;

    cursor:pointer;

    transition:.3s;

}

.login-btn:hover{

    transform:scale(1.02);

}

.error{

    background:#ffe5e5;

    color:#b30000;

    padding:12px;

    border-radius:10px;

    margin-bottom:15px;

    font-size:14px;

}