/* static/css/style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    padding-bottom: 80px; /* Чтобы футер не перекрывал контент */
}

.container {
    max-width: 100%;
    padding: 15px;
}

h2, h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.card-img-top {
    height: 150px;
    object-fit: cover;
}

.btn {
    border-radius: 8px;
    font-weight: 500;
}

.btn-primary, .btn-success, .btn-warning, .btn-secondary {
    margin-right: 5px;
    margin-bottom: 5px;
}

.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-control, .form-select {
    border-radius: 8px;
    box-shadow: none;
    border: 1px solid #ced4da;
}

.form-control:focus, .form-select:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.table th {
    background-color: #e9ecef;
    font-weight: 600;
}

.img-fluid {
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.footer-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    border-top: 1px solid #dee2e6;
    z-index: 1000;
    padding: 10px 0;
}

/* Для мобильных экранов */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }

    .btn {
        font-size: 0.875rem;
        padding: 0.375rem 0.75rem;
    }

    .form-control, .form-select {
        font-size: 0.875rem;
    }

    .list-group-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .list-group-item form {
        margin-top: 10px;
        width: 100%;
    }

    .img-fluid {
        max-height: 200px;
    }
}


.card {
    transition: transform 0.2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #ffffff;
    padding: 10px;
    border-bottom: 1px solid #eee;
}

.card-body {
    padding: 10px;
}

.card-title {
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-text {
    font-size: 0.8rem;
}
.stats-card {
    transition: transform 0.3s ease;
}

.stats-card:hover {
    transform: scale(1.02);
}



