/**
 * modals.css — Go Fire (fAIre)
 * Modal system: backdrop, box, inputs, buttons.
 * Includes delete-project modal and new-project modal.
 * Depends on: layout.css
 */

/* ── New Project Modal ── */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-backdrop.open { display: flex; }
/* When any modal is open, kill the bottom aurora so it doesn't
   bleed through under a translucent modal box. Toggled via
   body.gf-modal-open from a MutationObserver in JS. */
body.gf-modal-open .chat-area::before,
body.gf-modal-open .chat-area::after { opacity: 0 !important; animation: none !important; }
.modal-box {
    background: #161616;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 24px;
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.modal-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #e8e8e8;
}
.modal-input {
    background: #0d0d0d;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    color: #e8e8e8;
    font-size: 13px;
    padding: 9px 12px;
    outline: none;
    width: 100%;
}
.modal-input:focus { border-color: #ff6b2b66; }
.modal-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.modal-btn {
    padding: 7px 16px;
    border-radius: 6px;
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: 0.5px;
}
.modal-btn.cancel { background: #2a2a2a; color: #999; }
.modal-btn.confirm { background: #ff6b2b; color: #fff; }
.modal-btn.confirm:disabled { opacity: 0.5; cursor: not-allowed; }
.modal-btn.danger { background: #c0392b; color: #fff; }
.modal-btn.danger:disabled { opacity: 0.5; cursor: not-allowed; }
.modal-warning {
    font-size: 12px;
    color: #888;
    line-height: 1.5;
}
.modal-warning strong { color: #e8e8e8; }

