
/* ========================================
   Success Modal
   ======================================== */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px;
}

.success-modal.is-visible {
    opacity: 1;
    visibility: visible;
}

.success-modal__backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 66, 129, 0.85); /* Deep blue overlay */
    backdrop-filter: blur(8px);
    z-index: -1;
}

.success-modal__content {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    padding: 60px 40px;
    border-radius: 4px; /* Slightly softer corners but still structured */
    text-align: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(202, 171, 94, 0.3); /* Subtle gold border */
    transform: translateY(20px) scale(0.95);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.success-modal.is-visible .success-modal__content {
    transform: translateY(0) scale(1);
}

.success-modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: #0f4281;
    cursor: pointer;
    transition: transform 0.3s ease;
    opacity: 0.6;
}

.success-modal__close:hover {
    transform: rotate(90deg);
    opacity: 1;
}

.success-modal__icon {
    margin: 0 auto 24px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-modal__icon svg {
    width: 100%;
    height: 100%;
}

.success-modal__title {
    font-family: var(--font-heading);
    font-size: 32px;
    color: #0f4281;
    margin-bottom: 16px;
    line-height: 1.2;
}

.success-modal__message {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: #5a616a;
    margin-bottom: 32px;
}

.success-modal__button {
    display: inline-block;
    background: #0f4281;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 16px 32px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.success-modal__button:hover {
    background: #0a2e5c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 66, 129, 0.2);
}
