* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #061a40 0%, #0b5ed7 55%, #18a4e0 100%);
    color: #16213e;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.login-wrapper::before,
.login-wrapper::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.login-wrapper::before {
    width: 420px;
    height: 420px;
    top: -180px;
    left: -120px;
}

.login-wrapper::after {
    width: 500px;
    height: 500px;
    right: -180px;
    bottom: -220px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,.97);
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 25px 70px rgba(0,0,0,.28);
}

.brand {
    text-align: center;
    margin-bottom: 28px;
}

.brand-logo {
    width: 68px;
    height: 68px;
    margin: 0 auto 14px;
    border-radius: 18px;
    background: linear-gradient(135deg,#0756c9,#12a7e8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    box-shadow: 0 10px 25px rgba(7,86,201,.3);
}

.brand h1 {
    margin: 0;
    color: #0a3d91;
    font-size: 27px;
}

.brand p {
    margin: 8px 0 0;
    color: #667085;
    font-size: 14px;
}

.form-group {
    margin-bottom: 17px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    height: 48px;
    border: 1px solid #d7deea;
    border-radius: 11px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
    transition: .2s;
}

.form-group input:focus {
    border-color: #0b63ce;
    box-shadow: 0 0 0 4px rgba(11,99,206,.1);
}

.btn {
    width: 100%;
    height: 49px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(90deg,#0756c9,#098fe0);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 9px 20px rgba(7,86,201,.25);
}

.btn:hover {
    filter: brightness(.96);
}

.links {
    text-align: center;
    margin-top: 18px;
}

.links a {
    color: #0756c9;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.alert {
    padding: 11px 13px;
    border-radius: 9px;
    margin-bottom: 17px;
    font-size: 14px;
}

.alert.error {
    background: #fff0f0;
    color: #b42318;
    border: 1px solid #f3b6b2;
}

.alert.success {
    background: #ecfdf3;
    color: #067647;
    border: 1px solid #a6e2c0;
}

.dashboard {
    min-height: 100vh;
    background: #f5f8fc;
}

.topbar {
    height: 70px;
    background: #063b91;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
}

.topbar .logo {
    font-size: 22px;
    font-weight: 800;
}

.topbar a {
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,.13);
    padding: 9px 15px;
    border-radius: 8px;
}

.dashboard-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 24px;
}

.welcome-box {
    background: white;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(20,50,90,.08);
}

.welcome-box h1 {
    color: #073b8f;
    margin-top: 0;
}

@media (max-width: 520px) {
    .login-card {
        padding: 28px 22px;
    }
}
