body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.private-container header{
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    padding: 20px 0;
    z-index: 1000;
}

.private-container nav ul {
    list-style: none; /* Убираем маркеры списка */
    padding: 0;
    margin: 0;
    display: flex; /* Включаем флексбокс для горизонтального выравнивания */
    justify-content: center; /* Центрируем элементы списка */
}

.private-container nav ul li {
    margin: 0 10px; /* Добавляем небольшой отступ между элементами списка */
}

.private-container nav ul li a:hover {
    text-decoration: underline; /* Добавляем подчеркивание при наведении */
}

/* Общие стили для всех элементов навигации */
.private-container header, .private-container nav {
    width: 100%;
    background-color: #f0f0f0;
}

/* Сдвигаем основное содержимое, чтобы оно не перекрывалось фиксированной шапкой */
.private-container {
    padding-top: 100px; /* Величина отступа может зависеть от общей высоты вашего header */
	min-width: 600px;
}

.private-container nav ul li a {
    text-decoration: none;
    color: #007bff; /* Цвет ссылок, можно настроить под ваш дизайн */
    padding: 10px;
    display: block;
}

.private-container nav ul li a:hover, .private-container nav ul li a.active {
    background-color: #0056b3;
    color: white;
    border-radius: 5px;
}

/* Стилизация вкладок профиля */
.tab-content nav {
    margin-top: 20px; /* Добавляем отступ между шапкой и навигацией вкладок профиля */
}

.tab-content nav ul {
    justify-content: flex-start; /* Выравниваем вкладки профиля влево */
}

.signin-container {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

input[type="email"], input[type="password"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #0056b3;
}

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

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}
.error-message {
    color: #ff0000;
    font-size: 14px;
    margin-top: 10px;
}

.tab-content { display: none; }
.active { display: block; }
.profile-content { display: none; }
.profile-content.active { display: block; }
.upload-content { display: none; }
.upload-content.active { display: block; }
.favorites-content { display: none; }
.favorites-content.active { display: block; }

#dropArea {
    width: 320px;
    height: 320px;
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-size: 14px;
    text-align: center;
    margin-bottom: 10px; /* Отступ между областью перетаскивания и кнопкой */
}
#dropArea img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
#dropArea .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
}
#fileInput {
    display: none;
}
#loadingSpinner {
    display: none;
}
.buttonContainer {
    text-align: center;
    z-index: 1;
}

header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10; /* Убедитесь, что z-index достаточно высок, чтобы шапка была над содержимым */
    background-color: #fff; /* Цвет фона, можно изменить на нужный */
    /* Добавьте другие стили шапки по желанию (padding, box-shadow и т.д.) */
}

/* Стили для навигационных вкладок под шапкой */
.private-container nav {
    display: flex;
    justify-content: center; /* Центрирование вкладок */
    padding: 10px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Опционально, для визуального разделения */
    position: sticky;
    top: 60px; /* Высота header, чтобы nav "прилипала" сразу под ним */
    background-color: #f0f0f0; /* Фон вкладок, можно изменить на нужный */
    z-index: 5; /* Убедитесь, что z-index меньше, чем у header */
}

/* Стили для элементов списка внутри nav */
.private-container nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.private-container nav ul li {
    margin: 0 10px; /* Расстояние между вкладками */
}

.private-container nav ul li a {
    text-decoration: none;
    color: #007bff; /* Цвет текста ссылок, можно изменить */
}

/* Стилизация активного состояния ссылки */
.private-container nav ul li a.active {
    font-weight: bold;
}

#photo {
	width: fit-content;
}