* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    background:
        radial-gradient(
            circle at top,
            #182d50,
            #07111f 55%
        );

    color: #172033;

    min-height: 100vh;
}


.auth-wrapper,
.dashboard {

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;
}


.auth-card,
.dashboard-card {

    width: 100%;

    max-width: 430px;

    background: #ffffff;

    border-radius: 20px;

    padding: 36px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, .3);
}


.auth-header {
    text-align: center;

    margin-bottom: 28px;
}


.logo {

    width: 55px;
    height: 55px;

    display: flex;

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

    margin:
        0 auto 18px;

    background: #2563eb;

    color: #fff;

    border-radius: 15px;

    font-size: 25px;

    font-weight: 800;
}


.auth-header h1,
.dashboard-card h1 {

    font-size: 27px;

    margin-bottom: 7px;

    color: #142038;
}


.auth-header p,
.dashboard-card p {

    color: #778399;

    font-size: 14px;
}


.form-group {

    margin-bottom: 18px;
}


.form-group label {

    display: block;

    margin-bottom: 7px;

    font-size: 13px;

    font-weight: 700;

    color: #344057;
}


.form-group input {

    width: 100%;

    height: 50px;

    border:
        1px solid #dce2ec;

    border-radius: 10px;

    padding:
        0 14px;

    outline: none;

    font-size: 14px;

    transition: .2s;
}


.form-group input:focus {

    border-color: #2563eb;

    box-shadow:
        0 0 0 3px rgba(37, 99, 235, .1);
}


.password-wrap {

    position: relative;
}


.password-wrap input {

    padding-right: 65px;
}


.show-password {

    position: absolute;

    top: 50%;

    right: 10px;

    transform:
        translateY(-50%);

    border: 0;

    background: transparent;

    color: #2563eb;

    font-size: 12px;

    cursor: pointer;

    font-weight: 700;
}


.submit-btn {

    width: 100%;

    height: 52px;

    margin-top: 5px;

    border: 0;

    border-radius: 10px;

    background: #2563eb;

    color: #ffffff;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: .2s;
}


.submit-btn:hover {

    background: #1d4ed8;

    transform:
        translateY(-1px);
}


.auth-footer {

    text-align: center;

    margin-top: 22px;

    color: #78859a;

    font-size: 13px;
}


.auth-footer a {

    color: #2563eb;

    text-decoration: none;

    font-weight: 700;
}


.message {

    padding: 12px 14px;

    border-radius: 9px;

    margin-bottom: 18px;

    font-size: 13px;
}


.message.error {

    color: #b42318;

    background: #feeceb;

    border:
        1px solid #f8c8c5;
}


.message.success {

    color: #17784a;

    background: #e9f8f0;

    border:
        1px solid #bce7cf;
}


.hidden {

    display: none;
}


.dashboard-card {

    text-align: center;

    max-width: 520px;
}


.user-info {

    margin:
        30px 0;

    border:
        1px solid #e3e8ef;

    border-radius: 12px;

    overflow: hidden;

    text-align: left;
}


.user-info div {

    display: flex;

    justify-content: space-between;

    gap: 15px;

    padding: 16px;

    border-bottom:
        1px solid #e8edf3;
}


.user-info div:last-child {

    border-bottom: 0;
}


.user-info span {

    color: #7b8799;

    font-size: 13px;
}


.user-info strong {

    color: #27364d;

    font-size: 13px;
}


.logout-btn {

    display: inline-flex;

    height: 46px;

    padding:
        0 24px;

    align-items: center;

    justify-content: center;

    background: #e5484d;

    color: #fff;

    text-decoration: none;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 700;
}


@media(max-width:480px) {

    .auth-card,
    .dashboard-card {

        padding: 25px 18px;
    }


    .auth-header h1,
    .dashboard-card h1 {

        font-size: 23px;
    }

}