/* ---------------- RESET / BASE ---------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    min-height: 100vh;
    background: url('../Images/bgLog.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
}

/* DARK OVERLAY */
body::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

/* ---------------- CONTAINER ---------------- */
.registerContainer {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* LOGO */
.registerContainer .logo img {
    height: 60px;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease forwards;
}

/* ---------------- FORM WRAPPER ---------------- */
.registerFormWrapper {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px 45px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 450px;
    animation: fadeInUp 1s ease forwards;
}

/* HEADER */
.registerFormWrapper h1 {
    text-align: center;
    margin-bottom: 10px;
    font-size: 30px;
    color: #333;
}

.registerFormWrapper p {
    text-align: center;
    margin-bottom: 25px;
    color: #555;
    font-size: 14px;
}

/* ---------------- FORM ---------------- */
.formGroup {
    position: relative;
    margin-bottom: 20px;
}

/* INPUTS */
.formGroup input[type="text"],
.formGroup input[type="email"],
.formGroup input[type="password"] {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    font-size: 15px;
    transition: 0.3s;
    background: none;
}

/* SELECT (FIXED UI 💀➡️🔥) */
.formGroup select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    outline: none;
    font-size: 15px;
    background: white;
    transition: 0.3s;
    appearance: none;
    cursor: pointer;
}

/* FOCUS EFFECT */
.formGroup input:focus,
.formGroup select:focus {
    border-color: #3b8efc;
    box-shadow: 0 0 8px rgba(59, 142, 252, 0.3);
}

/* FLOATING LABELS */
.formGroup label {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 15px;
    pointer-events: none;
    transition: 0.3s;
    background: white;
    padding: 0 5px;
}

/* FLOAT EFFECT */
.formGroup input:focus + label,
.formGroup input:valid + label {
    top: -9px;
    left: 10px;
    font-size: 11px;
    color: #3b8efc;
}

/* SECTION LABEL */
.sectionLabel {
    font-size: 13px;
    font-weight: bold;
    color: #666;
    margin-bottom: 10px;
}

/* ---------------- TERMS ---------------- */
.formGroup.terms {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
}

.formGroup.terms input {
    margin-top: 3px;
}

.formGroup.terms a {
    color: #3b8efc;
    text-decoration: none;
}

.formGroup.terms a:hover {
    text-decoration: underline;
}

/* ---------------- BUTTON ---------------- */
.registerBtn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(90deg, #3b8efc, #65b0ff);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.25s;
}

.registerBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(59,142,252,0.4);
}

.registerBtn:active {
    transform: scale(0.98);
}

/* ---------------- LOGIN LINK ---------------- */
.loginLink {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
}

.loginLink a {
    color: #3b8efc;
    text-decoration: none;
}

.loginLink a:hover {
    text-decoration: underline;
}

/* ---------------- ANIMATIONS ---------------- */
@keyframes fadeInUp {
    from {opacity: 0; transform: translateY(20px);}
    to {opacity: 1; transform: translateY(0);}
}

@keyframes fadeInDown {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 500px) {
    .registerFormWrapper {
        padding: 25px 18px;
    }
}