/* Гейтът по план (10.10.2026): заключен бутон + съобщение „Това е в платения план“ + ред с плана в менюто на профила.
   JS: assets/js/core/plan.js */

/* Заключеният бутон остава кликаем (отваря съобщението), само изглежда приглушен с катинар. */
.action-buttons .btn-locked,
.export-dock .btn-locked {
    position: relative;
    opacity: .72;
    cursor: pointer;
}
.action-buttons .btn-locked .plan-lock,
.export-dock .btn-locked .plan-lock {
    margin-left: 6px;
    font-size: .8em;
    opacity: .9;
}

/* Ред с плана в менюто на профила */
.pm-plan {
    margin: 6px 14px 2px;
    padding: 6px 10px;
    border-radius: 9px;
    background: rgba(212, 165, 116, .16);
    color: #8a5a2b;
    font-size: .8rem;
    font-weight: 700;
}
.pm-plan[hidden] { display: none; }

/* Съобщението */
body.plan-dlg-open { overflow: hidden; }
.plan-dlg {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(24, 16, 10, .55);
}
.plan-box {
    position: relative;
    width: min(420px, 100%);
    padding: 26px 24px 20px;
    border-radius: 18px;
    background: #fff;
    color: #2b231d;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.plan-box h2 { margin: 12px 0 8px; font-size: 1.15rem; line-height: 1.3; }
.plan-box p { margin: 0 0 10px; font-size: .92rem; line-height: 1.5; color: #4a3d32; }
.plan-box ul { margin: 0 0 16px; padding-left: 20px; font-size: .92rem; line-height: 1.7; color: #4a3d32; }
.plan-ic {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f3e6d6;
    color: #a8743f;
    font-size: 1.1rem;
}
.plan-x {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    min-height: 0;
    border: 0;
    border-radius: 10px;
    background: #f7f1ea;
    color: #6d5a48;
    cursor: pointer;
}
.plan-foot { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.plan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 12px;
    background: #2b1f17;
    color: #fff;
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.plan-btn.ghost { background: #f3e6d6; color: #5a3d1f; }
.plan-box .plan-fine { margin: 12px 0 0; font-size: .8rem; color: #8a7866; }
