body {
    background-color: #000;
    color: #fff;
    font-family: sans-serif;
    margin: 0;
    overflow-x: hidden;
    background-image: url('/starry-night.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    padding-right: 0;
}


/* SAR Controls */
#refreshSarHistory {
    background: #367c39;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    margin-left: 10px;
    vertical-align: middle;
}

#refreshSarHistory:hover {
    background: #2e6a31;
}

#sarProgress {
    background: rgba(0,0,0,0.2);
    padding: 8px;
    border-radius: 4px;
}

#sarProgress progress {
    width: 100%;
    height: 20px;
}

#sarStatus {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    color: #aaa;
}

/* Маркер для SAR-снимков в истории */
.sar-marker {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    margin-right: 5px;
    border: 1px solid #fff;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  overflow: auto;
  text-align: center; /* Добавляем выравнивание по центру */
}
/* Кнопки из истории запросов */
/* Стили для кнопок с иконками */
button[data-icon="sentinel1"]::before {
    font-family: 'Material Icons';
    content: "satellite";
    margin-right: 5px;
}

button[data-icon="sentinel2"]::before {
    font-family: 'Material Icons';
    content: "satellite_alt";
    margin-right: 5px;
}

button[data-icon="delete"]::before {
    font-family: 'Material Icons';
    content: "delete";
    margin-right: 5px;
}

button[data-icon="camera"]::before {
    font-family: 'Material Icons';
    content: "photo_camera";
    margin-right: 5px;
}
/* Кнопки из истории запросов */
.modal-content {
  display: inline-block; /* Изменяем на inline-block */
  max-width: 90%;
  max-height: 90%;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  vertical-align: middle; /* Добавляем вертикальное выравнивание */
}
.modal::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  margin-right: -0.25em;
}

.modal-close {
  position: fixed; /* Меняем на fixed */
  top: 20px;
  right: 30px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.modal-close:hover {
  color: #bbb;
}
.photo-thumbnail {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 100px;
    margin: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.photo-thumbnail:hover {
    transform: scale(1.05);
}

.no-photos {
    color: #666;
    font-style: italic;
}
.detected-checkbox {
    margin-right: 5px;
    transform: scale(1.2);
    cursor: pointer;
}

.detected-checkbox:checked {
    accent-color: #4CAF50;
}

.export-checkbox {
    margin-right: 10px;
    transform: scale(1.2);
    cursor: pointer;
}
.export-controls {
    margin: 15px 0;
    padding: 10px;
    background: #333;
    border-radius: 4px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.export-controls button {
    padding: 8px 12px;
    background: #555;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.export-controls button:hover {
    background: #444;
}

.history-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.export-checkbox {
    margin-right: 10px;
}

.import-export-section {
    margin: 20px 0;
    padding: 15px;
    background-color: #222;
    border-radius: 5px;
}

.import-export-section button {
    padding: 10px 15px;
    margin-right: 10px;
    background-color: #555;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.import-export-section button:hover {
    background-color: #367c39;
}

.detected-checkbox {
    margin-right: 5px;
    transform: scale(1.2);
}

.parallax-satellite {
    position: absolute;
    width: 100px;
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.parallax {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.star {
    position: absolute;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.3;
}

.star1 {
    width: 1px;
    height: 1px;
    top: 20%;
    left: 10%;
    animation: twinkle 5s linear infinite;
}

.star2 {
    width: 2px;
    height: 2px;
    top: 70%;
    left: 60%;
    animation: twinkle 7s linear infinite;
}

@keyframes twinkle {
    0% { opacity: 0.1; }
    50% { opacity: 0.5; }
    100% { opacity: 0.1; }
}


.satellite {
    position: absolute;
    width: 20px;
    height: 5px;
    background-color: #888;
    border-radius: 3px;
}

.satellite1 {
    top: 30%;
    left: 80%;
    animation: fly 15s linear infinite;
}

.satellite2 {
    top: 60%;
    left: 20%;
    animation: fly 20s linear infinite reverse;
}

@keyframes fly {
    0% {
        transform: translateX(-50px);
    }
    100% {
        transform: translateX(calc(100vw + 50px));
    }
}

.container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.input-fields {
    margin-bottom: 20px;
}

.input-fields input[type="text"],
.input-fields input[type="date"],
#notesText {
    padding: 8px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    background-color: #222;
    color: #fff;
    border: 1px solid #444;
}

.buttons button {
    padding: 10px 20px;
    background-color: #555;
    color: white;
    border: none;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.buttons button:hover {
    background-color: #367c39;
}

#output {
    margin-top: 20px;
}

#historyList {
    list-style-type: none;
    font-size: 0.8em;
    padding: 0;
}

#historyList li {
    margin-bottom: 5px;
    padding: 8px;
    background-color: #222;
    border-radius: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#zoomValue {
    margin-left: 10px;
}

#login-form {
    background-color: #222;
    padding: 20px;
    border-radius: 5px;
    margin: 0 auto;
    max-width: 300px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#login-form h2 {
    margin-top: 0;
}

#login-form input[type="text"],
#login-form input[type="password"] {
    padding: 8px;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
}

