/* Modal Backdrop Overlay */ .overlay { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; background-color: rgba(15, 23, 42, 0.7); padding: 1rem; backdrop-filter: blur(6px); } /* Modal Dialog Box */ .dialog { width: 100%; max-width: 32rem; border-radius: 0.875rem; background-color: #1e293b; border: 1px solid #334155; padding: 1.5rem; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3); } /* Modal Header */ .header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.25rem; } .title { font-size: 1.25rem; font-weight: 700; color: #f8fafc; margin: 0; } .btnClose { background: none; border: none; font-size: 1.25rem; color: #94a3b8; cursor: pointer; transition: color 0.2s; } .btnClose:hover { color: #f8fafc; } /* Form Layout */ .form { display: flex; flex-direction: column; gap: 1rem; } .gridTwo { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; } .field { display: flex; flex-direction: column; } .label { display: block; font-size: 0.8125rem; font-weight: 600; color: #cbd5e1; margin-bottom: 0.375rem; } .input, .select, .textarea { width: 100%; padding: 0.625rem 0.875rem; font-size: 0.875rem; border-radius: 0.5rem; border: 1px solid #334155; background-color: #0f172a; color: #f8fafc; outline: none; box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.2s; } .input:focus, .select:focus, .textarea:focus { border-color: #3b82f6; box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3); } /* Footer Buttons */ .footerActions { display: flex; justify-content: flex-end; gap: 0.75rem; padding-top: 0.5rem; } .btnCancel { padding: 0.5rem 1rem; font-size: 0.875rem; border-radius: 0.5rem; border: 1px solid #334155; background: #0f172a; color: #cbd5e1; font-weight: 600; cursor: pointer; transition: background-color 0.2s; } .btnCancel:hover { background-color: #334155; color: #f8fafc; } .btnSave { padding: 0.5rem 1.25rem; font-size: 0.875rem; border-radius: 0.5rem; border: none; background-color: #2563eb; color: #ffffff; font-weight: 600; cursor: pointer; transition: background-color 0.2s; box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3); } .btnSave:hover { background-color: #1d4ed8; }