:root {
    --lightgray: #efefef;
    --blue: steelblue;
    --white: #ffffff;
    --black: #121212;
    --default: #ffeb3b;
    --green: #9ccc65;
    --orange: #ffc107;
    --blue: #00bcd4;
    --dark-orange: #ff5722;
    --gray: #b0bec5;
    --purple: #b39ddb;
    --light-purple: #f06292;
    --brown: #8d6e63;
    --water: #4db6a8;
    --red: #e1013b;
}
hr {
    background: #777;
}
.xsoverlay {
    width: 100%;
    height: 100%;
    position: sticky;
    background: rgba(0, 0, 0, 0.4);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}
.xs-btn-container {
    width: 100%;
    text-align: center;
    z-index: 50;
}
.xsalert-center {
    height: fit-content;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: var(--red);
    transition: all 0.4s ease-in;
    margin: auto;
    color: var(--white);
    border-radius: 12px;
    align-content: space-around;
    flex-wrap: wrap;
    align-items: stretch;
}
.xsalert-top-left {
    height: fit-content;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: var(--red);
    transition: all 0.4s ease-in;
    margin: auto;
    color: var(--white);
    border-radius: 12px;
    align-content: space-around;
    flex-wrap: wrap;
    align-items: stretch;
    margin-top: 20px;
    margin-left: 20px;
    -webkit-transition: all 0.4s ease-in;
    -moz-transition: all 0.4s ease-in;
    -ms-transition: all 0.4s ease-in;
    -o-transition: all 0.4s ease-in;
}
.xsalert-top-right {
    height: fit-content;
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: var(--red);
    transition: all 0.4s ease-in;
    margin: auto;
    color: var(--white);
    border-radius: 12px;
    align-content: space-around;
    flex-wrap: wrap;
    align-items: stretch;
    margin-top: 20px;
    margin-right: 20px;
}
.xsalert-bottom-left {
    height: fit-content;
    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: var(--red);
    transition: all 0.4s ease-in;
    margin: auto;
    color: var(--white);
    border-radius: 12px;
    align-content: space-around;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 20px;
    margin-left: 20px;
}
.xsalert-bottom-right {
    height: fit-content;
    position: fixed;
    bottom: 0;
    right: 0;
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: var(--red);
    transition: all 0.4s ease-in;
    margin: auto;
    color: var(--white);
    border-radius: 12px;
    align-content: space-around;
    flex-wrap: wrap;
    align-items: stretch;
    margin-bottom: 20px;
    right: 20px;
}
.xs-title {
    font-size: 1.5em;
    width: 100%;
    font-weight: 900;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
}
.xs-message {
    font-size: 1.5em;
    width: 100%;
    font-weight: 100;
    padding: 10px;
    margin: auto;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    color: #ffffff;
}
.xs-footer {
    width: 100%;
    font-weight: 400;
    padding: 10px;
    margin: auto;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    margin-top: 18px;
}
.xs-footer a {
    color: #ffffff;
}
.xs-footer a:hover {
    text-decoration: underline;
}
.xs-ok-btn {
    font-family: Roboto, Helvetica, Arial, sans-serif !important;
    cursor: pointer;
    background: #121212;
    border: none;
    outline: none;
    font-size: inherit;
    font-family: inherit;
    color: var(--white);
    padding: 10px 10px;
    border-radius: 8px;
    min-width: 6.157635467980295vw;
    transition: 0.3s ease;
    margin-top: 20px;
    margin-right: 5px;
}
.xs-ok-btn:hover {
    background: #ffffff;
    color: var(--light-purple);
}
.xs-ok-btn:focus {
    border: 3px solid #aacef3;
}
.xs-cancel-btn {
    font-family: Roboto, Helvetica, Arial, sans-serif !important;
    cursor: pointer;
    background: var(--lightgray);
    border: none;
    outline: none;
    font-size: inherit;
    font-family: inherit;
    color: var(--black);
    padding: 10px 10px;
    border-radius: 8px;
    min-width: 6.157635467980295vw;
    margin-top: 20px;
}
.xs-cancel-btn:hover {
    background: #121212;
    color: #f1f1f1;
}
.xs-third-btn {
    font-family: Roboto, Helvetica, Arial, sans-serif !important;
    cursor: pointer;
    background: var(--orange);
    border: none;
    outline: none;
    font-size: inherit;
    font-family: inherit;
    color: #121221;
    padding: 10px 10px;
    border-radius: 8px;
    min-width: 6.157635467980295vw;
    margin-top: 20px;
    margin-right: 8px;
}
.xs-third-btn:hover {
    background: #121212;
    color: #f1f1f1;
}
.xs-icon {
    width: 100%;
    text-align: center;
}
.xs-icon img {
    width: 8.839779005524862vh;
}
.xs-image img {
    width: 100%;
    object-fit: cover;
    margin-top: 10px;
    border-radius: 10px;
}
.xs-input {
    width: 92%;
    border: 1px solid #121212;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    background: #f9f0a3;
}
.xs-textarea {
    width: 92%;
    border: 1px solid #121212;
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 14px;
    height: 8.839779005524862vh;
    white-space: pre-wrap;
}
.xs-select {
    color: #121212;
    width: 90%;
    height: 38px;
    border-radius: 6px;
}
.xs-progress-bar {
    background: #f9fafb;
    height: 7px;
    width: 98%;
    border-radius: 99px;
    bottom: 4px;
    position: fixed;
}
.xs-progress-icon {
    width: 40px;
    margin-bottom: 10px;
}
.rotate-scale-up-vertical {
    animation: rotate-scale-up-vertical 0.4s linear both;
}
@keyframes rotate-scale-up-vertical {
    0% {
        transform: scale(1) rotateY(0);
    }
    50% {
        transform: scale(2) rotateY(180deg);
    }
    100% {
        transform: scale(1) rotateY(360deg);
        -webkit-transform: scale(1) rotateY(360deg);
        -moz-transform: scale(1) rotateY(360deg);
        -ms-transform: scale(1) rotateY(360deg);
        -o-transform: scale(1) rotateY(360deg);
    }
}
.closing-anim {
    animation: closing-anim 0.2s ease both;
}
@keyframes closing-anim {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@media (max-width: 700px) {
    .popup-content {
        width: 80% !important;
    }
}
