/* Redirect Modal Styles */

#redirect-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 20px;
}

#redirect-modal-overlay.hidden {
    display: none;
}

.redirect-modal-box {
    background: #ffffff;
    border-radius: 8px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    position: relative;
}

.redirect-modal-header {
    background-color: white;
    padding: 28px 32px 20px;
    text-align: left;
}

.redirect-modal-header h3 {
    color: black;
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.01em;
}

.redirect-modal-body {
    padding: 8px 32px 12px;
    text-align: left;
}

.redirect-modal-body h5 {
    font-size: 17px;
    font-weight: 600;
    color: #222222;
    margin: 0 0 16px;
    line-height: 1.4;
}

.redirect-modal-body h5 a {
    color: #c8102e;
    text-decoration: none;
}

.redirect-modal-body h5 a:hover {
    text-decoration: underline;
}

.redirect-modal-body p {
    font-size: 15px;
    color: #444444;
    line-height: 1.6;
    margin: 0 0 24px;
}

.redirect-modal-body p a {
    color: #c8102e;
    text-decoration: none;
}

.redirect-modal-body p a:hover {
    text-decoration: underline;
}

.redirect-modal-cta {
    display: inline-block;
    background-color: #c8102e;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 28px;
    border-radius: 3px;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.redirect-modal-cta:hover {
    background-color: #a50d26;
    color: #ffffff !important;
    text-decoration: none !important;
}

body.modal-open {
    overflow: hidden;
}
