.failure-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000001F;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.failure-modal-content {
    background-color: #FFFFFF;
    padding: 24px;
    border-radius: 8px;
    border: 2px solid #F04040;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.payment-failed-exhoration {
    width: 40px;
    height: auto;
    margin-bottom: 16px;
}

.failure-title {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 32px;
}

.failure-list {
    list-style: none;
    padding: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.failed-list-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
}

.payment-failed-check {
    width: 20px;
    height: 20px;
}

.failure-point {
    font-weight: 500;
    font-size: 17px;
    line-height: 100%;
}

.payment-modal-button {
    background-color: #F6887B;
    font-weight: 500;
    font-size: 18px;
    line-height: 100%;
    border: none;
    padding: 16px 20px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 320px;
}

.payment-modal-button:hover {
    background-color: #E06A5F;
}