/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/* PAGE BACKGROUND */
body {
    background: url("../img/bg_school_facade.png") no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    padding: 100px 15px 40px;
}

/* LIGHT OVERLAY */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.4);
    backdrop-filter: blur(2px);
    z-index: -1;
}

/* REGISTER CARD */
.register-card {
    max-width: 420px;
    margin: auto;
    background: #ffffffdd;
    padding: 35px 30px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0,0,0,.25);
}

/* TEXT */
h2 {
    text-align: center;
    font-size: 20px;
    color: #0d1a3b;
}

.subtitle {
    text-align: center;
    font-size: 12.5px;
    color: #565a66;
    margin-bottom: 16px;
}

/* FORM */
label {
    display: block;
    margin-top: 12px;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 500;
}

input, select {
    width: 100%;
    height: 40px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1.4px solid #e3e6ea;
    background: #f7f9fc;
    font-size: 14px;
}

input:focus, select:focus {
    outline: none;
    border-color: #2870ff;
    background: #fff;
}

/* PASSWORD */
.password-wrapper {
    position: relative;
}

.password-wrapper i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #6f7176;
}

/* HELPERS */
.helper { font-size: 11.5px; margin-top: 4px; }
.weak { color: #c0392b; }
.medium { color: #e67e22; }
.strong, .match { color: #27ae60; }
.nomatch { color: #c0392b; }

/* BUTTON */
button {
    width: 100%;
    margin-top: 18px;
    padding: 11px;
    border-radius: 10px;
    border: none;
    background: #1A49D3;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

button:disabled {
    background: #9aa7d9;
    cursor: not-allowed;
}

/* LINKS */
.links {
    margin-top: 12px;
    text-align: center;
}

.links a {
    font-size: 13px;
    color: #1A49D3;
    text-decoration: none;
}

/* LOGO */
.logo-wrapper {
    text-align: center;
    margin-bottom: 15px;
}

.research-logo {
    max-width: 90px;
    height: auto;
    opacity: 0.95;
}

/* MOBILE */
@media (max-width: 480px) {

    body {
        padding: 40px 12px 30px;
    }

    .register-card {
        padding: 28px 22px;
        border-radius: 16px;
    }

    .research-logo {
        max-width: 72px;
    }

    h2 {
        font-size: 18px;
    }

    .subtitle {
        font-size: 12px;
        margin-bottom: 12px;
    }

    input, select {
        height: 44px;
        font-size: 14px;
    }

    button {
        padding: 13px;
        font-size: 15px;
        border-radius: 12px;
    }
}
