/* GLOBAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.container {
    background:
        linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)),
        url("../img/logo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 100vh;
    padding: 20px;
}

#avatarPreview {
    margin-bottom: 40px;
    cursor: pointer;
    border-radius: 50%;
    transition: 0.2s;
}

#avatarPreview:hover {
    opacity: 0.8;
}
/* FORM WRAPPER */
.register-container {
    background: #0A0F1A;
    padding: 40px;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;

    box-shadow: 0 0 25px rgba(0, 245, 255, 0.15);
    text-align: center;
    color: #E6F7FF;

    backdrop-filter: blur(6px);
}

/* TITLE */
h1 {
    margin-bottom: 25px;
    color: #00F5FF;
    font-size: 28px;
}

/* INPUTS */
form input,
form select {
    width: 100%;
    padding: 14px;
    margin: 10px 0;
    border-radius: 10px;
    border: 1px solid #1A2A40;
    background: #05070D;
    color: #E6F7FF;
    font-size: 16px;
    transition: 0.2s;
}


form input:focus,
form select:focus {
    border-color: #00F5FF;
    box-shadow: 0 0 8px rgba(0, 245, 255, 0.4);
    outline: none;
}

form label {
    display: block;
    text-align: left;
    margin-top: 10px;
    margin-bottom: 4px;
    color: #E6F7FF;
}

/* BUTTON */
button {
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    background: #00F5FF;
    color: #0A0F1A;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.25s;
}

button:hover {
    background: #00d2e0;
    transform: translateY(-2px);
}

/* LOGIN LINK */
.login-link {
    margin-top: 18px;
    font-size: 15px;
}

.login-link a {
    color: #00F5FF;
    text-decoration: none;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 480px) {
    .register-container {
        padding: 25px;
    }

    h1 {
        font-size: 24px;
    }

    button {
        font-size: 16px;
    }
}