/* =========================
   PAGE LAYOUT
========================= */
.register-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 73px);
    width: 100%;
    background-color: #f5f5f5;
}

/* =========================
   FORM WRAPPER
========================= */
.register-form-wrapper {
    max-width: 500px;
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;

    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 20px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.register-form-wrapper h3 {
    text-align: center;
}

/* =========================
   FORM
========================= */
.register-form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* =========================
   INPUT FIELDS
========================= */
.register-form-wrapper input {
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: all 0.2s ease;
}

/* Focus effect */
.register-form-wrapper input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.1);
}

/* =========================
   BUTTON
========================= */
.register-form-wrapper button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: 0.2s ease;
}

.register-form-wrapper button:hover {
    background-color: #0056b3;
}

/* =========================
   EXTRA LINKS / TEXT
========================= */
.form-footer {
    text-align: center;
    font-size: 14px;
}

.form-footer a {
    color: #007bff;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1024px) {
    .register-form-wrapper {
        width: 80%;
    }
}

@media (max-width: 600px) {
    .register-form-wrapper {
        width: 90%;
        padding: 15px;
    }
}

/* =========================
   DARK MODE
========================= */
body.dark {
    background-color: #121212;
}

/* Page background */
body.dark .register-page {
    background-color: #121212;
}

/* Form wrapper */
body.dark .register-form-wrapper {
    background-color: #1e1e1e;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.6);
}

/* Heading */
body.dark .register-form-wrapper h3 {
    color: #ffffff;
}

/* Inputs */
body.dark .register-form-wrapper input {
    background-color: #2a2a2a;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Input placeholder */
body.dark .register-form-wrapper input::placeholder {
    color: rgba(255,255,255,0.5);
}

/* Input focus */
body.dark .register-form-wrapper input:focus {
    border-color: #4da3ff;
    box-shadow: 0 0 0 2px rgba(77,163,255,0.2);
}

/* Button */
body.dark .register-form-wrapper button {
    background-color: #4da3ff;
}

body.dark .register-form-wrapper button:hover {
    background-color: #1f7ae0;
}

/* Footer text */
body.dark .form-footer {
    color: rgba(255,255,255,0.7);
}

/* Links */
body.dark .form-footer a {
    color: #4da3ff;
}