/**
 * Modal overlay for global storefront cookie / KO messages (.page.messages).
 */

.hta-cookie-msg-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-sizing: border-box;
    font-family: "Roboto", Helvetica, Arial, sans-serif;
}

.hta-cookie-msg-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(18, 38, 58, 0.48);
    backdrop-filter: blur(3px);
}

.hta-cookie-msg-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 440px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(15, 40, 70, 0.25);
    padding: 32px 28px 28px;
    box-sizing: border-box;
    text-align: center;
    border-top: 4px solid #1e508c;
}

.hta-cookie-msg-overlay--error .hta-cookie-msg-card {
    border-top-color: #c73137;
}

.hta-cookie-msg-overlay--success .hta-cookie-msg-card {
    border-top-color: #1e8a5e;
}

.hta-cookie-msg-overlay--warning .hta-cookie-msg-card {
    border-top-color: #b8860b;
}

.hta-cookie-msg-overlay--notice .hta-cookie-msg-card {
    border-top-color: #1e508c;
}

.hta-cookie-msg-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 10px;
    background: #f0f4f8;
    color: #4a5a6a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s, color 0.2s;
}

.hta-cookie-msg-close:hover {
    background: #e2eaf2;
    color: #1a2a3a;
}

.hta-cookie-msg-icon {
    margin: 0 auto 16px;
    display: flex;
    justify-content: center;
}

.hta-cookie-msg-heading {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: #1a2332;
    line-height: 1.25;
}

.hta-cookie-msg-body {
    font-size: 15px;
    line-height: 1.65;
    color: #4a5563;
    text-align: left;
}

.hta-cookie-msg-body a {
    color: #1e508c;
    font-weight: 500;
    word-break: break-word;
}
