.dr-post-modal {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9999999999;
}

.dr-post-modal.dr-post-modal-show {
    opacity: 1;
    visibility: visible;
}

.dr-post-modal-content {
    background-color: #0e0e0e;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 30px 20px 60px;
    border: 1px solid #494949;
    width: 50%;
    min-width: 350px;
    min-height: 350px;
    max-width: 400px;
    max-height: 350px;
    border-radius: 35px;
    text-align: center;
}

.dr-post-modal-header-text {
    color: #c9c9c9;
    font-weight: bold;
    font-size: 25px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

.dr-post-modal-text-slide p {
    color: #b4b4b4;
    font-size: 18px;
    /*margin: 10px auto;*/
    padding: 1px;
    margin-bottom: 40px;
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

.dr-post-modal-stage-indicator {
    text-align: center;
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    margin: auto;
}

.dr-post-modal-stage-indicator span {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
}

.dr-post-modal-stage-indicator span.dr-post-modal-active {
    background-color: #2a8ee8;
}

.dr-post-modal-stage.dr-post-modal-active {
    background-color: #2a8ee8;
    transition: background-color 0.3s ease;
}

.dr-post-modal-stage.dr-post-modal-completed {
    background-color: #ddd;
}

#drPostModalHeaderText, #drPostModalBodyText {
    transition: opacity 0.3s ease;
}

.dr-post-modal-text-container {
    position: relative;
    overflow: hidden;
    height: 250px;
    padding-top: 45px;
}

.dr-post-modal-text-slide {
    position: absolute;
    width: 100%;
    transition: transform 0.5s ease;
}

.dr-post-modal-text-exit {
    transform: translateX(-100%);
}

.dr-post-modal-text-enter {
    transform: translateX(100%);
}

.dr-post-modal-stage.dr-post-modal-active:not(.dr-post-modal-completed) {
    animation: dr-post-modal-blinking 1s linear infinite;
}

.dr-post-modal-blinking .dr-post-modal-stage {
    animation: dr-post-modal-blinking 1s linear infinite;
}

@keyframes dr-post-modal-blinking {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.dr-post-modal-spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.dr-post-modal-spinner-disable {
    display: none;
}

.dr-post-modal-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border-left-color: #2a8ee8;
    animation: dr-post-modal-spin 1s linear infinite;
}

@keyframes dr-post-modal-spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
