/* ========== CARDS ========== */
.dash-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; transition: all 0.2s; }
.dash-card:hover { border-color: var(--border-light); }
.card-title { font-size: 1rem; font-weight: 500; color: var(--text); margin-bottom: 16px; }
.card-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.highlight-card { background: linear-gradient(135deg, rgba(155,109,255,0.1), rgba(255,107,157,0.08)); border-color: rgba(155,109,255,0.2); }
.highlight-content { display: flex; align-items: center; gap: 20px; }
.highlight-icon { font-size: 2.5rem; }
.highlight-card h3 { color: var(--text-muted); font-size: 0.85rem; font-weight: 400; margin-bottom: 4px; }
.highlight-stat { font-family: var(--font-display); font-size: 1.6rem; color: var(--text); font-weight: 500; }
.highlight-sub { color: var(--accent); font-size: 0.85rem; margin-top: 2px; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 20px; }
.stat-card { cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px; }
.stat-card:hover { background: var(--bg-card-hover); transform: translateY(-2px); }
.stat-icon { font-size: 2rem; }
.stat-number { display: block; font-size: 1.5rem; font-weight: 600; color: var(--text); }
.stat-label { color: var(--text-muted); font-size: 0.8rem; }

/* ========== MOOD PICKER ========== */
.mood-picker { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.mood-btn { font-size: 1.5rem; padding: 8px 12px; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s; }
.mood-btn:hover { transform: scale(1.15); border-color: var(--accent); background: var(--accent-soft); }
.mood-btn.selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent-glow); }
.mood-status { font-size: 0.9rem; color: var(--text-muted); min-height: 24px; }
.partner-mood { margin-top: 12px; padding: 12px 16px; background: var(--bg-input); border-radius: var(--radius-sm); font-size: 0.9rem; color: var(--text-muted); display: none; }
.partner-mood.show { display: block; }
.quick-note { display: flex; gap: 10px; align-items: flex-start; }
.quick-note textarea { flex: 1; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; color: var(--text); font-family: var(--font); font-size: 0.9rem; resize: none; outline: none; transition: border-color 0.3s; }
.quick-note textarea:focus { border-color: var(--accent); }
.received-notes { margin-top: 16px; }
.received-note { background: var(--accent-soft); border-left: 3px solid var(--accent); padding: 12px 16px; margin-bottom: 10px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.received-note .note-from { font-size: 0.75rem; color: var(--accent); margin-bottom: 4px; }
.received-note .note-text { font-size: 0.9rem; color: var(--text); }
.received-note .note-time { font-size: 0.7rem; color: var(--text-dim); margin-top: 4px; }

/* ========== BUTTONS ========== */
.btn-primary { background: linear-gradient(135deg, var(--accent), #7c4dff); border: none; padding: 10px 22px; color: #fff; border-radius: var(--radius-sm); font-size: 0.9rem; cursor: pointer; font-family: var(--font); font-weight: 500; transition: all 0.2s; white-space: nowrap; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--accent-glow); }
.btn-secondary { background: var(--bg-input); border: 1px solid var(--border); padding: 10px 22px; color: var(--text-muted); border-radius: var(--radius-sm); font-size: 0.9rem; cursor: pointer; font-family: var(--font); transition: all 0.2s; }
.btn-secondary:hover { background: var(--bg-card-hover); color: var(--text); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-danger { background: var(--red-soft); border: 1px solid rgba(248,113,113,0.3); color: var(--red); padding: 6px 14px; border-radius: var(--radius-sm); font-size: 0.8rem; cursor: pointer; font-family: var(--font); transition: all 0.2s; }
.btn-danger:hover { background: var(--red); color: #fff; }

/* ========== TAB BAR ========== */
.tab-bar { display: flex; gap: 6px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 4px; }
.tab { padding: 8px 18px; background: var(--bg-input); border: 1px solid var(--border); border-radius: 20px; color: var(--text-muted); font-size: 0.85rem; cursor: pointer; font-family: var(--font); white-space: nowrap; transition: all 0.2s; }
.tab:hover { color: var(--text); border-color: var(--border-light); }
.tab.active { background: var(--accent-soft); color: var(--accent); border-color: var(--accent); }

/* ========== FORMS ========== */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 6px; font-weight: 500; }
.form-input { width: 100%; background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; color: var(--text); font-family: var(--font); font-size: 0.9rem; outline: none; transition: border-color 0.3s; }
.form-input:focus { border-color: var(--accent); }
.form-input::placeholder { color: var(--text-dim); }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 40px; }
.form-input-sm { background: var(--bg-input); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 12px; color: var(--text); font-size: 0.8rem; font-family: var(--font); outline: none; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ========== MODAL ========== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); z-index: 200; justify-content: center; align-items: center; padding: 20px; }
.modal-overlay.show { display: flex; }
.modal-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; max-width: 480px; width: 100%; max-height: 90vh; overflow-y: auto; animation: modalPop 0.25s ease; }
.modal-lg { max-width: 560px; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px 0; }
.modal-header h3 { font-size: 1.1rem; font-weight: 500; }
.modal-close { background: none; border: none; color: var(--text-dim); font-size: 1.5rem; cursor: pointer; padding: 4px; line-height: 1; }
.modal-close:hover { color: var(--text); }
.modal-body { padding: 20px 24px; }
.modal-footer { display: flex; gap: 10px; justify-content: flex-end; padding: 0 24px 20px; }

/* ========== EMPTY STATES & TOAST ========== */
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-dim); }
.empty-icon { font-size: 3rem; display: block; margin-bottom: 12px; opacity: 0.5; }
.empty-state p { font-size: 0.9rem; }
.text-muted { color: var(--text-muted); font-size: 0.85rem; }
.toast { position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%); background: var(--bg-card); border: 1px solid var(--accent); color: var(--text); padding: 12px 24px; border-radius: 10px; font-size: 0.9rem; z-index: 9999; animation: toastIn 0.3s ease; box-shadow: 0 8px 30px rgba(0,0,0,0.4); }
@keyframes toastIn { from { transform: translate(-50%, 20px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
