body.stop-scrolling {
    height: 100%;
    overflow: hidden;
}

.sweet-overlay {
    background-color: rgba(0, 0, 0, 0.4);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: none;
    z-index: 10000;
}

.sweet-alert {
    background-color: white;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    width: 478px;
    padding: 17px;
    border-radius: 5px;
    text-align: center;
    position: fixed;
    left: 50%;
    top: 50%;
    margin-left: -239px;
    margin-top: -200px;
    overflow: hidden;
    display: none;
    z-index: 99999;
}

@media all and (max-width: 540px) {
    .sweet-alert {
        width: auto;
        margin: 0 15px;
        left: auto;
        right: auto;
    }
}

.sweet-alert h2 {
    color: #575757;
    font-size: 30px;
    font-weight: 600;
    margin: 25px 0;
}

.sweet-alert p {
    color: #797979;
    font-size: 16px;
    font-weight: 300;
    margin: 0;
}

.sweet-alert fieldset {
    border: none;
    position: relative;
}

.sweet-alert .sa-error-container {
    background-color: #f1f1f1;
    margin: 0 -17px;
    overflow: hidden;
    padding: 0 10px;
    max-height: 0;
    transition: padding 0.25s, max-height 0.25s;
}

.sweet-alert .sa-error-container.show {
    padding: 10px 0;
    max-height: 100px;
}

.sweet-alert .sa-error-container .icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #ea7d7d;
    color: white;
    line-height: 24px;
    text-align: center;
    margin-right: 3px;
}

.sweet-alert .sa-input-error {
    position: absolute;
    top: 29px;
    right: 26px;
    width: 20px;
    height: 20px;
    opacity: 0;
    transform: scale(0.5);
    transform-origin: 50% 50%;
    transition: all 0.1s;
}

.sweet-alert .sa-input-error::before, 
.sweet-alert .sa-input-error::after {
    content: "";
    width: 20px;
    height: 6px;
    background-color: #f06e57;
    border-radius: 3px;
    position: absolute;
    top: 50%;
    margin-top: -4px;
    left: 50%;
    margin-left: -9px;
}

.sweet-alert .sa-input-error::before {
    transform: rotate(-45deg);
}

.sweet-alert .sa-input-error::after {
    transform: rotate(45deg);
}

.sweet-alert .sa-input-error.show {
    opacity: 1;
    transform: scale(1);
}

.sweet-alert input {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #d7d7d7;
    height: 43px;
    margin: 10px 0 17px;
    font-size: 18px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06);
    padding: 0 12px;
    display: none;
    transition: all 0.3s;
}

.sweet-alert input:focus {
    outline: none;
    box-shadow: 0 0 3px #c4e6f5;
    border: 1px solid #b4dbed;
}

.sweet-alert.show-input input {
    display: block;
}

.sweet-alert button {
    background-color: #8CD4F5;
    color: white;
    border: none;
    font-size: 17px;
    font-weight: 500;
    border-radius: 5px;
    padding: 10px 32px;
    margin: 26px 5px 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.sweet-alert button:focus {
    outline: none;
    box-shadow: 0 0 2px rgba(128, 179, 235, 0.5);
}

.sweet-alert button:hover {
    background-color: #7ecff4;
}

.sweet-alert button:active {
    background-color: #5dc2f1;
}

.sweet-alert button.cancel {
    background-color: #C1C1C1;
}

.sweet-alert button.cancel:hover {
    background-color: #b9b9b9;
}

.sweet-alert button.cancel:active {
    background-color: #a8a8a8;
}

.sweet-alert button[disabled] {
    opacity: 0.6;
    cursor: default;
}

.sweet-alert .sa-icon {
    width: 80px;
    height: 80px;
    border: 4px solid gray;
    border-radius: 50%;
    margin: 20px auto;
    padding: 0;
    position: relative;
}

.sweet-alert .sa-icon.sa-error {
    border-color: #F27474;
}

.sweet-alert .sa-icon.sa-warning {
    border-color: #F8BB86;
}

.sweet-alert .sa-icon.sa-info {
    border-color: #C9DAE1;
}

.sweet-alert .sa-icon.sa-success {
    border-color: #A5DC86;
}

/* Animations */
@keyframes showSweetAlert {
    0% { transform: scale(0.7); }
    45% { transform: scale(1.05); }
    80% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

@keyframes hideSweetAlert {
    0% { transform: scale(1); }
    100% { transform: scale(0.5); }
}

@keyframes slideFromTop {
    0% { top: 0%; }
    100% { top: 50%; }
}

@keyframes slideToTop {
    0% { top: 50%; }
    100% { top: 0%; }
}

@keyframes slideFromBottom {
    0% { top: 70%; }
    100% { top: 50%; }
}

@keyframes slideToBottom {
    0% { top: 50%; }
    100% { top: 70%; }
}

.showSweetAlert[data-animation="pop"] {
    animation: showSweetAlert 0.3s;
}

.showSweetAlert[data-animation="slide-from-top"] {
    animation: slideFromTop 0.3s;
}

.showSweetAlert[data-animation="slide-from-bottom"] {
    animation: slideFromBottom 0.3s;
}

.hideSweetAlert[data-animation="pop"] {
    animation: hideSweetAlert 0.2s;
}

.hideSweetAlert[data-animation="slide-from-top"] {
    animation: slideToTop 0.4s;
}

.hideSweetAlert[data-animation="slide-from-bottom"] {
    animation: slideToBottom 0.3s;
}
