/* ==============================
   RESET
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, Helvetica, sans-serif;

    background-color: #ffffff;

    color: #29272e;
}




/* ==============================
   REGISTRATION SECTION
================================= */

.registration-section {
    width: 100%;
    margin-top: 100px;

    padding: 30px 20px 50px;
}


/* ==============================
   MAIN CONTAINER
================================= */

.registration-container {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;
}


/* ==============================
   TITLE
================================= */

.form-title {
    text-align: center;

    font-size: 26px;

    margin-bottom: 25px;

    color: #29272e;
}


/* ==============================
   FORM
================================= */

#registrationForm {
    width: 100%;
}


/* ==============================
   TWO COLUMNS
================================= */

.form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 24px;

    margin-bottom: 24px;
}


/* ==============================
   FORM GROUP
================================= */

.form-group {
    width: 100%;
}


.form-group label {
    display: block;

    font-size: 14px;

    margin-bottom: 8px;

    color: #29272e;
}


.form-group label span {
    color: red;
}


/* ==============================
   INPUTS
================================= */

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"] {

    width: 100%;

    height: 39px;

    padding: 0 13px;

    border: 1px solid #ff9d00;

    border-radius: 10px;

    outline: none;

    font-size: 13px;

    color: #29272e;

    background-color: white;

    transition: 0.3s ease;
}


.form-group input::placeholder {
    color: #aaa;
}


.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group input[type="number"]:focus {

    border-color: #d97800;

    box-shadow:
        0 0 0 3px rgba(217, 120, 0, 0.12);
}


/* ==============================
   FILE INPUT
================================= */

.form-group input[type="file"] {

    width: 100%;

    font-size: 13px;

    color: #666;

    cursor: pointer;
}


/* Chrome / Edge file button */

.form-group input[type="file"]::file-selector-button {

    background-color: #ffab00;

    border: none;

    border-radius: 10px;

    padding: 9px 14px;

    margin-right: 5px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s ease;
}


.form-group input[type="file"]::file-selector-button:hover {

    background-color: #d97800;

}


/* ==============================
   ERROR
================================= */

.error-message {

    display: none;

    width: 100%;

    padding: 12px;

    margin-bottom: 15px;

    border-radius: 8px;

    background-color: #ffe5e5;

    color: #d00000;

    font-size: 14px;

}


/* ==============================
   SUBMIT BUTTON
================================= */

.submit-button {

    width: 100%;

    height: 40px;

    border: none;

    border-radius: 8px;

    background-color: #29272e;

    color: white;

    font-size: 16px;

    font-weight: bold;

    cursor: pointer;

    transition: 0.3s ease;
}


.submit-button:hover {

    background-color: #d97800;

    color: black;
}


.submit-button:disabled {

    opacity: 0.7;

    cursor: not-allowed;
}


/* ==============================
   SUCCESS MESSAGE
================================= */

.success-message {

    display: none;

    text-align: center;

    padding: 40px 20px;

    border-radius: 15px;

    background-color: #f3fff5;

    margin-top: 20px;
}


.success-icon {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 15px;

    border-radius: 50%;

    background-color: #d97800;

    color: white;

    font-size: 28px;

    font-weight: bold;
}


.success-message h2 {

    font-size: 24px;

    margin-bottom: 10px;

    color: #29272e;
}


.success-message p {

    color: #666;

    line-height: 1.6;
}


/* ==============================
   RESPONSIVE
================================= */

@media (max-width: 700px) {

    .registration-section {

        padding: 25px 15px 40px;
    }


    .form-row {

        grid-template-columns: 1fr;

        gap: 18px;

        margin-bottom: 18px;
    }


    .form-title {

        font-size: 24px;

        margin-bottom: 25px;
    }

}


@media (max-width: 450px) {

    .registration-section {
        margin-top: 50px;
        padding: 20px 12px;
    }


    .form-title {

        font-size: 22px;
    }


    .form-group label {

        font-size: 13px;
    }

}