
/* === ОБЩИЕ СТИЛИ === */
body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  background: linear-gradient(to bottom right, #fbd3a6, #ed9269);
  color: #2e1b0e;
}

#app {
  max-width: 400px;
  margin: 0 auto;
  padding: 20px;
}

/* === ШАПКА === */
.app__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0px;
}

.app__title {
  font-size: 24px;
  font-weight: bold;
}

.app__date {
  font-size: 16px;
}

/* === ЦЕЛЬ === */
.goal__text {
  background-color: #fff3e0;
  border-left: 4px solid #ffa726;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: 500;
}

/* === САММАРИ === */
.summary {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.summary__item {
  background: #ffe0b2;
  padding: 12px;
  margin-right: 5px;
  border-radius: 10px;
  width: 48%;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.summary__item_2 {
  background: #ffe0b2;
  padding: 12px;
  margin-left: 5px;
  border-radius: 10px;
  width: 48%;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.summary__label {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
  color: #323232;
  font-weight: 500;
}

.summary__value {
  font-size: 18px;
  font-weight: bold;
}



/* === КАЛОРИИ === */
.calories__balance {
  display: flex;
  justify-content: space-between;
  background: #ffe0b2;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.calories__eaten,
.calories__left {
  font-weight: bold;
  color: #4e342e;
}

/* === БЛЮДА === */
.meal {
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 15px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.meal__name {
  font-weight: bold;
  margin-bottom: 10 8px;
}

.meal__info {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #5d4037;
}

.meal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.meal__time {
  font-size: 13px;
  color: #8d6e63;
}

.meal__title {
  display: inline-flex;
  align-items: left;
  gap: 60px;
  font-weight: 600;
}

.meal__emoji {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffe0b2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px; /* эмодзи как маленькая картинка */
}

.meal__details {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #5d4037;
}

.meal__calories {
  font-weight: 600;
}

.meal--row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.meal__emoji-block {
  width: 46px;
  height: 46px;
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meal__content {
  display: flex;
  flex-direction: column;
}

.meal__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}

.meal__macros-row {
  font-size: 14px;
  color: #222222;
  font-weight: 900;
  margin-bottom: 4px;
}

.meal__kcal {
  font-size: 16px;
  font-weight: 700;
  margin-top: 2px;
}



/* === ИТОГ === */
.total {
  background: #ffe0b2;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  text-align: center;
}

.total__label {
  font-size: 14px;
  color: #6d4c41;
}

.total__value {
  font-size: 18px;
  font-weight: bold;
}

/* === ФУТЕР === */
.app__footer {
  text-align: center;
  margin-top: 30px;
}

.ok-button {
  background-color: #f57c00;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

.ok-button:hover {
  background-color: #ef6c00;
}




