body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
	height: 100%;
	display: flex;
    flex-direction: column;
    min-height: 100vh;
	
}
main {
    flex: 1 0 auto;
}

header {
    background-color: #f0f0f0;
    padding: 1em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    margin-left: 1em;
}

.rounded-square {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 2em;
    margin: 2em auto;
    max-width: 300px;
    display: flex;
    flex-direction: column;
}
.rounded-squareH {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 2em;
    margin: 2em auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
}
input, button {
    margin: 0.5em 0;
    padding: 0.5em;
}
nav ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display: flex;
	justify-content: space-around;
}
nav li {
	padding: 10px 20px;
}
nav a {
	text-decoration: none;
	color: #333;
	font-weight: bold;
	transition: all 0.3s ease;
}
nav a:hover {
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 5px;
	padding: 10px 20px;
}
button {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}
input {
    width: 93%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
select {
    width: 100%;
    padding: 10px;
	margin: 3px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.horizontal {
    display: flex;
	flex-direction: row;
    align-items: center;
    gap: 10px; /* Отступ между input и button */
}
.horizontalA {
    display: flex;
	flex-direction: row;
    align-items: center;
    gap: 10px; /* Отступ между input и button */
}

.horizontal input {
    flex-grow: 1;
	width: 93%;
    padding: 10px;
    border: 1px solid #ccc;

}

.horizontal button {
    padding: 8px 12px;
    width: 18px;
    border: 1px solid #ccc;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.horizontal button img {
    width: 16px;
    height: 16px;
}
.list {
	cursor: pointer;
}
h2 {
    margin-top: 0;
    color: #333;
}
/*footer {
    background-color: #f0f0f0;
    
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    text-align: center;
}*/
footer {
    flex-shrink: 0;
    background-color: #f0f0f0;
	bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    text-align: center;
}
.footer {
    background-color: #f0f0f0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    text-align: center;
}
/* Специфический стиль для кнопки с классом cancel */
button.cancel {
    background-color: #ff0000; /* Красный цвет фона */
    color: white;
}

button.cancel:hover {
    background-color: #cc0000; /* Тёмно-красный цвет при наведении */
}
.status {
    background-color: #ffebee; /* Светло-красный фон */
    border: 1px solid #f44336; /* Красная рамка */
    color: #d32f2f; /* Темно-красный текст */
    padding: 10px 15px; /* Внутренние отступы */
    margin-top: 20px; /* Отступ сверху от формы входа */
    border-radius: 4px; /* Скругленные углы */
    font-size: 14px; /* Размер шрифта */
    line-height: 1.5; /* Межстрочный интервал */
    text-align: center; /* Выравнивание текста по центру */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Легкая тень */
}
.red {
    background-color: #ffebee; /* Светло-красный фон */
    border: 1px solid #f44336; /* Красная рамка */
    color: #d32f2f; /* Темно-красный текст */
    padding: 10px 15px; /* Внутренние отступы */
    margin-top: 20px; /* Отступ сверху от формы входа */
    border-radius: 4px; /* Скругленные углы */
    font-size: 14px; /* Размер шрифта */
    line-height: 1.5; /* Межстрочный интервал */
    text-align: center; /* Выравнивание текста по центру */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Легкая тень */
}
.yellow {
    background-color: #efffad; /* Светло-красный фон */
    border: 1px solid #eeff00; /* Красная рамка */
    color: #bd7b00; /* Темно-красный текст */
    padding: 10px 15px; /* Внутренние отступы */
    margin-top: 20px; /* Отступ сверху от формы входа */
    border-radius: 4px; /* Скругленные углы */
    font-size: 14px; /* Размер шрифта */
    line-height: 1.5; /* Межстрочный интервал */
    text-align: center; /* Выравнивание текста по центру */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Легкая тень */
}
.green {
    background-color: #d5ffcc; /* Светло-красный фон */
    border: 1px solid #2fff00; /* Красная рамка */
    color: #188500; /* Темно-красный текст */
    padding: 10px 15px; /* Внутренние отступы */
    margin-top: 20px; /* Отступ сверху от формы входа */
    border-radius: 4px; /* Скругленные углы */
    font-size: 14px; /* Размер шрифта */
    line-height: 1.5; /* Межстрочный интервал */
    text-align: center; /* Выравнивание текста по центру */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Легкая тень */
}
.blue {
    background-color: #d6f8ff; /* Светло-красный фон */
    border: 1px solid #006370; /* Красная рамка */
    color: #006370; /* Темно-красный текст */
    padding: 10px 15px; /* Внутренние отступы */
    margin-top: 20px; /* Отступ сверху от формы входа */
    border-radius: 4px; /* Скругленные углы */
    font-size: 14px; /* Размер шрифта */
    line-height: 1.5; /* Межстрочный интервал */
    text-align: center; /* Выравнивание текста по центру */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Легкая тень */
}
@keyframes expand {
    from {
        width: 100%;
    }
    to {
        width: 0%;
    }
}
#notification-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.notification {
    position: relative;
	
    max-width: 300px;
    margin-bottom: 10px;
    border-radius: 4px;
    
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timer {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background-color: currentColor; /* Цвет полоски таймера подстраивается под цвет текста */
    transition: width 3s linear;
	animation: expand 3s linear forwards;
}
.status strong {
    font-weight: bold;
}
textarea{
    width: 93%; 
    padding: 8px;
	font-family: Arial, sans-serif;
}
.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #2196F3;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
#loading {
    text-align: center;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hidden {
    display: none;
}
@media (max-width: 1100px) {
  .desktop-menu {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  
}

@media (min-width: 1100px) {
  .desktop-menu {
    display: block;
  }
  .mobile-menu {
    display: none;
  }
}

.hamburger {
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 1000;
  width: 40px;
  height: 40px;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-items {
  display: none;
  position: fixed;
  top: 60px;  /* Изменено с 0 на 60px */
  right: -250px;
  width: 250px;
  height: calc(100% - 60px);  /* Уменьшена высота */
  background-color: #f8f8f8;
  box-shadow: -2px 0 5px rgba(0,0,0,0.2);
  transition: right 0.3s ease-in-out;
  z-index: 999;
}

.menu-items.active {
	display: block;
  right: 0;
}

.menu-items a {
  display: block;
  padding: 15px;
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #ddd;
}

.menu-items a:hover {
  background-color: #e8e8e8;
}
.pricing-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    width: 300px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.price {
    font-size: 40px;
    font-weight: bold;
    color: #333;
}

.price span {
    font-size: 16px;
    color: #666;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.check {
    color: #4CAF50;
    margin-right: 10px;
}

.cross {
    color: #ff0000;
    margin-right: 10px;
}

.premium {
    border: 2px solid #4CAF50;
}

.ribbon {
    position: absolute;
    top: 20px;
    right: -15px;
    padding: 8px 15px;
    background: #4CAF50;
    color:white;
    font-size: 14px;
    border-radius: 3px;
    transform: rotate(45deg);
}

button.premiumB {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button.current-plan {
	width: 100%;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
    background-color: #e0e0e0;
    color: #666;
    cursor: default;
}

button.current-plan:hover {
    background-color: #e0e0e0;
}

@media (max-width: 768px) {
    .pricing-container {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 300px;
        margin-bottom: 30px;
    }
}