*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:linear-gradient(135deg,#1565c0,#42a5f5);
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
}

.app-container{
width:100%;
max-width:420px;
padding:20px;
}

.login-card{
background:#fff;
border-radius:22px;
overflow:hidden;
box-shadow:0 15px 40px rgba(0,0,0,.25);
}

.header-box{
background:linear-gradient(135deg,#1976d2,#42a5f5);
color:white;
text-align:center;
padding:35px 20px;
}

.header-box h1{
font-size:30px;
}

.header-box p{
margin-top:8px;
opacity:.9;
}

.form-box{
padding:30px;
}

.form-box h2,
.form-box h3{
text-align:center;
color:#1565c0;
margin-bottom:25px;
}

.input-group{
margin-bottom:18px;
}

.input-group label{
display:block;
margin-bottom:8px;
color:#333;
font-weight:bold;
}

.input-group input,
.input-group select{
width:100%;
padding:14px;
border:2px solid #ddd;
border-radius:12px;
font-size:15px;
transition:.3s;
}

.input-group input:focus,
.input-group select:focus{
border-color:#1976d2;
outline:none;
box-shadow:0 0 10px rgba(25,118,210,.25);
}

.btn-login,
.btn-register{
width:100%;
padding:15px;
border:none;
border-radius:12px;
background:linear-gradient(135deg,#1976d2,#42a5f5);
color:white;
font-size:17px;
font-weight:bold;
cursor:pointer;
transition:.3s;
}

.btn-login:hover,
.btn-register:hover{
transform:translateY(-2px);
box-shadow:0 8px 18px rgba(0,0,0,.2);
}

.create-link{
margin-top:25px;
text-align:center;
}

.create-link a{
color:#1565c0;
font-weight:bold;
text-decoration:none;
}

.error-text{
text-align:center;
color:red;
margin-top:15px;
font-weight:bold;
}

.logo-circle{
width:80px;
height:80px;
margin:auto;
margin-bottom:15px;
background:white;
color:#1976d2;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
font-size:40px;
box-shadow:0 5px 15px rgba(0,0,0,.2);
}

@media(max-width:480px){

.app-container{
padding:15px;
}

.form-box{
padding:20px;
}

}


.password-box {
    position: relative;
    width: 100%;
}

.password-box input {
    width: 100%;
    box-sizing: border-box;
    padding-right: 50px;
}

.show-password {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);

    border: none;
    background: transparent;

    cursor: pointer;

    font-size: 20px;

    padding: 8px;
}

.forgot-password {
    display: block;

    margin: 10px 0 18px auto;

    border: none;
    background: transparent;

    color: #2563eb;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

.forgot-password:hover {
    text-decoration: underline;
}

.error-text {
    color: #dc2626;

    font-size: 14px;
    font-weight: 600;

    margin: 12px 0;

    text-align: center;
}

.success-message {
    color: #16a34a;

    font-size: 14px;
    font-weight: 600;

    margin: 12px 0;

    text-align: center;
}

.btn-login:disabled,
.forgot-password:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