#login-form button {
    padding: 10px 20px;
    background-color: #555;
    color: white;
    border: none;
    cursor: pointer;
    width: 100%;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#login-form button:hover {
    background-color: #444;
}

#login-form p {
    color: red;
    margin-top: 10px;
}

.history-search {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.history-search input[type="text"] {
    padding: 8px;
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
    margin-right: 10px;
    flex-grow: 1;
}

.history-search select {
    padding: 8px;
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
}

#showHistoryButton {
    padding: 8px 15px;
    background-color: #555;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#showHistoryButton:hover {
    background-color: #444;
}

#clearHistoryButton {
    background-color: #555;
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#clearHistoryButton:hover {
    background-color: #d32f2f;
    color: white;
}

#logout-button {
    padding: 8px 15px;
    background-color: #555;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#logout-button:hover {
    background-color: #444;
}



#saveNotesButton {
    background-color: #555;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-bottom: 10px;
}

#saveNotesButton:hover {
    background-color: #367c39;
}

.notes-section {
    background-color: #222;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.coordinates-section {
    background-color: #222;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.history-section-wrapper {
    background-color: #222;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.history-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-top: 5px;
}

.history-controls label,
.history-controls input[type="checkbox"],
.history-controls button {
    margin-right: 5px;
}

.history-controls .coordinates-input {
    display: flex;
    gap: 5px;
}

.history-controls .coordinates-input input {
    width: 50px;
}

.history-button {
  padding: 5px 10px;
  background-color: #555;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  margin-right: 5px;
}

.history-button:hover {
  background-color: #444;
}


/* Модальное окно */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  padding-top: 60px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 15px #000;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: #bbb;
}

#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  font-size: 16px;
}

/* Кнопка гамбургер меню */
#menuToggle {
    position: fixed;
    top: 15px;
    left: 15px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 1200;
    background: transparent;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 6px 0;
    box-sizing: border-box;
}

#menuToggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: white;
    border-radius: 1px;
}

/* Меню выпадающее */
#menuList {
    display: none;
    position: fixed;
    top: 56px;
    left: 15px;
    background: rgba(34, 34, 34, 0.95);
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0,0,0,0.7);
    min-width: 140px;
    z-index: 1199;
    padding: 8px 0;
    user-select: none;
    list-style: none;
    margin: 0;
}

#menuList.active {
    display: block;
}

#menuList li {
    list-style: none;
}

#menuList li a {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: white;
    font-size: 14px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

#menuList li a i {
    margin-right: 10px;
    font-size: 16px;
    width: 18px;
    text-align: center;
}

#menuList li a:hover {
    background-color: #555;
}

/* Кнопка открытия админ-панели справа */
#adminToggle {
    position: fixed;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 1200;
    background: transparent;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

#adminToggle.visible {
    display: flex;
}

/* Админ-панель выезжающая справа */
#admin-panel {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background-color: #222;
    color: white;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: -3px 0 8px rgba(0,0,0,0.7);
    transition: right 0.3s ease;
    z-index: 1150;
    overflow-y: auto;
    font-family: Arial, sans-serif;
}

#admin-panel.open {
    right: 0;
}

#admin-panel h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    border-bottom: 1px solid #444;
    padding-bottom: 6px;
}
.favorite-star {
    font-size: 18px;
    color: rgba(255, 215, 0, 0.5);
    background: transparent;
    border: none;
    cursor: pointer;
    margin-left: 10px;
    user-select: none;
    transition: color 0.3s ease;
}

.favorite-star:hover {
    color: gold;
}
#admin-panel label,
#admin-panel select,
#admin-panel button {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    font-size: 14px;
}

#admin-history-list {
    margin-top: 10px;
    background: #333;
    padding: 10px;
    border-radius: 4px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    font-size: 13px;
    white-space: pre-wrap;
}

/* Контент основной с отступом справа, когда админ-панель открыта */
#app.with-admin-open {
    margin-right: 280px;
    transition: margin-right 0.3s ease;
}

/* Адаптив */
@media (max-width: 767px) {
    #menuList {
        top: 50px;
        left: 10px;
        min-width: 120px;
    }
    #admin-panel {
        width: 100%;
        height: 50vh;
        bottom: 0;
        top: auto;
        right: -100%;
        transition: right 0.3s ease;
    }
    #admin-panel.open {
        right: 0;
    }
    #app.with-admin-open {
        margin-right: 0;
    }
}

