.box-register {
    justify-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 25px;
    width: 60%;
    justify-content: center;
    justify-self: center;
    max-height: 90vh;
    animation: fadeIn 1s ease;

}

.logo {
    width: auto;
    color: white;
    justify-self: center;
    font-family: sans-serif;
    font-size: clamp(1.5rem, 5vw, 3rem);
}

.welcome-message {
    color: white;
    font-family: "Playfair Display";
    font-weight: 600;
    font-size: clamp(1.2rem, 3vw, 2rem);
    margin-bottom: 12px;
    text-align: center;
}


#register-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 12px;
    align-items: end;
}

.input-box {
    border-radius: 8px;
    border: 1.5px solid #c5d5e8;
    background: #f4f8fd;
    width: 20vw;
    height: clamp(2rem, 4vw, 2.5rem);
    padding: 0 12px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
.input-box:focus {
    border-color: #013d7a;
    box-shadow: 0 0 0 3px rgba(1, 61, 122, 0.12);
    background: white;
}

.input-description {
    color: white;
    font-family: Inter;
    font-weight: 500;
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    text-align: left;
    margin-bottom: 5px;
    width: 100%;
}

.register-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    width: 100%;
    height: clamp(2.8rem, 7vw, 4rem);
    color: #FFF;
    font-family: Inter;
    font-size: clamp(1rem, 2.5vw, 1.76313rem);
    font-weight: 500;
    align-self: center;
    margin-top: 20px;
    grid-column: 1 / -1;
}

.register-button:hover {
    cursor: pointer;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
    transform: translateY(-3px);

}

.field-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.register {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(6px, 1vw, 10px);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0e8f0;  /* divider */
    width: 100%;
    justify-content: center;
    color: white;
    grid-column: 1 / -1;
}

.register-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    width: 50%;
    justify-self: center;
    height: clamp(2.2rem, 5vw, 3rem);
    color: #FFF;
    font-family: Inter;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 500;
    margin-top: 12px;
    grid-column: 1 / -1;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.register-button:hover {
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(1, 61, 122, 0.4);
    transform: translateY(-3px);
}

#register-button {
    color: #97c9ff;
    font-weight: 600;
    transition: transform 0.2s ease;
}

#register-button:hover {
    cursor: pointer;
    transform: translateY(-3px);
}


@media (max-width: 768px) {
    body {
        min-height: 100vh;
        overflow-y: auto;
        padding: 60px 0;
    }
    #register-form {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4px 12px;
        align-items: end;
    }
    .input-box {
        width: 40vw;
        height: clamp(2rem, 4vw, 2.5rem);
        padding: 0 12px;
        font-size: 1rem;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        outline: none;
    }
    .box-register {
        justify-items: center;
        padding: 25px;
        width: 60%;
        justify-content: center;
        justify-self: center;
        margin-bottom: 50px;
        max-height: 85vh;
        overflow-y: auto;
    }
}