
:root {
  --bg-color: #f7faf9;
  --emerald: #50c878;
  --emerald-light: #82e2a2;
  --emerald-dark: #3a9c5b;
  --mint-glass: rgba(209, 232, 226, 0.4);
  --text-dark: #1a2a22;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  --border-radius: 12px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

.text-color {
  color: var(--emerald-dark);
}
/* Фон */
.organic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #f0fdf4 0%, #f7faf9 100%);
}
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
}
.blob-1 {
    width: 600px;
    height: 600px;
    background: var(--emerald-light);
    top: -200px;
    right: -200px;
}

/* Центрированный контейнер */
.container {
  max-width: 375px;
  margin: 0 auto;
  padding: 0 16px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: var(--mint-glass);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
}

.logo i {
  color: var(--emerald);
  font-size: 22px;
}

.menu-btn {
  font-size: 20px;
  color: var(--text-dark);
  background: none;
  border: none;
  cursor: pointer;
}

.content {
  padding: 20px 0;
}

/* Информационный блок */
.info-block {
  text-align: center;
  margin-bottom: 24px;
}

.info-title {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 12px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.info-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-dark);
  max-width: 300px;
  margin: 0 auto;
}

/* Кнопки */
.btn-group {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
}

.btn {
  flex: 1;
  padding: 14px 12px;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: var(--shadow);
}

.btn-blue {
  background: var(--emerald);
  color: white;
}

.btn-blue:hover {
  background: var(--emerald-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(80, 200, 120, 0.3);
}

.btn-green {
  background: var(--emerald-light);
  color: var(--text-dark);
}

.btn-green:hover {
  background: var(--emerald);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(80, 200, 120, 0.3);
}

.btn i {
  font-size: 20px;
}

/* Устройства */
.section {
  background: var(--mint-glass);
  border-radius: 40px;
  padding: 16px;
  margin-bottom: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.section-title {
  font-weight: 800;
  font-size: 16px;
  color: var(--emerald-dark);
}

.add-btn {
  background: transparent;
  border: 1px solid var(--emerald);
  color: var(--emerald);
  font-size: 13px;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.add-btn:hover {
  background: var(--emerald);
  color: white;
}

.devices-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.device-item {
  display: flex;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.device-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 14px;
  font-size: 20px;
}

.android .device-icon { background: var(--emerald); color: white; }
.windows .device-icon { background: var(--emerald-dark); color: white; }

.device-info {
  flex: 1;
}

.device-id {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.device-date {
  font-size: 13px;
  color: var(--text-dark);
}

/* Промо-блок */
.promo {
  background: var(--mint-glass);
  border-radius: 40px;
  padding: 20px;
  text-align: center;
  margin-top: 20px;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
}

.promo-emoji {
  font-size: 48px;
  margin-bottom: 16px;
}

.promo-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--emerald-dark);
}

.promo-desc {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 20px;
}

.promo-btns {
  display: flex;
  gap: 12px;
}

.btn-outline {
  flex: 1;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--text-dark);
  font-weight: 700;
  padding: 14px 12px;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: 0.3s;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--emerald);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(80, 200, 120, 0.3);
}

.btn-copy {
  background: rgba(255, 255, 255, 0.45);
}

/* Адаптация под ПК */
@media (min-width: 768px) {
  body {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
  }
  .container {
    width: 375px;
    padding: 0;
  }
  .header, .content {
    width: 100%;
  }
}




.fade-enter-active, .fade-leave-active {
  transition: opacity 0.5s ease;
}

.fade-enter-from, .fade-leave-to {
  opacity: 0;
}

.btn-back {
  display: inline-block;
  margin-bottom: 20px;
  padding: 10px 15px;
  background-color: #50c878;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-back:hover {
  background-color: #3a9c5b;
}

.intervals {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.interval-btn {
  padding: 10px 15px;
  background-color: #50c878;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.interval-btn:hover {
  background-color: #3a9c5b;
}

.loader, .booking-loader {
  text-align: center;
  font-size: 18px;
  margin-top: 50px;
  color: #50c878;
}

.booking-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.doctor-info {
  display: flex;
  align-items: center;
  margin-top: 20px;
}

.doctor-photo img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.doctor-details {
  font-size: 16px;
}

.doctor-name {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 10px;
}

.doctor-specialty {
  color: #50c878;
  margin-bottom: 10px;
}

.doctor-description {
  color: #555;
}
/* === Modal === */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background: var(--bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 50px rgba(113, 131, 85, 0.18);
    border: none;
}

.modal-header {
    background: var(--bg-color);
    color:  var(--emerald-dark);
    padding: 1rem 1.25rem;
}

.modal-footer {
    border-top: 1px solid rgba(113, 131, 85, 0.2);
    padding: 1rem;
}
.modal.show {
    display: block;
}


.btn-secondary {
  background-color: #ccc;
  color: #333;
}

.btn-primary {
  background-color: #50c878;
  color: white;
}

.btn-secondary:hover {
  background-color: #bbb;
}

.btn-primary:hover {
  background-color: #40a868;
}