/* ==========================================
   VERTICAL CONTACT BUTTON
========================================== */
.enroll-button {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1040;
    border: 0;
    border-radius: 0 7px 7px 0;
    background: hsl(var(--main)) !important;
    color: #fff;
    padding: 16px 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
    writing-mode: vertical-rl;
    cursor: pointer;
    box-shadow: 3px 3px 15px rgba(0, 0, 0, .18);
    transition: background .2s ease, padding .2s ease;
}

.enroll-button:hover {
    background: #07377e;
    padding-left: 13px;
    padding-right: 13px;
}

/* ==========================================
   DRAWER
========================================== */
.enroll-drawer {
    position: fixed;
    left: 0;
    top: 50%;
    width: 50%;
    max-width: 380px;
    min-width: 280px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 0 12px 12px 0;
    box-shadow: 8px 0 35px rgba(0, 0, 0, .18);
    z-index: 1045;

    /* Hidden position */
    transform: translate(-100%, -50%);

    /* Smooth animation */
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    visibility: hidden;
}

/* ==========================================
   OPEN DRAWER
========================================== */
.enroll-drawer.active {
    transform: translate(0, -50%);
    visibility: visible;
}

/* ==========================================
   DRAWER HEADER
========================================== */
.contact-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
}

.contact-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.contact-subtitle {
    font-size: 13px;
    color: #6c757d;
}


/* ==========================================
   BACKDROP
========================================== */

.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease, visibility .35s ease;
}

.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {
    .enroll-drawer {
        width: 80%;
        min-width: 0;
        max-height: 90vh;
    }
}

#contactDrawer .common-input{
    max-width: unset !important;
    min-height: 40px;
    font-size: 13px;
    padding: 10px 16px;
}

#contactDrawer .g-recaptcha {
    transform: scale(0.8);
    transform-origin: 0 0;
    -webkit-transform: scale(0.8);
    -webkit-transform-origin: 0 0;
    margin-left: 30px;
}

#contactDrawer .recaptcha-error {
    margin-top: -15px !important;
    font-size: 13px;
}

@media screen and (max-width: 500px) {
    #contactDrawer .g-recaptcha {
        transform: scale(0.77);
        transform-origin: 0 0;
        -webkit-transform: scale(0.77);
        -webkit-transform-origin: 0 0;
        margin-left: unset;
    }
}
