.bottom-menu {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    display: flex;
    justify-content: space-around;
    background-color: #ffffff;
    background-color: #ffffffe0;
    padding: 5px 10px;
    z-index: 1000;
    border-radius: 80px;
    border: 1px solid #383838;
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    will-change: transform;
    box-sizing: border-box;
}
    
.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #3c3c3c;
    font-size: 10px;
    transition: all 0.2s ease;
    cursor: pointer;
    background: none;
    border: 0;
    padding: 8px 4px;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    transform: translateZ(0);
}

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

.menu-item:hover,
.menu-item.active {
  color: #db0000;
}

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

.addCard-floating-btn {
    position: fixed;
    right: 25px;
    bottom: 100px;
    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);
}

/* .hidden {
    display: none !important;
} */

/* settings */

.settings-container {
    margin: 0 auto;
    max-width: 500px;
}

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

.ios-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #e5e5ea;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

.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);
}




/* ---------------------------------------- */
/* Стили блока выбора дня
/* ---------------------------------------- */

.date-nav {
  padding: 15px;
  color: #000;
  border: 1px solid #000;
  border-radius: 50%;
  background-color: transparent;
  cursor: pointer;
  transition: background-color 0.4s;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
    transition: all 0.2s ease-in-out; /* Плавный переход для всех свойств */
  transform: scale(1); /* Нормальный размер */
}

.submit-btn:hover, .date-nav:hover {
  color: #fff;
  background-color: #000000;
}



/* ---------------------------------------- */
/* Стили блока расчета личной карты
/* ---------------------------------------- */

.info-block {
  position: fixed;
  left: 50%;
  width: 95%;
    min-height: 45px;
  max-width: 500px;
  color: #000;
  font-size: 14px;
  transform: translateX(-50%);
  padding: 8px;
  border: 0.5px solid #a9a9a9;
  border-radius: 80px;
    background: linear-gradient(45deg, #f0f7e663, #e3f0e612, #d5e9e68a);
  box-shadow: var(--box-shadow);
  text-align: center;
  transition: all 0.5s ease;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 1000;
  cursor: pointer;
}

.sundate {
  font-size: 12px;
  color: #777;
  font-style: italic;
}

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

.info-block:hover {
    background: linear-gradient(45deg, #e8f4ea80, #d9ede95c, #cae5e880);
    box-shadow: 0 2px 20px rgb(0 128 20 / 10%);
}







/* ---------------------------------------- */
/* Формы ввода
/* ---------------------------------------- */

.datetime-selector {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    z-index: 1000;
}

.form-group {
  display: flex;
    align-items: center; 
}

.datetime-title {
    font-size: 14px;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
}



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

select, #city-input {
-webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: white;
    font-size: 0.7rem;
    min-height: 40px;
}

/* .datetime-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
} */


/* ---------------------------------------- */
/* Стрлки селекторов
/* ---------------------------------------- */

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: 20px;
}

/* ---------------------------------------- */
/* Выбор пола
/* ---------------------------------------- */

.gender-options {
            display: flex;
            justify-content: center;
            gap: 10px;
        }

        .gender-option {
            position: relative;
            cursor: pointer;
        }

        .gender-option input {
            display: none;
        }

        .gender-icon {
            display: flex;
            justify-content: center;
            align-items: center;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            font-size: 14px;
            font-weight: bold;
            transition: all 0.3s ease;
            border: 2px solid #e1e8ed;
        }

        .gender-icon.male {
            color: #4d90fe;
        }

        .gender-icon.female {
            color: #ff6b6b;
        }

        .gender-option input:checked + .gender-icon {
            border-color: currentColor;
            transform: scale(1.1);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

.submit-btn {
  padding: 14px 20px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border: none;
  border-radius: 10px;
  
  cursor: pointer;
  transition: all 0.5s linear;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
    
  position: relative;
  overflow: hidden;
}

.submit-btn:hover {
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5), 0 0 0 6px rgba(16, 185, 129, 0.1);
}


#suggestions {
    position: absolute;
    width: 100%;
    max-width: 250px;
}

.suggestion-list {
    display: none;
    position: absolute;
    top: 100%;
    margin-top: 24px;
    left: 50px;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 0.7em;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

.suggestion-item:hover,
.suggestion-item.active {
    background-color: #22ca374d;
}

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

.city-name {
    font-weight: 500;
    margin-bottom: 2px;
}

.city-details {
    font-size: 0.85em;
    color: #555;
}

.suggestion-item strong {
    color: #2359da;
    font-weight: 600;
}

#city-info {
    font-size: 10px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f8f9fa;
    border-left: 4px solid #1169c0;
}