body {
    font-family: Inter, sans-serif;
}

.modal#buyModal {
    width: 100%;
    height: 100vh;
    display: flex;
    bottom: 0;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.8);
    transition: background-color 0.3s ease;
    transform: translateY(100%);
    z-index: 100;
    overflow-y: auto;
}

.modal#buyModal .modal-content {
	background-color: #061D19;
	transform: translateY(100%);
	transition: transform 0.3s ease;
	z-index: 998;
	padding: 20px;
	border-radius: 20px 20px 0 0;
	height: fit-content;
	box-sizing: border-box;
	width: 100%;
	color: white;
	position: absolute;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}
.modal#buyModal .inventory-item {
    background-color: rgba(6, 34, 29, 1);
    margin-bottom: 20px;

}
.modal#buyModal .inventory-item .item-info {
    margin: 0;
}
.modal#buyModal .modal-header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 20px;
    flex-direction: row;
}

.modal#buyModal .modal-header h2 {
    color: white;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}

.modal#buyModal .close-btn {
    cursor: pointer;
    font-size: 24px;
    height: clamp(20px, 3vw, 30px);
    width: auto;
    position: absolute;
    right: 20px;
    top: 28px;
}

.modal#buyModal .item-image {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    width: clamp(145px, 30vw, 200px);
}

.modal#buyModal .item-card {
    background-color: #06221D;
}


.modal#buyModal .stickers {
	position: absolute;
	top: 10px;
	right: 0;
	display: flex;
	flex-direction: column;
}
.modal#buyModal .stickers img {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
}

.modal#buyModal .item-info {
    margin-bottom: 20px;
}

.modal#buyModal .item-info p {
    margin: 5px 0;
    font-size: 16px;
}

.modal#buyModal .item-name {
    font-size: 18px;
    font-weight: bold;
}

.modal#buyModal .item-price {
    font-size: 24px;
    color: #00ff91;
}

.modal#buyModal .item-exterior {
    font-size: 14px;
    color: #cccccc;
}

.modal#buyModal .item-text {
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    color: #fff;
    opacity: 0.2;
    margin-bottom: 80px;
}

.modal#buyModal .action-buttons {
	display: flex;
	flex-direction: column;
	gap: 15px;
	font-weight: 600;
	width: 100%;
}


.modal#buyModal .cancel-btn {
    background-color: #072c25 !important;
    color: #14CBB4 !important;
    border: none;
    cursor: pointer;
    text-align: center;
}

.modal#buyModal .action-buttons button {
    background-color: #14CBB4;
    color: #232323;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    height: 50px;
    font-weight: 501;
    line-height: 16px;
    text-align: center;
    width: 100%;
}

.modal#buyModal .guaranteed-buy-btn.disabled {
    background-color: grey;
    color: #232323;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    height: 50px;
    font-weight: 501;
    line-height: 16px;
    text-align: center;
    width: 100%;
   
}

/* Маленькая модалка */
.modal#small-modal {
    width: 90%;
    /* Ширина окна */
    min-height: 150px;
    /* Минимальная высота для предотвращения сжатия */
    position: fixed;
    top: 50%;
    /* Центрирование по вертикали */
    left: 50%;
    /* Центрирование по горизонтали */
    transform: translate(-50%, -50%);
    /* Центрирование через трансформацию */
    background-color: rgba(0, 0, 0, 0.8);
    /* Фон с полупрозрачностью */
    z-index: 100;
    /* Чтобы окно было поверх других элементов */
    padding: 20px;
    border-radius: 20px;
    /* Округленные углы */
}

.modal#small-modal .modal-content {
    background-color: #061D19;
    /* Темный фон */
    color: white;
    /* Белый текст */
    padding: 20px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}



.modal#small-modal .modal-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    /* Отступ под заголовком */
    color: white;
}

.modal#small-modal .close-btn {
    background-color: #14CBB4;
    /* Кнопка закрытия такого же цвета */
    color: #232323;
    /* Тёмный цвет текста */
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    padding: 10px 20px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
    width: 100%;
    /* Полная ширина кнопки */
    max-width: 200px;
    /* Ограничение ширины кнопки */
    margin: 0 auto;
    /* Центрирование кнопки */
    display: block;
    transition: background-color 0.3s ease;
}

.modal#small-modal .close-btn:hover {
    background-color: #00ff91;
    /* Изменение цвета при наведении */
}