/* --- MODAL OVERLAY --- */ .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px); z-index: 1000; justify-content: center; align-items: center; } /* --- MODAL CONTAINER --- */ .modal-box { background: #151a1e; border: 1px solid #f6465d; border-radius: 16px; padding: 25px 20px; max-width: 300px; width: 85%; text-align: center; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6); animation: popIn 0.3s cubic-bezier(0.18, 0.89, 0.32, 1.28); } /* Modal Entrance Animation */ @keyframes popIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } } /* --- MODAL CONTENT --- */ .modal-icon { margin-bottom: 10px; display: block; margin-left: auto; margin-right: auto; filter: drop-shadow(0 0 10px rgba(245, 158, 11, 0.3)); } .modal-title { color: #f6465d; font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.5px; } .modal-text { color: #9ca3af; font-size: 0.9rem; line-height: 1.5; margin-bottom: 20px; } /* --- MODAL ACTION BUTTONS --- */ .modal-actions { display: grid; grid-template-columns: 1fr; gap: 10px; } .btn-cancel { background: transparent; border: 1px solid #2b3139; color: #6b7280; cursor: pointer; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 0.9rem; transition: all 0.2s; } .btn-cancel:hover { background: #2b3139; color: #fff; } .btn-delete { background: rgba(246, 70, 93, 0.1); border: 1px solid #f6465d; color: #f6465d; display: flex; align-items: center; justify-content: center; text-decoration: none; padding: 12px; border-radius: 8px; font-weight: 700; font-size: 0.9rem; transition: all 0.2s; } .btn-delete:hover { background: #f6465d; color: #fff; box-shadow: 0 4px 15px rgba(246, 70, 93, 0.4); } .btn-delete-disabled { background: #2b3139; border-color: #2b3139; color: #6b7280; cursor: not-allowed; margin-top: 0; width: 100%; transition: all 0.2s; box-shadow: none; } .btn-delete-disabled.is-enabled { background: #f6465d; border-color: #f6465d; color: #fff; cursor: pointer; box-shadow: 0 4px 15px rgba(246, 70, 93, 0.4); } .delete-confirm-input { width: 100%; box-sizing: border-box; margin-bottom: 15px; padding: 10px; border-radius: 8px; border: 1px solid #f6465d; background: #0d1117; color: #fff; text-align: center; font-weight: bold; letter-spacing: 1px; } .danger-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 15px; } @media (max-width: 480px) { .danger-actions { grid-template-columns: 1fr; } } .input-with-toggle { position: relative; display: flex; align-items: center; width: 100%; } .input-with-toggle input { width: 100%; padding-right: 40px; } .toggle-visibility-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #6b7280; cursor: pointer; padding: 0; margin: 0; height: 16px; width: 16px; display: inline-flex; align-items: center; justify-content: center; line-height: 0; } .toggle-visibility-btn svg { display: block; width: 16px; height: 16px; } /* --- JOURNAL MODE --- */ .journal-mode-switcher { display: flex; background: var(--bg-input, #0d1117); padding: 4px; border-radius: 10px; border: 1px solid var(--border, #2b3139); gap: 4px; } .journal-mode-switcher input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; } .journal-mode-switcher label { flex: 1; text-align: center; padding: 10px 8px; border-radius: 8px; font-weight: 700; font-size: 0.85rem; color: #6b7280; cursor: pointer; transition: 0.2s; margin: 0; } .journal-mode-switcher input[type="radio"]:checked + label { background: var(--accent-green, #0ecb81); color: #000; } .card-section { margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border, #2b3139); } .card-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; } .card-label { display: block; font-weight: 700; font-size: 0.85rem; color: #9ca3af; margin: 2px 0 8px; } .card-notice { font-size: 0.85rem; color: #6b7280; margin: 0; padding: 11px 14px; background: rgba(255, 255, 255, 0.03); border-radius: 8px; border: 1px dashed var(--border, #2b3139); } /* --- CONNECTION CARDS --- */ .card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; } .card-head h2 { margin: 0; } .conn-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; background: rgba(255, 255, 255, 0.02); padding: 12px 14px; border-radius: 8px; border: 1px solid var(--border, #2b3139); } .conn-meta { flex: 1; min-width: 0; font-size: 0.85rem; color: #9ca3af; line-height: 1.5; } .conn-meta strong { color: var(--text-main, #eaecef); overflow-wrap: anywhere; } .btn-sm { width: auto; padding: 7px 14px; border-radius: 6px; font-family: inherit; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; cursor: pointer; transition: all 0.2s ease; } .btn-sm-red { background: transparent; border: 1px solid rgba(246, 70, 93, 0.3); color: var(--accent-red, #f6465d); } .btn-sm-red:hover { background: rgba(246, 70, 93, 0.12); border-color: var(--accent-red, #f6465d); box-shadow: none; } /* Inline icons */ .icon-inline-sm, .icon-inline-md, .icon-inline-lg, .icon-inline-link { vertical-align: middle; } .icon-inline-sm { margin-right: 4px; } .icon-inline-md { margin-right: 6px; } .icon-inline-lg { margin-right: 8px; } .icon-inline-link { margin-left: 2px; } /* Muted descriptive text */ .card-intro, .card-desc, .section-note, .danger-desc { color: #848e9c; } .card-intro { text-align: center; font-size: 0.9rem; } .card-desc { font-size: 0.9rem; margin-bottom: 15px; } .section-note { font-size: 0.85rem; margin-bottom: 12px; } .danger-desc { font-size: 0.85rem; } /* Card titles (s*/ .card h2 { color: var(--accent-green); } /* Spacing and button helpers */ .mt-15 { margin-top: 15px; } .mt-10-block { margin-top: 10px; display: block; } .btn-block { text-decoration: none; display: block; text-align: center; } /* Forms */ .form-plain, .modal-form { margin: 0; } .modal-form { width: 100%; } .modal-btn-delete { margin-top: 0; width: 100%; } /* Danger Zone card */ .card-danger { border-color: var(--accent-red); background: rgba(246, 70, 93, 0.05); } .card .danger-title { color: var(--accent-red); margin-top: 0; } /* Label + "Get Key" link row */ .label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; } .label-row .label-compact { font-size: 0.85rem; margin: 0; } .get-key-link { font-size: 0.85rem; text-decoration: none; }