* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 12px; background-color: var(--bg-color); color: var(--text-main); } .container { max-width: 100%; margin: 0 auto; } header { display: flex; justify-content: space-between; align-items: center; background: var(--card-bg); padding: 16px 18px; border-radius: 20px; box-shadow: var(--shadow-card); margin-bottom: 14px; border: 1px solid rgba(255, 255, 255, 0.8); } .header-left h1 { margin: 0 0 2px 0; font-size: 1.35em; background: var(--primary-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; } #live-clock { font-size: 0.75em; color: var(--text-muted); margin: 0; font-weight: 500; } .menu-btn { background: var(--primary-gradient); color: white; border: none; padding: 10px 16px; border-radius: 14px; cursor: pointer; font-weight: 700; font-size: 0.95em; box-shadow: var(--shadow-3d); transition: transform 0.1s ease; min-height: 44px; } .menu-btn:active { transform: var(--btn-press); } .history-controls { display: flex; justify-content: space-between; align-items: center; background: var(--card-bg); padding: 12px 18px; border-radius: 16px; box-shadow: var(--shadow-card); margin-bottom: 14px; } .history-controls span { font-weight: 700; color: var(--primary); font-size: 1.05em; } .cal-nav-btn { background: #e0e7ff; color: var(--primary); border: none; width: 38px; height: 38px; border-radius: 12px; cursor: pointer; font-size: 1em; font-weight: bold; display: flex; align-items: center; justify-content: center; transition: 0.1s; } .cal-nav-btn:active { transform: var(--btn-press); background: #c7d2fe; } .summary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 14px; } .summary-box { background: var(--card-bg); padding: 16px 12px; border-radius: 18px; box-shadow: var(--shadow-card); text-align: center; position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.8); } .summary-box::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; } .summary-box:nth-child(1)::after { background: var(--success-gradient); } .summary-box:nth-child(2)::after { background: var(--danger-gradient); } .summary-box:nth-child(3)::after { background: var(--primary-gradient); } .summary-box:nth-child(4)::after { background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%); } .summary-box h3 { margin: 0 0 6px 0; font-size: 0.75em; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 700; } .summary-box p { margin: 0; font-size: 1.15em; font-weight: 800; } .income { color: var(--success); } .expense { color: var(--danger); } .methods-card { background: var(--card-bg); padding: 14px 18px; border-radius: 18px; box-shadow: var(--shadow-card); margin-bottom: 14px; border: 1px solid rgba(255, 255, 255, 0.8); } .methods-card h2 { margin: 0 0 10px 0; font-size: 0.95em; color: var(--text-main); font-weight: 700; } .method-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #f1f5f9; font-size: 0.95em; font-weight: 600; } .method-row:last-child { border-bottom: none; } .main-card { background: var(--card-bg); padding: 18px; border-radius: 20px; box-shadow: var(--shadow-card); margin-bottom: 20px; } .main-card h2 { margin-top: 0; font-size: 1.05em; color: var(--text-main); margin-bottom: 14px; font-weight: 700; } .movement-item { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid #f1f5f9; } .movement-item:last-child { border-bottom: none; } .mov-info { display: flex; flex-direction: column; gap: 3px; max-width: 55%; } .mov-desc-wrapper { display: flex; align-items: center; gap: 6px; } .mov-desc { font-weight: 700; font-size: 0.95em; word-break: break-word; color: var(--text-main); } .routine-icon { font-size: 0.85em; } .mov-date { font-size: 0.75em; color: var(--text-muted); font-weight: 500; } .mov-right { display: flex; align-items: center; gap: 6px; } .mov-amount { font-weight: 800; font-size: 1em; white-space: nowrap; margin-right: 2px; } .delete-btn, .edit-btn, .import-single-btn { border: none; border-radius: 10px; cursor: pointer; font-size: 0.85em; padding: 6px; min-height: 36px; min-width: 36px; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 5px rgba(0,0,0,0.08); transition: transform 0.1s; } .delete-btn:active, .edit-btn:active, .import-single-btn:active { transform: var(--btn-press); } .delete-btn { background: #fee2e2; color: var(--danger); } .edit-btn { background: #fef3c7; color: #d97706; } .import-single-btn { background: #d1fae5; color: var(--success); } .drawer-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(4px); visibility: hidden; opacity: 0; transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1000; } .drawer-overlay.open { visibility: visible; opacity: 1; } .drawer-panel { position: fixed; top: 0; left: -100%; width: 100%; max-width: 420px; height: 100%; background: var(--card-bg); box-shadow: -10px 0 30px rgba(0,0,0,0.15); transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1001; padding: 20px; box-sizing: border-box; overflow-y: auto; } .drawer-overlay.open .drawer-panel { left: 0; } .drawer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; border-bottom: 2px solid #f1f5f9; padding-bottom: 12px; } .close-btn { background: #f1f5f9; border: none; font-size: 1.4em; cursor: pointer; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-main); font-weight: bold; } .form-group { margin-bottom: 14px; } .form-group label { display: block; margin-bottom: 6px; font-weight: 700; font-size: 0.85em; color: var(--text-muted); } input, select { width: 100%; padding: 12px 14px; border: 2px solid #e2e8f0; border-radius: 14px; box-sizing: border-box; font-size: 1em; background: #f8fafc; color: var(--text-main); font-weight: 600; outline: none; transition: border-color 0.2s; } input:focus, select:focus { border-color: var(--primary); background: #fff; } .action-btn { width: 100%; padding: 14px; background: var(--primary-gradient); color: white; border: none; border-radius: 14px; font-weight: 800; cursor: pointer; font-size: 1.05em; box-shadow: var(--shadow-3d); transition: transform 0.1s; min-height: 48px; } .action-btn:active { transform: var(--btn-press); } .cancel-edit-btn { width: 100%; padding: 12px; background: #64748b; color: white; border: none; border-radius: 14px; font-weight: 700; cursor: pointer; margin-top: 8px; display: none; min-height: 44px; } .calendar-container { background: #f8fafc; border: 2px solid #e2e8f0; padding: 14px; border-radius: 16px; margin-top: 18px; text-align: center; } .calendar-header { display: flex; justify-content: space-between; align-items: center; font-weight: 700; margin-bottom: 10px; font-size: 0.9em; color: var(--text-main); } .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; font-size: 0.8em; } .calendar-day-name { font-weight: 700; color: var(--text-muted); padding: 4px 0; } .calendar-day { padding: 10px 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; font-weight: 600; } .calendar-day.today { background: var(--primary-gradient); color: white; font-weight: 800; border: none; box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3); } .fixed-section-box { background: #f8fafc; border: 2px solid #e2e8f0; padding: 14px; border-radius: 16px; margin-top: 18px; } .fixed-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #e2e8f0; font-size: 0.9em; } .fixed-item:last-child { border-bottom: none; } .fixed-item-actions { display: flex; align-items: center; gap: 6px; }
Caricamento...
€ 0.00
€ 0.00
€ 0.00
€ 0.00