вот тебе ещё админ панель 
admin.css 

/* Базовые стили */
body {
    background-color: #121212;
    color: #eee;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Стили для чекбоксов и выделения */
.history-checkbox {
    transform: scale(1.2);
    cursor: pointer;
}

tr.selected td {
    background-color: rgba(0, 123, 255, 0.1) !important;
}

.history-controls {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

#selectedCount {
    font-size: 0.9em;
    padding: 5px 10px;
}

.export-controls {
    margin: 15px 0;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.btn-export {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: 15px;
}

.btn-export:hover {
    background: #45a049;
}

.history-photo {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 5px;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: transform 0.2s;
}

.history-photo:hover {
    transform: scale(1.5);
    z-index: 100;
}
#loadHistory:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
/* Хедер */
header {
    background-color: #1f1f1f;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

header h1 {
    margin: 0;
    font-size: 1.8rem;
}

#logout-button {
    background-color: #d32f2f;
    border: none;
    color: white;
    padding: 8px 16px;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#logout-button:hover {
    background-color: #b02828;
}

/* Навигация */
nav {
    background-color: #1a1a1a;
    padding: 10px 0;
    box-shadow: inset 0 -1px 0 rgba(255,255,255,0.1);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0 20px;
    display: flex;
    gap: 10px;
}

nav ul li {
    margin: 0;
}

nav ul li .tab-button {
    background: none;
    border: none;
    color: #bbb;
    font-size: 1rem;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li .tab-button:hover {
    background-color: #333;
    color: #fff;
}

nav ul li .tab-button.active {
    background-color: #367c39;
    color: white;
    font-weight: 600;
}

/* Основной контент */
main {
    flex-grow: 1;
    padding: 20px;
    background-color: #181818;
}

/* Секции вкладок */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Заголовки секций */
.tab-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.5rem;
}

/* Таблицы DataTables */
table.dataTable {
    border-collapse: collapse !important;
    width: 100% !important;
    color: #eee;
    background-color: #222;
    box-shadow: 0 0 8px rgba(0,0,0,0.6);
}

table.dataTable thead {
    background-color: #333;
}

table.dataTable thead th {
    color: #ddd;
    padding: 12px 10px;
    border-bottom: 2px solid #444;
    text-align: left;
}

table.dataTable tbody td {
    padding: 10px;
    border-bottom: 1px solid #444;
}
/* Координаты */
.coords-cell {
    font-family: monospace;
    font-size: 0.9em;
    background: rgba(0,0,0,0.05);
    padding: 5px;
    border-radius: 4px;
    display: inline-block;
}

/* Загрузка */
.loading-spinner {
    border: 3px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    border-top-color: #555;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Миниатюры */
.photo-thumb {
    transition: transform 0.2s;
}

.photo-thumb:hover {
    transform: scale(1.1);
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

/* Бейдж "еще фото" */
.more-photos-badge {
    display: inline-block;
    background: #444;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    font-size: 10px;
    vertical-align: middle;
    margin-left: 2px;
}

/* Модальное окно */
.photo-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.full-photo {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 28px;
    cursor: pointer;
    background: red;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
/* Для карты */
#mapMarkers {
    background-color: #222;
    border-radius: 6px;
    height: 400px;
    padding: 10px;
    overflow-y: auto;
}

/* Кнопка экспорта */
#exportHistory {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #367c39;
    border: none;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

#exportHistory:hover {
    background-color: #2e6a31;
}

/* Графики */
canvas {
    background-color: #222;
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: 0 0 8px rgba(0,0,0,0.6);
}

/* ===== PREMIUM MOBILE UI ===== */
/* Мобильные стили */
@media (max-width: 768px) {
    body {
        background: #000 url('/starry-night.jpg') no-repeat center center fixed;
        background-size: cover;
        -webkit-tap-highlight-color: transparent;
        overscroll-behavior: none;
    }
    
    .container {
        padding: 10px;
        max-width: 100%;
        margin: 0;
    }
    
/* Стили для экрана загрузки */
/* Мобильные стили */
@media (max-width: 768px) {
    body {
        background: #000 url('/starry-night.jpg') no-repeat center center fixed;
        background-size: cover;
        -webkit-tap-highlight-color: transparent;
        overscroll-behavior: none;
    }
    
    .container {
        padding: 10px;
        max-width: 100%;
        margin: 0;
    }
    
    /* Анимация загрузки */
    #loading-screen {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: opacity 0.5s ease-out;
    }
    
    .rocket-loader {
        width: 80px;
        height: 150px;
        position: relative;
        margin-bottom: 30px;
    }
    
    .rocket {
        width: 50px;
        height: 100px;
        background: linear-gradient(to bottom, #555, #888);
        border-radius: 50% 50% 10% 10%;
        position: absolute;
        bottom: 0;
        left: 15px;
        transform-origin: center bottom;
        animation: rocket-float 2s ease-in-out infinite;
    }
    
    .rocket::before {
        content: '';
        position: absolute;
        bottom: -15px;
        left: 10px;
        width: 30px;
        height: 15px;
        background: linear-gradient(to right, #ff4500, #ff8c00);
        border-radius: 0 0 50% 50%;
        filter: blur(5px);
        animation: flame 0.5s ease-out infinite alternate;
    }
    
    .window {
        position: absolute;
        width: 15px;
        height: 15px;
        background: #87CEEB;
        border-radius: 50%;
        top: 25px;
        left: 17px;
        box-shadow: 0 30px 0 #87CEEB;
    }
    
    .loading-text {
        color: #fff;
        font-size: 18px;
        margin-top: 20px;
        text-align: center;
        text-shadow: 0 0 10px rgba(255,255,255,0.5);
    }
    
    .progress-bar {
        width: 80%;
        height: 4px;
        background: rgba(255,255,255,0.2);
        border-radius: 2px;
        margin-top: 20px;
        overflow: hidden;
    }
    #loading-progress {
    height: 100%;
    width: 0;
    background: linear-gradient(to right, #4facfe, #00f2fe);
    transition: width 0.3s ease;
}
    
    .progress {
        height: 100%;
        width: 0;
        background: linear-gradient(to right, #4facfe, #00f2fe);
        transition: width 0.3s ease;
    }
    
    @keyframes rocket-float {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-10px) rotate(2deg); }
    }
    
    @keyframes flame {
        0% { transform: scale(1); opacity: 1; }
        100% { transform: scale(1.2); opacity: 0.8; }
    }
    
    /* Основной интерфейс */
    #app {
        border-radius: 20px 20px 0 0;
        background: rgba(10, 10, 20, 0.9);
        backdrop-filter: blur(10px);
        min-height: calc(100vh - 60px);
        margin-top: 60px;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
        padding-bottom: 80px;
    }
    
    .coordinates-section, 
    .notes-section, 
    .history-section-wrapper {
        background: rgba(30, 30, 40, 0.7);
        border-radius: 15px;
        padding: 15px;
        margin-bottom: 15px;
        border: 1px solid rgba(255,255,255,0.1);
    }
    
    h1, h2 {
        color: #4facfe;
        font-size: 1.5rem;
        margin-top: 0;
    }
    
    .input-fields input[type="text"],
    .input-fields input[type="date"],
    #notesText {
        width: 100%;
        padding: 12px 15px;
        margin-bottom: 12px;
        border-radius: 10px;
        border: 1px solid rgba(255,255,255,0.2);
        background: rgba(0,0,0,0.5);
        color: #fff;
        font-size: 16px;
    }
    
    .buttons {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .buttons button {
        flex: 1;
        min-width: 120px;
        padding: 12px;
        border-radius: 10px;
        background: linear-gradient(to right, #4facfe, #00f2fe);
        color: #000;
        font-weight: bold;
        border: none;
        font-size: 16px;
    }
    
    #clearHistoryButton {
        background: linear-gradient(to right, #ff416c, #ff4b2b);
        color: white;
    }
    
    /* Нижнее меню */
    .bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(20, 20, 30, 0.95);
        display: flex;
        justify-content: space-around;
        padding: 10px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
        z-index: 1000;
    }
    
    .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #aaa;
        text-decoration: none;
        font-size: 12px;
    }
    
    .nav-item i {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .nav-item.active {
        color: #4facfe;
    }
    
    /* История */
    #historyList {
        max-height: 300px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    #historyList li {
        padding: 12px;
        margin-bottom: 8px;
        background: rgba(0,0,0,0.3);
        border-radius: 10px;
        border-left: 3px solid #4facfe;
    }
    
    /* Модальное окно на мобильных */
    .modal {
        padding-top: 20px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 80vh;
    }
    
    .modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
    
    /* Импорт/экспорт */
    .import-export-section {
        flex-direction: column;
    }
    
    .import-export-section button {
        width: 100%;
        margin-bottom: 10px;
        padding: 12px;
        border-radius: 10px;
        background: rgba(0,0,0,0.3);
        color: white;
        border: 1px solid rgba(255,255,255,0.2);
    }
    
    /* Анимация перехода между экранами */
    .screen {
        display: none;
        animation: fadeIn 0.3s ease-out;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Улучшенные звезды для мобильных */
    .star {
        animation: twinkle 3s ease-in-out infinite;
    }
    
    /* Спутники для мобильных */
    .satellite {
        animation: flyMobile 20s linear infinite;
    }
    
    @keyframes flyMobile {
        0% { transform: translateX(-100px); }
        100% { transform: translateX(calc(100vw + 100px)); }
    }