/**
 * ============================================
 * MODALS & POPUPS
 * ============================================
 * 
 * Modal, popup, and overlay styles
 */

/* ============================================
   BASE MODAL
   ============================================ */

.uk-modal {
    background-color: var(--bg-transparent);
    padding: 365px 3px;
}

/* ============================================
   SETTINGS POPUP
   ============================================ */

.settings-popup {
    position: fixed;
    height: auto;
    left: 0;
    right: 0;
    bottom: -100%;
    z-index: var(--z-modal);
    transition: all var(--transition-slow);
    padding: 1px;
}

.settings-popup::before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

body.show-settings-modal .settings-popup {
    bottom: 0;
    display: block !important;
}

body.show-settings-modal .settings-popup .overlay {
    visibility: visible !important;
    opacity: 1 !important;
}

.settings-popup {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 90%;
    padding: 10px !important;
    height: fit-content;
    z-index: var(--z-modal);
    background-color: var(--text-light) !important;
    color: var(--text-light) !important;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: var(--radius-lg);
}

.settings-popup .modal-contents {
    padding: 20px 0;
}

.settings-popup.show {
    display: block;
}

.settings-popup.hide {
    display: none;
}

.settings-popup .overlay {
    position: fixed;
    content: '';
    left: 0;
    bottom: 0;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
}

/* ============================================
   PROFILE POPUP
   ============================================ */

.profile-popup {
    bottom: -134px;
    left: 32px;
    right: 0;
    z-index: var(--z-dropdown);
}

.popup-preview {
    width: 26%;
    padding-left: 10px !important;
}

.popup-img {
    border-radius: var(--radius-lg) !important;
}

/* ============================================
   PROFILE SWITCH POPUP
   ============================================ */

#showUsers,
#AddProfile,
#delete-popup {
    width: 100% !important;
}

@media (max-width: 480px) {
    #showUsers,
    #AddProfile,
    #delete-popup {
        width: 90% !important;
        margin: auto !important;
    }
}

.profile {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile > * {
    width: 50%;
}

/* ============================================
   LOGIN POPUP
   ============================================ */

.login {
    width: 400px;
    border-radius: var(--radius-card);
}

.login > * {
    color: var(--text-light);
}

.login-container {
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    background-image: url("../images/Banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* ============================================
   IFRAME MODAL
   ============================================ */

#iframemodal {
    z-index: 99999;
}

/* ============================================
   DELETE POPUP
   ============================================ */

.delete-popup {
    width: 100%;
}

#delete-h4 {
    color: var(--text-light) !important;
}

/* ============================================
   PROMO MODAL
   ============================================ */

.promo-container {
    width: 100%;
    height: 100%;
    overflow: hidden !important;
    background-image: url("../images/Banner_blur.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
