#israfete-cn-overlay[hidden],
#israfete-cn-reopen[hidden],
#israfete-cn-more[hidden] {
    display: none !important;
}
.israfete-cn-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: transparent;
    box-sizing: border-box;
}
.israfete-cn-dialog {
    position: relative;
    pointer-events: auto;
    width: min(560px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 34px 30px 26px;
    border-radius: 14px;
    background: #fff;
    color: #292929;
    box-shadow: 0 18px 60px rgba(0,0,0,.25);
    text-align: right;
    font-family: Arial, Helvetica, sans-serif;
}
.israfete-cn-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 0 14px auto;
    border-radius: 50%;
    background: #f1f3f5;
    color: #333;
    font-size: 22px;
    font-weight: 700;
}
.israfete-cn-dialog h2 {
    margin: 0 0 14px;
    color: #222;
    font-size: 23px;
    line-height: 1.3;
}
.israfete-cn-dialog p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.7;
}
.israfete-cn-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.israfete-cn-button,
.israfete-cn-settings {
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid #315b8a;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
}
.israfete-cn-accept {
    background: #315b8a;
    color: #fff;
}
.israfete-cn-reject {
    background: #fff;
    color: #315b8a;
}
.israfete-cn-settings {
    background: #f4f5f6;
    border-color: #d7dbe0;
    color: #333;
}
.israfete-cn-button:hover,
.israfete-cn-settings:hover {
    filter: brightness(.96);
}
.israfete-cn-policy,
.israfete-cn-settings-link {
    display: inline-block;
    margin-top: 16px;
    color: #315b8a;
    text-decoration: underline;
    font-size: 13px;
}
.israfete-cn-reopen {
    position: fixed;
    z-index: 999990;
    bottom: 14px;
    left: 14px;
    padding: 9px 13px;
    border: 1px solid #d7dbe0;
    border-radius: 20px;
    background: #fff;
    color: #315b8a;
    box-shadow: 0 2px 12px rgba(0,0,0,.12);
    cursor: pointer;
    font: 13px Arial, Helvetica, sans-serif;
}
body.israfete-cn-open {
    overflow: hidden;
}
@media (max-width: 520px) {
    .israfete-cn-overlay {
        padding: 14px;
    }
    .israfete-cn-dialog {
        padding: 30px 20px 22px;
        max-height: calc(100vh - 28px);
    }
    .israfete-cn-dialog h2 {
        font-size: 20px;
    }
    .israfete-cn-actions {
        flex-direction: column;
    }
    .israfete-cn-button,
    .israfete-cn-settings {
        width: 100%;
    }
}
