.hprm-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 1.5rem;
    border-radius: 0.5rem;
    background-color: #d00;
    animation: fadeInUp 0.8s ease-out forwards;
}

.hprm-panel.hprm-panel--fade-out {
    animation: fadeOutUp 0.8s ease-out forwards;
    animation-delay: 1s;
}

.hprm-panel h2,
.hprm-panel p {
    width: 100%;
    margin: 0 0 0.5rem;
    color: #FFF;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-3rem);
    }
}

@keyframes hprm-reverse-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.hprm-reverse-spin {
    animation: hprm-reverse-spin 1.6s linear infinite;
}

.hprm-loading {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem 0;
}

@media screen and (min-width: 768px) {
    .hprm-loading {
        padding: 3rem 0;
    }
}

@media screen and (min-width: 1200px) {
    .hprm-loading {
        padding: 5rem 0;
    }
}

.hprm-modal {
    display: none;
}

.hprm-modal--active {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
}

.hprm-modal--active .hprm-modal__inner {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 600px;
}

.hprm-panel .hprm-panel-close-btn {
    display: none;
}

.hprm-modal .hprm-panel .hprm-panel-close-btn {
    display: block;
}

.hprm-modal__close {
    display: none;
}

.hprm-modal .hprm-modal__close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.2rem;
    border-radius: 50%;
    border: none;
    background-color: #D00;
    color: #FFF;
    cursor: pointer;
    outline: none;
    box-shadow: none;
}

.hprm-modal .hprm-modal__close .svg-icon {
    width: 1.5rem;
    height: 1.5rem;
}

.hprm-modal .hprm-panel h2 {
    padding-right: 2rem;
}

