/* BlueberryVariants - Notify button + modal */

.bbv-notify-wrapper {
    display: block;
    margin: 0;
    width: auto;
    text-align: center;
    box-sizing: border-box;
}
.bbv-notify-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #000;
    color: #fff;
    border: 0;
    border-radius: 0;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
    transition: opacity .15s;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    box-sizing: border-box;
    text-transform: uppercase;
}
.bbv-notify-hint {
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.4;
    color: #666;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}
.bbv-notify-btn:hover,
.bbv-notify-btn:focus {
    background: #222;
    color: #fff;
    opacity: .95;
}
.bbv-notify-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}
.bbv-notify-btn .material-icons {
    font-size: 16px;
    flex-shrink: 0;
}
.bbv-notify-feedback {
    margin-top: 8px;
    font-size: 13px;
}
.bbv-notify-feedback.bbv-success { color: #1a7e34; }
.bbv-notify-feedback.bbv-error   { color: #b00020; }
.bbv-notify-btn:hover,
.bbv-notify-btn:focus {
    background: #222;
    color: #fff;
    opacity: .95;
}
.bbv-notify-btn:disabled { opacity: .5; cursor: not-allowed; }
.bbv-notify-btn .material-icons { font-size: 20px; }

.bbv-notify-feedback {
    margin-top: 8px;
    font-size: 14px;
}
.bbv-notify-feedback.bbv-success { color: #1a7e34; }
.bbv-notify-feedback.bbv-error   { color: #b00020; }

/* Modal */
.bbv-notify-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
}
.bbv-notify-modal.bbv-open { display: block; }
.bbv-notify-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.5);
}
.bbv-notify-modal__dialog {
    position: relative;
    max-width: 480px;
    margin: 8vh auto;
    background: #fff;
    padding: 28px 28px 24px;
    box-shadow: 0 12px 32px rgba(0,0,0,.25);
    border-radius: 0;
}
.bbv-notify-modal__close {
    position: absolute;
    top: 8px;
    right: 12px;
    border: 0;
    background: transparent;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #555;
}
.bbv-notify-modal__close:hover { color: #000; }
.bbv-notify-modal__title {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 700;
}
.bbv-notify-modal__desc {
    margin: 0 0 16px;
    color: #555;
    font-size: 14px;
}
.bbv-notify-modal__form .form-group { margin-bottom: 12px; }
.bbv-notify-modal__form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: #333;
}
.bbv-notify-modal__form .form-control {
    width: 100%;
    padding: 10px 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 0;
}
.bbv-notify-modal__form .form-control:focus {
    border-color: #000;
    outline: 0;
}
.bbv-notify-modal__feedback {
    min-height: 1.2em;
    margin: 8px 0;
    font-size: 14px;
}
.bbv-notify-modal__feedback.bbv-success { color: #1a7e34; }
.bbv-notify-modal__feedback.bbv-error   { color: #b00020; }
.bbv-notify-modal__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}
.bbv-notify-modal__actions .btn {
    border-radius: 0;
    padding: 10px 18px;
    font-weight: 600;
    cursor: pointer;
}
.bbv-notify-modal__actions .btn-secondary {
    background: #eee;
    border: 0;
    color: #333;
}
.bbv-notify-modal__actions .btn-primary {
    background: #000;
    border: 0;
    color: #fff;
}
.bbv-notify-modal__actions .btn-primary:disabled { opacity: .5; cursor: not-allowed; }

@media (max-width: 600px) {
    .bbv-notify-modal__dialog { margin: 4vh 12px; padding: 22px 20px; }
}
