/* Register page builds on login styles but with a larger card and grid layout */
.register-page {
    min-height: calc(
        100vh - var(--header-height, 56px) - var(--footer-height, 40px)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.register-card {
    width: min(780px, 100%);
    padding: 2.5rem 2.75rem;
    border-radius: 20px;
}

.register-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.1rem 1rem;
}

.register-form .login-field {
    width: 100%;
}

.register-form .login-label {
    font-size: 0.92rem;
}

.register-button {
    grid-column: 1 / -1;
    margin-top: 0.25rem;
}

@media (max-width: 640px) {
    .register-card {
        padding: 2rem 1.75rem;
    }

    .register-form {
        grid-template-columns: 1fr;
    }
}

/* Edit profile layout (Bootstrap-friendly) */
.profile-edit-page {
    background: #f7f7f5;
}

.profile-edit-card {
    border-radius: 16px;
}

.profile-edit-form .form-control,
.profile-edit-form .form-select {
    border-radius: 10px;
}

.profile-edit-form label {
    font-weight: 600;
}
