* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #f4f4f4;
    min-height: 100vh;
    padding: 40px 20px;
}

.register-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.15);
}

.register-container h1 {
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.intro-text {
    text-align: center;
    color: #666;
    margin-bottom: 35px;
}


/* ========================= */
/* FORM SECTIONS */
/* ========================= */

.form-section {
    margin-bottom: 35px;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

.form-section h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 22px;
}


/* ========================= */
/* FORM ROW */
/* ========================= */

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}


/* ========================= */
/* FORM GROUP */
/* ========================= */

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #444;
}

.form-group label span {
    color: red;
}


/* ========================= */
/* INPUTS */
/* ========================= */

.form-group input,
.form-group select {
    width: 100%;
    padding: 13px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    outline: none;
    background: white;
    transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: #2d7ef7;
    box-shadow: 0 0 3px rgba(45, 126, 247, 0.2);
}


/* ========================= */
/* RADIO BUTTONS */
/* ========================= */

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #444;
}

.radio-option input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}


/* ========================= */
/* CHECKBOXES */
/* ========================= */

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: #444;
    line-height: 1.5;
}

.checkbox-option input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.required {
    color: red;
}


/* ========================= */
/* REGISTER BUTTON */
/* ========================= */

.register-button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 5px;
    background: #2d7ef7;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.register-button:hover {
    background: #1d5fd0;
}


/* ========================= */
/* LOGIN LINK */
/* ========================= */

.login-link {
    text-align: center;
    margin-top: 25px;
    color: #444;
}

.login-link a {
    text-decoration: none;
    color: #2d7ef7;
    font-weight: bold;
}

.login-link a:hover {
    text-decoration: underline;
}


/* ========================= */
/* MOBILE RESPONSIVE */
/* ========================= */

@media (max-width: 700px) {

    body {
        padding: 20px 10px;
    }

    .register-container {
        padding: 25px 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .register-container h1 {
        font-size: 26px;
    }

    .form-section h2 {
        font-size: 20px;
    }

}