:root{--primary:#2563eb;--bg:#f3f4f6;--card:#fff;--border:#e5e7eb;--text:#1f2937;--sub:#6b7280;}
body{font-family:'Segoe UI',sans-serif;background:var(--bg);margin:0;display:flex;justify-content:center;}
.app-container{max-width:500px;width:100%;min-height:100vh;background:var(--bg);padding-bottom:80px;position:relative;}

.header{padding:16px;border-bottom:1px solid var(--border);background:#fff;position:sticky;top:0;z-index:10;text-align:center;}
.content{padding:15px; display: flex; flex-direction: column; gap: 15px;}

/* СТИЛИ ГРУПП НАСТРОЕК */
.settings-group { margin-bottom: 5px; }
.group-title { font-size: 0.85rem; font-weight: 700; color: var(--sub); text-transform: uppercase; margin-bottom: 8px; padding-left: 10px; }
.group-box { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); border: 1px solid var(--border); }

.menu-btn { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 16px; border: none; background: #fff; font-size: 1rem; color: var(--text); cursor: pointer; text-align: left; border-bottom: 1px solid var(--border); transition: 0.2s; }
.menu-btn:last-child { border-bottom: none; }
.menu-btn:active { background: #f9fafb; }
.menu-btn span { font-weight: 500; }
.arrow { color: #ccc; font-size: 1.2rem; }

.btn-gold { color: #d97706; background: #fffbeb; }
.btn-danger { width: 100%; padding: 15px; background: #fee2e2; color: #b91c1c; border:none; border-radius:12px; font-weight:700; cursor:pointer; margin-top:10px;}

/* МОДАЛКА */
.modal { display: none; position: fixed; top:0; left:0; width:100%; height:100%; background:rgba(0,0,0,0.5); backdrop-filter: blur(2px); z-index: 100; justify-content: center; align-items: center; }
.modal-content { background: #fff; width: 90%; max-width: 400px; border-radius: 16px; padding: 20px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.close-icon { font-size: 1.5rem; cursor: pointer; color: #999; }

.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.85rem; color: var(--text); }
input, select, textarea { width: 100%; padding: 10px; border: 1px solid var(--border); border-radius: 8px; box-sizing: border-box; font-size: 0.95rem; }
.btn-primary { background: var(--primary); color: #fff; border: none; padding: 12px; border-radius: 10px; width: 100%; font-weight: 600; cursor: pointer; }

/* СПИСКИ */
.list-item { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--border); margin-bottom: 8px;}
.status-badge { padding: 4px 10px; border-radius: 15px; color: #fff; font-weight: 600; font-size: 0.8rem; }
.del-icon { color: #ef4444; cursor: pointer; padding: 5px; background: #fee2e2; border-radius: 6px; }

/* СТИЛИ ДЛЯ СТАТУСОВ */
.check-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.check-row input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--primary); margin: 0; }
.check-label { font-size: 0.95rem; color: var(--text); }

.accordion-head { display: flex; justify-content: space-between; align-items: center; cursor: pointer; padding: 10px 0; border-top: 1px solid var(--border); margin-top: 15px; color: var(--text); font-weight: 600; }
.accordion-body { display: none; margin-top: 10px; }
.accordion-body.open { display: block; }

.info-box { background: #1e1e1e; color: #ccc; font-size: 0.8rem; padding: 12px; border-radius: 8px; margin-top: 15px; display: flex; gap: 10px; }
.info-icon { color: #3b82f6; font-size: 1.2rem; }

.checkbox-wrapper { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.checkbox-wrapper input { width: 20px; height: 20px; accent-color: var(--primary); }

/* НИЖНЕЕ МЕНЮ */
.bottom-nav{position:fixed;bottom:0;width:100%;max-width:500px;height:65px;background:#fff;border-top:1px solid var(--border);display:flex;justify-content:space-around;align-items:center;z-index: 20;}
.nav-item{text-align:center;color:var(--sub);text-decoration:none;font-size:0.7rem;font-weight:600; display:flex; flex-direction:column; align-items:center; justify-content:center; height:100%; flex:1;}
.nav-item.active{color:var(--primary);}
.nav-icon{font-size:1.4rem;display:block;margin-bottom:2px;}

/* ЭЛЕМЕНТЫ ВНУТРИ МОДАЛКИ ПРОФИЛЯ */
.info-row { display: flex; justify-content: space-between; margin-bottom: 12px; border-bottom: 1px solid #f3f4f6; padding-bottom: 12px; }
.info-label { color: var(--sub); font-size: 0.9rem; }
.info-val { font-weight: 700; color: var(--text); }