*{box-sizing:border-box}
:root{
    --navy:#16233F;
    --navy-2:#1E3358;
    --marigold:#E8A33D;
    --marigold-2:#F4C06B;
    --bg:#F6F4EF;
    --card:#FFFFFF;
    --ink:#182238;
    --slate:#5B6472;
    --line:#E7E2D6;
    --good:#3E8E5E;
    --bad:#C24A3D;
}
body{
    margin:0;
    min-height:100vh;
    background:var(--bg);
    color:var(--ink);
    font-family:Inter,Arial,sans-serif;
}
h1,h2,h3{font-family:Arial,sans-serif}
.login-wrap{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:var(--navy);
}
.login-card{
    background:var(--card);
    border-radius:22px;
    padding:32px 26px;
    max-width:380px;
    width:100%;
    text-align:center;
    box-shadow:0 20px 50px rgba(0,0,0,.35);
}
.logo-badge,.logo-badge-sm{
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--navy);
    color:var(--marigold-2);
    font-weight:800;
}
.logo-badge{
    width:56px;height:56px;border-radius:16px;
    margin:0 auto 14px;font-size:24px;
}
.logo-badge-sm{
    width:38px;height:38px;border-radius:10px;font-size:17px;flex:0 0 auto;
}
.login-card h1{font-size:19px;margin:0}
.company-sub,.co-sub{
    font-size:11px;color:var(--slate);
    text-transform:uppercase;letter-spacing:.1em;
}
.company-sub{margin-top:3px;margin-bottom:20px}
.login-intro{text-align:left;font-size:13px;color:var(--slate)}
label{
    display:block;
    text-align:left;
    font-size:11.5px;
    font-weight:700;
    color:var(--slate);
    text-transform:uppercase;
    margin:14px 0 6px;
}
select,input{
    width:100%;
    padding:12px 13px;
    border:1px solid var(--line);
    border-radius:11px;
    font-size:14px;
    background:#FBFAF6;
    color:var(--ink);
}
.login-btn,.submit-btn{
    width:100%;
    padding:14px;
    margin-top:20px;
    border:0;
    border-radius:12px;
    background:var(--navy);
    color:#fff;
    font-size:14.5px;
    font-weight:700;
    cursor:pointer;
}
.login-err{
    margin-top:12px;
    background:#FBEAE7;
    color:var(--bad);
    padding:9px 12px;
    border-radius:10px;
    font-size:12.5px;
    font-weight:600;
}
.topbar{
    background:var(--navy);
    color:#fff;
    padding:18px 20px;
    display:flex;
    gap:12px;
    align-items:center;
    justify-content:space-between;
}
.topbar>div:first-child{display:flex;gap:10px;align-items:center}
.topbar h1{font-size:16px;margin:0}
.co-sub{color:#9AA6BC}
.topbar-user{font-size:13px;color:#C9D0DE}
.logout-btn{
    display:inline-block;
    margin-left:12px;
    color:#fff;
    text-decoration:none;
    border:1px solid rgba(255,255,255,.3);
    padding:7px 12px;
    border-radius:20px;
    font-size:11px;
}
.wrap{max-width:1000px;margin:0 auto;padding:16px}
.card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:20px;
    margin-top:14px;
    box-shadow:0 6px 18px rgba(22,35,63,.06);
}
.card h2,.card h3{margin-top:0}
.hint{font-size:12px;color:var(--slate);line-height:1.6}
.success-box,.info-box{
    padding:12px 14px;
    border-radius:10px;
    margin-top:14px;
}
.success-box{background:#E4F2E9;color:var(--good)}
.info-box{background:#EEF2F8;color:var(--navy)}
.simple-table{width:100%;border-collapse:collapse}
.simple-table th,.simple-table td{
    padding:10px;
    border-bottom:1px solid var(--line);
    text-align:left;
}
.simple-table th{width:180px;color:var(--slate);font-size:12px}
@media(max-width:640px){
    .topbar{align-items:flex-start;flex-direction:column}
    .topbar-user{width:100%}
}



/* phase 2 */

.toolbar {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.toolbar input {
    flex: 1;
    min-width: 220px;
}

.settings-save {
    border: 0;
    background: var(--navy);
    color: #fff;
    padding: 9px 13px;
    border-radius: 9px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.emp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.emp-row:last-child {
    border-bottom: 0;
}

.emp {
    display: flex;
    align-items: center;
    gap: 10px;
}

.emp-right {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.emp-right form {
    margin: 0;
}

.avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--navy);
    color: var(--marigold-2);

    font-weight: 800;
}

.emp-name {
    font-weight: 700;
    font-size: 14px;
}

.emp-dept {
    font-size: 11px;
    color: var(--slate);
    margin-top: 3px;
}

@media (max-width: 640px) {

    .emp-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .emp-right {
        width: 100%;
    }

}
