/* module_block_promo_activation */

.promo-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
}

.promo-modal-overlay.promo-modal-open {
    display: flex;
}

.promo-modal-box {
    position: relative;
    width: 100%;
    max-width: 360px;
    margin: 20px;
    padding: 26px 24px 24px;
    border-radius: 16px;

    background: var(--sidebar-block, #17181c);
    color: var(--text-color, #ffffff);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);

    transform: scale(.94);
    opacity: 0;
    transition: transform .2s ease, opacity .2s ease;
}

.promo-modal-overlay.promo-modal-open .promo-modal-box {
    transform: scale(1);
    opacity: 1;
}

.promo-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
}

.promo-modal-subtitle {
    font-size: 13px;
    opacity: .65;
    margin-bottom: 18px;
    line-height: 1.4;
}

.promo-modal-field {
    margin-bottom: 14px;
}

.promo-modal-input {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .15s ease;
}

.promo-modal-input:focus {
    border-color: #229ED9;
}

.promo-modal-message {
    min-height: 18px;
    font-size: 13px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.promo-modal-message.promo-msg-success {
    color: #35c46a;
}

.promo-modal-message.promo-msg-error {
    color: #e5484d;
}

.promo-modal-btn {
    width: 100%;
    padding: 11px 14px;
    border: none;
    border-radius: 10px;
    background: #229ED9;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s ease, opacity .2s ease;
}

.promo-modal-btn:hover {
    background: #1c86ba;
}

.promo-modal-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.promo-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    color: inherit;
    opacity: .5;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
}

.promo-modal-close:hover {
    opacity: 1;
}
