/* =========================================================
   PRIVATE CLASS MODAL
========================================================= */

.private-class-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.private-class-modal.active {
    display: flex;
}
.private-class-home-button {
    display: inline-block;
    margin-top: 22px;
    padding: 13px 28px;
    border: none;
    border-radius: 30px;
    background: #9a7b37;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.private-class-home-button:hover {
    background: #7f642d;
    transform: translateY(-2px);
}

/* =========================================================
   OVERLAY
========================================================= */

.private-class-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}


/* =========================================================
   MODAL CONTENT
========================================================= */

.private-class-modal-content {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 600px;
    max-height: 90vh;

    overflow-y: auto;

    box-sizing: border-box;

    margin: auto;
    padding: 35px;

    background: #ffffff;

    border-radius: 8px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    animation:
        private-class-modal-in 0.25s ease;
}


/* =========================================================
   MODAL ANIMATION
========================================================= */

@keyframes private-class-modal-in {

    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================================================
   CLOSE BUTTON
========================================================= */

.private-class-close {
    position: absolute;

    top: 15px;
    right: 18px;

    width: 35px;
    height: 35px;

    border: none;

    background: transparent;

    color: #333333;

    font-size: 30px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    padding: 0;

    z-index: 5;

    transition: all 0.2s ease;
}

.private-class-close:hover {
    color: #9a7b37;
}


/* =========================================================
   HEADER
========================================================= */

.private-class-header {
    text-align: center;

    margin-bottom: 30px;

    padding-right: 20px;
}

.private-class-header h2 {
    margin: 0 0 10px;

    color: #222222;

    font-size: 28px;

    line-height: 1.3;
}

.private-class-header p {
    margin: 0;

    color: #777777;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   FORM GROUP
========================================================= */

.private-class-form-group {
    width: 100%;

    margin-bottom: 20px;
}

.private-class-form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 16px;

    margin-bottom: 0;
}


/* =========================================================
   LABELS
========================================================= */

.private-class-form-group > label,
.private-class-form-row label {
    display: block;

    margin-bottom: 8px;

    color: #333333;

    font-size: 14px;

    font-weight: 600;
}


/* =========================================================
   INPUTS / TEXTAREA / SELECT
========================================================= */

.private-class-form-group input[type="text"],
.private-class-form-group input[type="email"],
.private-class-form-group input[type="tel"],
.private-class-form-group textarea,
.private-class-form-group select {

    width: 100%;

    box-sizing: border-box;

    padding: 13px 15px;

    border: 1px solid #dddddd;

    border-radius: 4px;

    background: #ffffff;

    color: #333333;

    font-family: inherit;

    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.private-class-form-group input:focus,
.private-class-form-group textarea:focus,
.private-class-form-group select:focus {

    border-color: #9a7b37;

    box-shadow:
        0 0 0 2px rgba(154, 123, 55, 0.10);
}


.private-class-form-group textarea {

    resize: vertical;

    min-height: 90px;
}


/* =========================================================
   HELP TEXT
========================================================= */

.private-class-help-text {

    margin: -2px 0 12px;

    color: #888888;

    font-size: 13px;
}


/* =========================================================
   CHECKBOX LIST
========================================================= */

.private-class-checkbox-list {

    display: flex;

    flex-direction: column;

    gap: 10px;
}


/* =========================================================
   CHECKBOX
========================================================= */

.private-class-checkbox {

    display: flex !important;

    align-items: flex-start;

    gap: 10px;

    margin: 0 !important;

    padding: 12px;

    border: 1px solid #e3e3e3;

    border-radius: 5px;

    background: #fafafa;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}


.private-class-checkbox:hover {

    border-color: #9a7b37;

    background: #fffdf8;
}


.private-class-checkbox input[type="checkbox"] {

    width: 17px;

    height: 17px;

    margin: 1px 0 0;

    flex-shrink: 0;

    accent-color: #9a7b37;

    cursor: pointer;
}


.private-class-checkbox span {

    color: #444444;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   RADIO LIST
========================================================= */

.private-class-radio-list {

    display: flex;

    flex-direction: column;

    gap: 10px;
}


/* =========================================================
   RADIO
========================================================= */

.private-class-radio {

    display: flex !important;

    align-items: center;

    gap: 10px;

    margin: 0 !important;

    padding: 12px;

    border: 1px solid #e3e3e3;

    border-radius: 5px;

    background: #fafafa;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}


.private-class-radio:hover {

    border-color: #9a7b37;

    background: #fffdf8;
}


.private-class-radio input[type="radio"] {

    width: 17px;

    height: 17px;

    margin: 0;

    flex-shrink: 0;

    accent-color: #9a7b37;

    cursor: pointer;
}


.private-class-radio span {

    color: #444444;

    font-size: 13px;

    line-height: 1.5;
}


/* =========================================================
   STATUS
========================================================= */

.private-class-status {

    position: relative;

    min-height: 0;

    margin-bottom: 10px;

    color: #d00000;

    font-size: 13px;

    line-height: 1.5;
}

.private-class-status.success {
    color: #9a7b37;
}

.private-class-status.error {
    color: #d00000;
}

/* =========================================================
   SUBMIT BUTTON
========================================================= */

.private-class-submit {

    width: 100%;

    padding: 15px 25px;

    border: none;

    border-radius: 50px;

    background: #9a7b37;

    color: #ffffff;

    font-family: inherit;

    font-size: 14px;

    font-weight: 600;

    line-height: 1.2;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.2s ease;
}


.private-class-submit:hover {

    background: #9a7b37;

    color: #313131;

}


.private-class-submit:disabled {

    opacity: 0.7;

    cursor: not-allowed;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .private-class-modal {

        padding: 12px;

    }


    .private-class-modal-content {

        max-height: 94vh;

        padding: 28px 20px;

    }


    .private-class-form-row {

        grid-template-columns: 1fr;

        gap: 0;

    }


    .private-class-header h2 {

        font-size: 24px;

    }


    .private-class-checkbox span,
    .private-class-radio span {

        font-size: 12px;

    }

}

/* =========================================================
   PRIVATE CLASS SUCCESS MESSAGE
========================================================= */

.private-class-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 20px;

    text-align: center;
}


.private-class-success-icon {
    width: 70px;
    height: 70px;

    border-radius: 50%;

    background: #9a7b37;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    animation:
        private-class-success-pop 0.45s ease;
}


.private-class-success-icon::after {

    content: "";

    width: 20px;
    height: 36px;

    border-right: 4px solid #ffffff;
    border-bottom: 4px solid #ffffff;

    transform:
        rotate(45deg)
        translate(-2px, -3px);

    opacity: 0;

    animation:
        private-class-check-draw
        0.35s
        ease
        0.3s
        forwards;
}


.private-class-success h3 {

    margin: 0 0 8px;

    color: #4CAF50;

    font-size: 20px;

    font-weight: 600;
}


.private-class-success p {

    margin: 0;

    color: #777777;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   SUCCESS ANIMATIONS
========================================================= */

@keyframes private-class-success-pop {

    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    70% {
        transform: scale(1.08);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }

}


@keyframes private-class-check-draw {

    from {
        opacity: 0;

        transform:
            rotate(45deg)
            translate(-2px, -3px);
    }

    to {
        opacity: 1;

        transform:
            rotate(45deg)
            translate(-2px, -3px);
    }

}