.admin-photo-cell {
    width: 100%;
    height: 0;
    padding-top: calc(100% * 9/16);
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 4px;
}

.grid-view.clickable-rows tbody tr {
    transition: all 0.3s ease;
}

.grid-view.clickable-rows tbody tr:hover {
    background-color: #e9ecef !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Admin view page styles */
.objects-view h1 {
    font-size: 1.75rem;
    margin-right: 1rem;
}

.objects-view .btn-primary {
    min-width: 120px;
}

.objects-view .dropdown-item {
    padding: 0.5rem 1rem;
}

.objects-view .dropdown-item.text-danger:hover {
    background-color: #fce8e8;
}

/* Fixed bottom panel for admin forms */
.fixed-bottom-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    z-index: 1001;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Add padding to the bottom of the form to prevent content from being hidden behind the panel */
.objects-form {
    padding-bottom: 70px;
}

/* Predefined pages cards */
.predefined-pages .card {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border: none;
}

.predefined-pages .card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    padding: 0.5rem 1rem;
}

.predefined-pages .card-title {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

.predefined-pages .card-header a {
    color: #0d6efd;
    text-decoration: none;
    font-size: 0.875rem;
}

.predefined-pages .card-header a:hover {
    text-decoration: underline;
}

.predefined-pages .card .grid-view {
    margin: -1px;
}

.predefined-pages .card .table {
    margin-bottom: 0;
}

.predefined-pages .card .table th {
    border-top: none;
}
