.bottom-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    background-color: #ffffff;
    padding-top: 8px;
    padding-bottom: 25px;
    box-shadow: var(--box-shadow);
    z-index: 1000;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #8e8e8e;
    font-size: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px 10px;
}

.menu-icon {
    font-size: 22px;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.menu-item:hover {
    color: #0066ff;
}

.menu-item:hover .menu-icon {
    color: #0066ff;
}

.menu-item.active {
    color: #0066ff;
}

.menu-item.active .menu-icon {
    color: #0066ff;
}


/* Кнопка (плавающая) добавить */

.addCard-floating-btn {
    position: fixed;
    right: 25px;
    bottom: 90px;
    width: 50px;
    height: 50px;
    background-color: rgb(255 0 0 / 70%);
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    
    opacity: 1;
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
    z-index: 1000;
}
        
.addCard-floating-btn.hidden {
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
}

.addCard-floating-btn:hover {
    background-color: rgb(255 50 50 / 90%);
    transform: scale(1.05);
}


/* settings */

.ios-settings-container {
    background: #ffffff;
    border-radius: 10px;
    padding: 0 15px;
    box-shadow: var(--box-shadow);
}

.ios-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #e5e5ea;
}

.ios-setting-item:last-child {
    border-bottom: none;
}

.ios-setting-text {
    font-size: 14px;
    color: #000;
}

.ios-switch {
    position: relative;
    display: inline-block;
    width: 51px;
    height: 31px;
}

.ios-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.ios-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e0e0e0;
    transition: .4s;
    border-radius: 17px;
}

.ios-switch-slider:before {
    position: absolute;
    content: "";
    height: 27px;
    width: 27px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: var(--box-shadow);
}

input:checked + .ios-switch-slider {
    background-color: #299c3d;
}

input:checked + .ios-switch-slider:before {
    transform: translateX(20px);
}

input:disabled + .ios-switch-slider {
    background-color: #f5f5f5;
    opacity: 0.7;
}

/* Анимация при нажатии */
.ios-switch input:active + .ios-switch-slider:before {
    width: 33px;
    border-radius: 17px;
}

.ios-switch input:checked:active + .ios-switch-slider:before {
    transform: translateX(16px);
}

/* ==================================== */
/* ФОРМЫ ВВОДА
/* ==================================== */

.datetime-selector {
  padding: 30px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.datetime-selector-today {
  padding: 16px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

select, #city-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: white;
  font-size: 0.7rem;
}


/* стрелка */
select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
  background-size: 12px;
  padding-right: 30px;
}

.form-group {
    display: flex;
    font-size: 0.7rem;
    margin: 0 10px;
}

#day, #bornDay, #hour, #bornHour {
  border-radius: 6px 0 0 6px;
  border-right: none; /* убираем границу справа */
  outline: none;
}

#month, #bornMonth {
  border-radius: 0;
  border-right: none; /* убираем границу справа */
  outline: none;
}

#year, #bornYear, #minute, #bornMinute {
  border-radius: 0px 6px 6px 0;
  outline: none;
}

#suggestions {
  position: absolute;
  width: 40%;
  max-width: 200px;
  max-height: 300px;
  margin-top: 28px;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 6px;
  background: white;
  box-shadow: var(--box-shadow);
  display: none;
  z-index: 1000;
}

.search-container {
  position: relative;
  margin-bottom: 30px;
}

.suggestion-item {
  position: absolute;
  width: 100%;
  padding: 10px 15px;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
  box-sizing: border-box;
  transition: background 0.2s;
}

.suggestion-list {
  position: relative;
  width: 100%;
}

.suggestion-item:hover {
  background-color: #f5f5f5;
}

/* ===== Gender Options ===== */
.gender-option {
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 1;
        }
        
        .gender-icon {
            font-size: 1.5em;
            padding: 6px 10px;
            cursor: pointer;
        }
        
        .male {
            background: #e3f2fd;
            border-radius: 4px;
            color: #1976d2;
        }
        
        .female {
            background: #fce4ec;
            border-radius: 4px;
            color: #c2185b;
        }
        
        input[type="radio"] {
            display: none;
        }
        
        input[type="radio"]:checked + .gender-icon {
            font-weight: bold;
            border: 1px solid currentColor;
        }

.submit-btn {
  padding: 12px;
  font-size: 0.7rem;
  color: var(--btn-text-color);
  border: none;
  border-radius: 5px;
  background-color: var(--btn-color);
  cursor: pointer;
  transition: background-color 0.4s;
}

.date-nav {
  padding: 12px;
  color: var(--btn-text-color);
  border: none;
  border-radius: 5px;
  background-color: var(--btn-color);
  cursor: pointer;
  transition: background-color 0.4s;
}

.submit-btn:hover, .date-nav:hover {
  background-color: var(--btn-hover);
}


/* Info Modal */

.info-block {
    position: fixed;
    left: 50%;
    width: 500px;

    color: #000;
    font-size: 14px;
  
    transform: translateX(-50%);
    
  padding: 14px;
    
  border: none;
  border-radius: 8px;
    background: linear-gradient(45deg, #e8d4f880, #83bbe880);
  background-color: );
  box-shadow: var(--box-shadow);
  
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
    text-align: center;
   transition: all 0.3s ease;

    z-index: 1000;
  cursor: pointer;
}  

.info-block.hidden {
  opacity: 0;
  pointer-events: none;
}

.info-block:hover {
    
  background: linear-gradient(45deg, #e5cafc80, #79b6e780);
    box-shadow: 0 8px 32px rgb(112 107 198 / 29%);
    
}