* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f8fb;
  color: #1b2233;
}

/* GEMEINSAME FARBKLASSEN */

.blue {
  background: #5aa8ff;
}

.purple {
  background: #b778ff;
}

.orange {
  background: #ff961f;
}

.green {
  background: #1fd67b;
}

.pink {
  background: #f45ab5;
}

.yellow {
  background: #ffcc15;
}

.indigo {
  background: #7280ff;
}

.coral {
  background: #ff5d6c;
}

.empty-card {
  opacity: 0.95;
}

/* STARTSEITE */

.hero-layout {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
}

.hero-left {
  flex: 1 1 62%;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

.hero-right {
  flex: 1 1 38%;
  min-width: 320px;
  background: linear-gradient(180deg, #5a3df0 0%, #4e2fe6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.hero-right::before,
.hero-right::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.hero-right::before {
  width: 260px;
  height: 260px;
  top: -60px;
  right: -50px;
}

.hero-right::after {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -70px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #5a3df0;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  box-shadow: 0 10px 24px rgba(90, 61, 240, 0.25);
}

.brand-name {
  font-size: 3rem;
  font-weight: 700;
}

.hero-content {
  max-width: 640px;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.08;
  margin-bottom: 24px;
}

.subtitle {
  font-size: 1.5rem;
  color: #7e889b;
  margin-bottom: 36px;
}

.benefits {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.emoji {
  font-size: 28px;
  line-height: 1;
}

.benefit-item h2 {
  font-size: 1.5rem;
  margin: 0 0 4px 0;
}

.benefit-item p {
  margin: 0;
  color: #8e97aa;
  line-height: 1.5;
}

.button-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 16px 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: 0.2s ease;
}

.btn-primary {
  background: #5a3df0;
  color: #ffffff;
}

.btn-primary:hover {
  background: #4a30d4;
}

.btn-secondary {
  background: #ffffff;
  color: #1b2233;
  border: 1px solid #d9dce5;
}

.btn-secondary:hover {
  background: #f4f5f8;
}

.task-list {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.task-card {
  background: white;
  border-radius: 22px;
  min-height: 72px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(18, 20, 40, 0.12);
}

.task-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.task-status {
  color: #22c76a;
  font-size: 24px;
  font-weight: bold;
}

/* REGISTER PAGE */

.register-page {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f8fb;
  color: #1b2233;
}

.register-layout {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
}

.register-left {
  flex: 1 1 62%;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

.register-right {
  flex: 1 1 38%;
  min-width: 320px;
  background: linear-gradient(180deg, #5a3df0 0%, #4e2fe6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.register-right::before,
.register-right::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.register-right::before {
  width: 260px;
  height: 260px;
  top: -60px;
  right: -50px;
}

.register-right::after {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -70px;
}

.register-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.register-brand:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  cursor: pointer;
}

.register-brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #5a3df0;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  box-shadow: 0 10px 24px rgba(90, 61, 240, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.register-brand:hover .register-brand-icon {
  transform: scale(1.05);
  box-shadow: 0 14px 28px rgba(90, 61, 240, 0.32);
}

.register-brand-name {
  font-size: 3rem;
  font-weight: 700;
}

.register-content {
  max-width: 580px;
}

.register-content h1 {
  font-size: 4rem;
  line-height: 1.08;
  margin-bottom: 18px;
}

.register-subtitle {
  font-size: 1.25rem;
  color: #97a0b3;
  margin-bottom: 42px;
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 560px;
}

.register-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.register-form-group label {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #545e70;
  letter-spacing: 0.04em;
}

.register-form-group input {
  width: 100%;
  height: 66px;
  border-radius: 18px;
  border: 1px solid #e0e3eb;
  background: #f9faff;
  padding: 0 22px;
  font-size: 1rem;
  color: #1b2233;
  outline: none;
}

.register-form-group input::placeholder {
  color: #9aa3b5;
}

.register-form-group input:focus {
  border-color: #8d7cf6;
  box-shadow: 0 0 0 4px rgba(90, 61, 240, 0.08);
}

.register-button {
  margin-top: 10px;
  height: 64px;
  border: none;
  border-radius: 999px;
  background: #5a3df0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(90, 61, 240, 0.22);
  transition: 0.2s ease;
}

.register-button:hover {
  background: #4a30d4;
}

.register-login-text {
  margin-top: 28px;
  text-align: center;
  color: #9aa3b5;
  font-size: 1rem;
}

.register-login-text a {
  color: #5a3df0;
  text-decoration: none;
  font-weight: 700;
}

.register-task-list {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.register-task-card {
  background: white;
  border-radius: 22px;
  min-height: 72px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(18, 20, 40, 0.12);
}

.register-task-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.register-task-status {
  color: #22c76a;
  font-size: 24px;
  font-weight: bold;
}

.register-task-icon.blue {
  background: #5aa8ff;
}

.register-task-icon.purple {
  background: #b778ff;
}

.register-task-icon.orange {
  background: #ff961f;
}

.register-task-icon.green {
  background: #1fd67b;
}

/* LOGIN PAGE */

.login-page {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f8fb;
  color: #1b2233;
}

.login-layout {
  min-height: 100vh;
  display: flex;
  flex-wrap: wrap;
}

.login-left {
  flex: 1 1 62%;
  padding: 56px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

.login-right {
  flex: 1 1 38%;
  min-width: 320px;
  background: linear-gradient(180deg, #5a3df0 0%, #4e2fe6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  position: relative;
  overflow: hidden;
}

.login-right::before,
.login-right::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.login-right::before {
  width: 260px;
  height: 260px;
  top: -60px;
  right: -50px;
}

.login-right::after {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -70px;
}

.login-brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.login-brand:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  cursor: pointer;
}

.login-brand-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #5a3df0;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  box-shadow: 0 10px 24px rgba(90, 61, 240, 0.25);
}

.login-brand-name {
  font-size: 3rem;
  font-weight: 700;
}

.login-content {
  max-width: 560px;
}

.login-content h1 {
  font-size: 4rem;
  line-height: 1.08;
  margin-bottom: 18px;
}

.login-subtitle {
  font-size: 1.25rem;
  color: #97a0b3;
  margin-bottom: 42px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 560px;
}

.login-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.login-form-group label {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #545e70;
  letter-spacing: 0.04em;
}

.login-form-group input {
  width: 100%;
  height: 66px;
  border-radius: 18px;
  border: 1px solid #e0e3eb;
  background: #f9faff;
  padding: 0 22px;
  font-size: 1rem;
  color: #1b2233;
  outline: none;
}

.login-form-group input::placeholder {
  color: #9aa3b5;
}

.login-form-group input:focus {
  border-color: #8d7cf6;
  box-shadow: 0 0 0 4px rgba(90, 61, 240, 0.08);
}

.login-button {
  margin-top: 10px;
  height: 64px;
  border: none;
  border-radius: 999px;
  background: #5a3df0;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(90, 61, 240, 0.22);
  transition: 0.2s ease;
}

.login-button:hover {
  background: #4a30d4;
}

.login-register-text {
  margin-top: 28px;
  text-align: center;
  color: #9aa3b5;
  font-size: 1rem;
}

.login-register-text a {
  color: #5a3df0;
  text-decoration: none;
  font-weight: 700;
}

.login-task-list {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.login-task-card {
  background: white;
  border-radius: 22px;
  min-height: 72px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 24px rgba(18, 20, 40, 0.12);
}

.login-task-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.login-task-status {
  color: #22c76a;
  font-size: 24px;
  font-weight: bold;
}

.login-task-icon.blue {
  background: #5aa8ff;
}

.login-task-icon.purple {
  background: #b778ff;
}

.login-task-icon.orange {
  background: #ff961f;
}

.login-task-icon.green {
  background: #1fd67b;
}

/* DASHBOARD PAGE */

.dashboard-page {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7f8fc;
  color: #1b2233;
}

.dashboard-shell {
  min-height: 100vh;
}

.dashboard-topbar {
  height: 88px;
  background: #ffffff;
  border-bottom: 1px solid #e7eaf1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.dashboard-topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.dashboard-topbar-left:hover {
  opacity: 0.85;
  transform: translateY(-2px);
  cursor: pointer;
}

.dashboard-logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #5a3df0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.15rem;
  box-shadow: 0 8px 20px rgba(90, 61, 240, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dashboard-topbar-left:hover .dashboard-logo-icon {
  transform: scale(1.05);
  box-shadow: 0 14px 28px rgba(90, 61, 240, 0.32);
}

.dashboard-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: #32384a;
}

.dashboard-user-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #5a3df0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.dashboard-user-arrow {
  color: #8b93a7;
  font-size: 1rem;
}

.dashboard-main {
  display: flex;
  min-height: calc(100vh - 88px);
  align-items: stretch;
}

.dashboard-sidebar {
  width: 315px;
  flex: 0 0 315px;
  background: #ffffff;
  border-right: 1px solid #e7eaf1;
  padding: 26px 18px;
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 16px;
  text-decoration: none;
  color: #41495c;
  font-size: 1rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.dashboard-nav-item.active {
  background: #eef1ff;
  color: #4d3ee8;
}

.dashboard-content {
  flex: 1;
  min-width: 0;
  padding: 34px 46px 52px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* DASHBOARD HOME */

.child-switcher {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.child-tab {
  min-width: 128px;
  height: 70px;
  border-radius: 18px;
  border: 1px solid #d8dce6;
  background: #ffffff;
  color: #1b2233;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(18, 20, 40, 0.04);
}

.child-tab.active {
  background: linear-gradient(180deg, #5a3df0 0%, #4e2fe6 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 24px rgba(90, 61, 240, 0.24);
}

.child-tab.add-child {
  min-width: 210px;
  background: #ffffff;
  border: 1px dashed #d9dde8;
  color: #676f82;
  font-weight: 500;
  box-shadow: none;
}

.profile-card,
.stats-card,
.tasks-section {
  background: #ffffff;
  border: 1px solid #e9ebf2;
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(18, 20, 40, 0.06);
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 34px 36px;
}

.profile-avatar {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #dfe1ff;
  color: #4d3ee8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.3rem;
  font-weight: 700;
}

.profile-info h2 {
  margin: 0 0 8px 0;
  font-size: 2.2rem;
}

.profile-info p {
  margin: 0;
  color: #687084;
  font-size: 1.2rem;
}

.stats-card,
.tasks-section {
  padding: 32px 36px;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.card-header h3 {
  margin: 0;
  font-size: 1.8rem;
}

.card-header span {
  color: #5e6678;
  font-size: 1rem;
  font-weight: 600;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.day-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.day-bar {
  width: 100%;
  height: 56px;
  border-radius: 14px;
  background: #eef1f6;
}

.day-column.active .day-bar {
  border: 3px solid #7d73ff;
}

.day-bar.full {
  background: #10cf52;
}

.day-bar.mixed {
  background: linear-gradient(180deg, #ff8a8a 0 28%, #47d86f 28% 100%);
}

.day-bar.empty {
  background: #eef1f6;
}

.day-column span {
  color: #6e7588;
  font-weight: 600;
}

.legend {
  display: flex;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid #edf0f5;
  color: #6b7386;
  font-weight: 500;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}

.green-dot {
  background: #12cd52;
}

.red-dot {
  background: #ff7070;
}

.progress-track {
  width: 100%;
  height: 16px;
  border-radius: 999px;
  background: #eceff5;
  overflow: hidden;
}

.progress-fill {
  width: 80%;
  height: 100%;
  border-radius: 999px;
  background: #12cd52;
}

.day-tabs {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 14px;
}

.day-tab {
  min-height: 86px;
  border-radius: 20px;
  border: 1px solid #dcdfea;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  color: #7b8294;
  cursor: pointer;
}

.day-tab strong {
  font-size: 1.2rem;
}

.day-tab span {
  font-size: 0.95rem;
}

.day-tab.active {
  background: linear-gradient(180deg, #5a3df0 0%, #4e2fe6 100%);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(90, 61, 240, 0.24);
}

.task-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff7dc;
  color: #c18b00;
  font-weight: 700;
}

.task-dashboard-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.task-dashboard-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-radius: 18px;
  background: #fafbfe;
  border: 1px solid #eceef5;
}

.task-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.task-mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.task-left h4 {
  margin: 0 0 4px 0;
  font-size: 1.1rem;
}

.task-left p {
  margin: 0;
  color: #7b8294;
}

.task-check {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8fff0;
  color: #1fc862;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}


/* ADD CHILD MODAL */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}

.hidden {
  display: none !important;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  border-radius: 28px;
  padding: 48px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.modal-content h2 {
  margin: 0 0 12px;
  font-size: 2.6rem;
  line-height: 1.1;
  color: #07142b;
}

.modal-content::before {
  content: "Gib die Informationen deines Kindes ein, um loszulegen";
  display: block;
  margin-bottom: 42px;
  font-size: 1.35rem;
  line-height: 1.4;
  color: #4d5668;
}

.modal-content label {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1b2740;
}

.modal-content input {
  width: 100%;
  height: 80px;
  border: 1.5px solid #cfd3dc;
  border-radius: 16px;
  padding: 0 28px;
  margin-bottom: 36px;
  font-size: 1.35rem;
  color: #111827;
  outline: none;
  background: #ffffff;
}

.modal-content input::placeholder {
  color: #8a8f99;
}

.modal-content input:focus {
  border-color: #5a3df0;
  box-shadow: 0 0 0 4px rgba(90, 61, 240, 0.12);
}

.modal-content button[type="submit"] {
  width: 100%;
  height: 88px;
  border: none;
  border-radius: 22px;
  background: #e1e3e8;
  color: #9da3b1;
  font-size: 1.45rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
}

.modal-content button[type="submit"]:hover {
  background: #5a3df0;
  color: #ffffff;
}

#closeChildModal {
  position: absolute;
  top: 48px;
  right: 48px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: #9aa1ad;
  font-size: 0;
  cursor: pointer;
}

#closeChildModal::before {
  content: "×";
  font-size: 3rem;
  line-height: 1;
}

#closeChildModal:hover {
  color: #1b2233;
}

.dashboard-user-menu {
  position: relative;
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: #32384a;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.dashboard-user:hover {
  opacity: 0.9;
}

.dashboard-user-arrow {
  color: #8b93a7;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.dashboard-user-menu.open .dashboard-user-arrow {
  transform: rotate(180deg);
}

.dashboard-user-dropdown {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: 260px;
  background: #ffffff;
  border: 1px solid #e8ebf3;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(18, 20, 40, 0.12);
  overflow: hidden;
  z-index: 1000;
}

.dashboard-user-dropdown.hidden {
  display: none;
}

.dashboard-user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 0 24px;
  text-decoration: none;
  color: #30384a;
  font-size: 1rem;
  font-weight: 500;
  background: #ffffff;
  transition: background 0.2s ease;
}

.dashboard-user-dropdown-item + .dashboard-user-dropdown-item {
  border-top: 1px solid #eef1f6;
}

.dashboard-user-dropdown-item:hover {
  background: #f8f9fc;
}

.dashboard-user-dropdown-item.logout {
  color: #e23b3b;
}

.dropdown-icon {
  width: 22px;
  display: inline-flex;
  justify-content: center;
  font-size: 1.1rem;
}









/* TEMPLATE LIBRARY PAGE */

.template-library-page {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.templates-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.templates-header h1 {
  margin: 0 0 10px 0;
  font-size: 3.2rem;
  line-height: 1.05;
  color: #121a2f;
}

.templates-header p {
  margin: 0;
  font-size: 1.25rem;
  color: #6f7789;
}

.add-template-btn {
  min-width: 300px;
  height: 68px;
  padding: 0 30px;
  border: none;
  border-radius: 22px;
  background: linear-gradient(180deg, #5a3df0 0%, #4e2fe6 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(90, 61, 240, 0.24);
  cursor: pointer;
}

.template-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(360px, 1fr));
  gap: 22px;
}

.template-card {
  background: #ffffff;
  border: 1px solid #e8ebf3;
  border-radius: 24px;
  min-height: 156px;
  padding: 24px 22px 18px;
  box-shadow: 0 6px 18px rgba(18, 20, 40, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.template-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.template-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.template-icon {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  flex-shrink: 0;
}

.template-info h3 {
  margin: 6px 0 4px 0;
  font-size: 1.1rem;
  color: #1b2233;
}

.template-info p {
  margin: 0;
  font-size: 1rem;
  color: #9aa3b5;
}

.template-actions {
  display: flex;
  gap: 12px;
}

.template-actions button {
  border: none;
  background: transparent;
  color: #9aa3b5;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 4px;
}

.template-card-bottom {
  display: flex;
  justify-content: flex-end;
  color: #9aa3b5;
  font-size: 1rem;
  font-weight: 600;
  padding-top: 8px;
}

/* SETTINGS PAGE */

.settings-page {
  gap: 28px;
}

.settings-header h1 {
  margin: 0;
  font-size: 3.3rem;
  line-height: 1.05;
  color: #111a2f;
}

.settings-card {
  background: #ffffff;
  border: 1px solid #e8ebf3;
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 6px 18px rgba(18, 20, 40, 0.06);
}

.settings-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.settings-card-header-left {
  justify-content: flex-start;
}

.settings-title-group {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.settings-title-group h2 {
  margin: 4px 0 4px 0;
  font-size: 2rem;
  color: #1b2233;
}

.settings-title-group p {
  margin: 0;
  font-size: 1.05rem;
  color: #6f7789;
}

.settings-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #eef0ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

.settings-edit-btn {
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 16px;
  background: #f6f7fb;
  color: #606779;
  font-size: 1.4rem;
  cursor: pointer;
}

.account-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.account-info-row {
  min-height: 96px;
  border-radius: 20px;
  background: #f8f9fc;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.account-info-icon {
  width: 28px;
  text-align: center;
  font-size: 1.3rem;
  color: #6e7588;
}

.account-info-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-info-text span {
  font-size: 0.95rem;
  font-weight: 700;
  color: #8a91a3;
  letter-spacing: 0.03em;
}

.account-info-text strong {
  font-size: 1.15rem;
  color: #1b2233;
}

.sound-settings-form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.sound-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sound-field label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #394255;
}

.sound-select-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.sound-select-row select {
  flex: 1;
  height: 64px;
  border: 1px solid #d9dde7;
  border-radius: 14px;
  background: #ffffff;
  padding: 0 16px;
  font-size: 1rem;
  color: #1b2233;
  outline: none;
}

.sound-select-row select:focus {
  border-color: #8d7cf6;
  box-shadow: 0 0 0 4px rgba(90, 61, 240, 0.08);
}

.sound-add-btn {
  width: 68px;
  height: 60px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(180deg, #5a3df0 0%, #4e2fe6 100%);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(90, 61, 240, 0.22);
}

.sound-format-note {
  margin: -8px 0 0 0;
  font-size: 0.98rem;
  color: #7e8699;
}

/* PERSONALISIERTE ICONS */

.icons-settings-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.icons-section h3 {
  margin: 0 0 8px 0;
  font-size: 1.15rem;
  color: #263047;
}

.icons-section-subtitle {
  margin: 0 0 18px 0;
  font-size: 0.98rem;
  color: #7e8699;
}

.default-icons-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(78px, 1fr));
  gap: 12px;
}

.icon-tile {
  height: 54px;
  border: 1px solid #dfe3ec;
  border-radius: 14px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  cursor: pointer;
  transition: 0.2s ease;
  box-shadow: 0 2px 6px rgba(18, 20, 40, 0.03);
}

.icon-tile:hover {
  border-color: #c9cff0;
  background: #f9faff;
  transform: translateY(-1px);
}

.icon-tile.active {
  border-color: #7b6df6;
  background: #f1efff;
  box-shadow: 0 0 0 3px rgba(90, 61, 240, 0.08);
}

.custom-icons-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.custom-icons-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.custom-icon-add-btn {
  width: 58px;
  height: 50px;
  flex-shrink: 0;
  font-size: 1.8rem;
}

.custom-icons-empty {
  margin: 0;
  font-size: 0.98rem;
  color: #9aa3b5;
  font-style: italic;
}

.custom-icons-note {
  margin: 0;
  font-size: 0.96rem;
  color: #9aa3b5;
}

@media (max-width: 1200px) {
  .default-icons-grid {
    grid-template-columns: repeat(4, minmax(78px, 1fr));
  }
}

@media (max-width: 700px) {
  .default-icons-grid {
    grid-template-columns: repeat(3, minmax(78px, 1fr));
  }

  .custom-icons-top {
    flex-direction: column;
    align-items: stretch;
  }

  .custom-icon-add-btn {
    width: 100%;
  }
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .template-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .dashboard-main {
    flex-direction: row;
  }

  .dashboard-sidebar {
    width: 315px;
    flex: 0 0 315px;
    border-right: 1px solid #e7eaf1;
    border-bottom: none;
  }

  .dashboard-nav {
    flex-direction: column;
    flex-wrap: nowrap;
  }

  .dashboard-content {
    padding: 24px;
  }

  .template-grid {
    grid-template-columns: 1fr;
  }

  .day-tabs,
  .week-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero-layout,
  .register-layout,
  .login-layout {
    flex-direction: column;
  }

  .hero-left,
  .hero-right,
  .register-left,
  .register-right,
  .login-left,
  .login-right {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-left,
  .register-left,
  .login-left {
    padding: 36px 24px;
  }

  .hero-content h1,
  .register-content h1,
  .login-content h1 {
    font-size: 2.8rem;
  }

  .brand-name,
  .register-brand-name,
  .login-brand-name {
    font-size: 2.2rem;
  }

  .subtitle {
    font-size: 1.15rem;
  }

  .register-subtitle,
  .login-subtitle {
    font-size: 1.05rem;
  }

  .templates-header h1,
  .settings-header h1 {
    font-size: 2.4rem;
  }

  .templates-header p,
  .settings-title-group p {
    font-size: 1.05rem;
  }

  .add-template-btn {
    width: 100%;
    min-width: 0;
  }

  .template-card {
    min-height: auto;
  }

  .settings-card {
    padding: 22px;
  }

  .settings-card-header,
  .settings-title-group,
  .sound-select-row {
    flex-direction: column;
    align-items: stretch;
  }

  .settings-edit-btn,
  .sound-add-btn {
    width: 100%;
  }

  .account-info-row {
    min-height: auto;
    padding: 18px;
    align-items: flex-start;
  }
}
