/* =========================================================
   REGISTER PAGE – MATCH LOGIN DESIGN
   ========================================================= */

.register-body {
    background: #fffdf0;
}

/* Layout */
.register-layout {
    width: 100%;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

/* Hero background */
.register-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

    background:
        radial-gradient(
            circle at top center,
            rgba(255, 244, 200, 0.9),
            #fffdf0 65%
        );
}

/* Card */
.register-card {
    width: 100%;
    max-width: 720px;

    background: #ffffff;
    border-radius: 20px;
    padding: 32px;

    box-shadow:
        0 24px 40px rgba(0,0,0,0.12),
        0 8px 16px rgba(124,102,244,0.12);

    border-top: 6px solid var(--brand-purple);
}

/* Brand */
.register-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.register-brand img {
    height: 44px;
}

/* Title */
.register-card h1 {
    font-size: 1.55rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 6px;
    color: #111827;
}

.register-subtext {
    text-align: center;
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 22px;
}

/* Inputs */
.register-card .form-control {
    height: 48px;
    border-radius: 12px;
    font-size: 1rem;
}

/* Button */
.btn-register {
    background: var(--brand-purple);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 14px;
    border-radius: 12px;
    margin-top: 18px;
}

.btn-register:hover {
    opacity: 0.95;
}

/* Links */
.register-links {
    margin-top: 16px;
    text-align: center;
    font-size: 0.85rem;
}

.register-links a {
    color: var(--brand-purple);
    font-weight: 600;
    text-decoration: none;
}

/* Mobile */
@media (max-width: 768px) {

    .register-layout {
        padding: 32px 14px;
    }

    .register-card {
        max-width: 100%;
        padding: 24px;
        border-radius: 18px;
    }

    .register-card h1 {
        font-size: 1.45rem;
    }
}
