@import url('style.css');

body {
    background-color: white;
    position: relative;
    padding-bottom: 20px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

#inscriptionForm {
    border: 1px solid #e0e0e0;
    background: #fff;
    border-radius: 12px;
    padding: 20px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-container img.logo {
    display: block;
    margin: 0 auto;
    height: 200px;
}

.title {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
}

.input-group {
    display: flex;
    justify-content: space-between;
}

.input-group div {
    flex: 1;
}

h1 {
    text-align: justify;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 20px;
}

h2 {
    margin-bottom: 30px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    margin-top: 10px;
}

input[type="text"],
input[type="tel"],
select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #FFCB05;
    background: lightgray;
    font-size: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    margin-bottom: 8px;
    margin-top: 13px;
}

.submit-button {
    margin-top: 20px;
    background-color: #FFCB05;
    color: white;
    font-weight: bold;
    border: none;
    border-radius: 9999px;
    padding: 14px 28px;
    cursor: pointer;
    width: 100%;
    font-size: 1rem;
    transition: background 0.3s;
}

.submit-button:hover {
    background-color: #FFCB05;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background-color: #fff;
    padding: 15px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.close-btn {
    position: absolute;
    top: 0px;
    right: 12px;
    font-size: 28px;
    font-weight: bold;
    color: red;
    cursor: pointer;
    user-select: none;
}

#successVideo {
    margin-top: 20px;
    height: 600px;
}

@media (max-width: 768px) {
    .form-container {
        padding: 0 20px;
    }

    #inscriptionForm {
        padding: 20px;
    }

    .input-group {
        flex-direction: column;
        gap: 15px;
    }

    .input-group div {
        width: 100%;
    }

    .form-container img.logo {
        height: 200px;
    }

    .mtn-logo {
        height: 100px;
    }

    h1 {
        font-size: 16px;
    }

    .modal-content {
        width: 95%;
        padding: 10px;
    }

    .close-btn {
        font-size: 24px;
        top: 4px;
        right: 10px;
    }

    #successVideo {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {

    h1,
    h2 {
        font-size: 15px;
        text-align: center;
    }

    .header .mtn-logo {
        width: inherit;
        margin-top: -10px;
    }

    .submit-button {
        padding: 12px 20px;
        font-size: 0.9rem;
    }

    label {
        font-size: 0.9rem;
    }

    input[type="text"],
    input[type="tel"],
    select {
        font-size: 0.9rem;
    }
}