/* Дополнительные стили для Django */ .form-control { background: rgba(14, 146, 21, 0.1); border: 1px solid rgba(9, 180, 23, 0.2); color: rgb(255, 255, 255); border-radius: 9999px; padding: 0.5rem 1rem; width: 100%; } .form-control:focus { background: rgba(14, 146, 69, 0.15); border-color: rgba(9, 180, 60, 0.4); box-shadow: 0 0 0 0.2rem rgba(9, 180, 32, 0.25); color: white; outline: none; } .form-control::placeholder { color: rgba(255, 255, 255, 0.548); } textarea.form-control { border-radius: 1rem; resize: none; } .line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } .alert { border-radius: 1rem; padding: 1rem; margin-bottom: 1rem; } /* Анимации */ @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .fade-in { animation: fadeIn 0.5s ease-out; } /* Responsive */ @media (max-width: 768px) { .container { padding-left: 1rem; padding-right: 1rem; } .grid { gap: 1rem; } } /* Кнопки */ .btn-primary { background: rgba(16, 65, 0.541); border: 1px solid rgba(10, 80, 0.473); color: white; border-radius: 9999px; padding: 0.5rem 1rem; transition: all 0.3s ease; text-decoration: none; display: inline-block; } .btn-primary:hover { background: rgba(14, 146, 84, 0.616); color: white; text-decoration: none; } /* Карточки */ .card { background: rgba(0, 0, 0, 0.4); backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1rem; } /* Placeholder для изображений */ .image-placeholder { background: #3c5137; display: flex; align-items: center; justify-content: center; color: #9CA3AF; } input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }