*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Inter',sans-serif;
    background:linear-gradient(135deg,#2563eb,#0f172a);
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:20px;
}

.container{
    width:100%;
    max-width:460px;
}

.card{
    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 20px 50px rgba(0,0,0,.18);
}

.logo{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#2563eb;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 20px;
    font-size:30px;
    font-weight:700;
}

h1{
    text-align:center;
    color:#111827;
    margin-bottom:8px;
}

.subtitle{
    text-align:center;
    color:#6b7280;
    margin-bottom:30px;
    font-size:14px;
}

.form-group{
    margin-bottom:18px;
}

.row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:15px;
}

label{
    display:block;
    margin-bottom:7px;
    font-size:14px;
    font-weight:600;
    color:#374151;
}

input,
select{
    width:100%;
    padding:14px 15px;
    border:1px solid #d1d5db;
    border-radius:12px;
    outline:none;
    font-size:15px;
    transition:.25s;
}

input:focus,
select:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 4px rgba(37,99,235,.12);
}

.invalid{
    border-color:#dc2626 !important;
    box-shadow:0 0 0 4px rgba(220,38,38,.12);
}

.error{
    color:#dc2626;
    font-size:13px;
    margin-top:6px;
}

button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    background:#2563eb;
    color:#fff;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
    margin-top:8px;
}

button:hover{
    background:#1d4ed8;
    transform:translateY(-2px);
}



.footer{
    text-align:center;
    margin-top:22px;
    color:#6b7280;
    font-size:14px;
}

.footer a{
    color:#2563eb;
    text-decoration:none;
    font-weight:600;
}

.image-preview {
    margin-top: 12px;
    text-align: center;
}

.image-preview img {
    width: 180px;
    height: 180px;
    border: 2px dashed #d1d5db;
    border-radius: 10px;
    object-fit: cover;
    background: #f9fafb;
}

.already-registered-card{
    max-width:450px;
    width:100%;
    margin:40px auto;
    padding:30px;
    border-radius:18px;
    background:#fff;
    box-shadow:0 10px 30px rgba(0,0,0,.12);
    text-align:center;
}

.already-registered-card h2{
    margin-bottom:25px;
    color:#2563eb;
    font-size:28px;
}

.registered-photo{
    width:170px;
    height:170px;
    object-fit:cover;
    border-radius:50%;
    border:5px solid #2563eb;
    margin-bottom:25px;
}

.employee-info{
    width:100%;
}

.info-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:14px 0;
    border-bottom:1px solid #ececec;
    font-size:17px;
}

.info-row:last-child{
    border-bottom:none;
}

.label{
    font-weight:600;
    color:#555;
}

.info-row span:last-child{
    font-weight:700;
    color:#222;
}

/* Password */
.password-wrapper{
    position:relative;
}

.password-wrapper input{
    width:100%;
    padding-right:50px;
}

.toggle-password{
    position:absolute;
    top:50%;
    right:15px;
    transform:translateY(-50%);
    width:auto;
    height:auto;
    padding:0;
    margin:0;
    border:none;
    border-radius:0;
    background:transparent;
    color:#6b7280;
    cursor:pointer;
    font-size:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:none;
}

.toggle-password:hover{
    background:transparent;
    color:#2563eb;
    transform:translateY(-50%);
}

/* Mobile */
@media (max-width:600px){

    .already-registered-card{
        width:92%;
        padding:20px;
        margin:20px auto;
    }

    .already-registered-card h2{
        font-size:24px;
    }

    .registered-photo{
        width:140px;
        height:140px;
    }

    .info-row{
        flex-direction:column;
        gap:5px;
        text-align:center;
        font-size:16px;
    }
}

@media(max-width:600px){

    .card{
        padding:25px;
    }

    .row{
        grid-template-columns:1fr;
    }

}



