.admin-page {
    min-height: 100vh;
    padding: 20px;
    background: white;
    color: #111;
}

.admin-page h1,
.admin-page h2,
.admin-page h3,
.admin-page p,
.admin-page label,
.admin-page span,
.admin-page td,
.admin-page th {
    color: #111 !important;
}

.admin-page table,
.admin-page .table {
    background: white;
}

.admin-page .form-control {
    background: white;
    color: #111;
}

.admin-photos-page {
    padding: 32px;
}

.admin-photos-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.admin-photos-header h1 {
    margin-bottom: 4px;
}

.admin-upload-button {
    display: inline-flex;
    position: relative;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    cursor: pointer;
}

.admin-upload-button input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.admin-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.admin-photo-card {
    overflow: hidden;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}

.admin-photo-card > img {
    display: block;
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #e9ecef;
}

.admin-photo-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px;
}

.admin-photo-info > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-photos-empty {
    display: grid;
    place-items: center;
    min-height: 280px;
    padding: 32px;
    border: 2px dashed #ced4da;
    border-radius: 12px;
    text-align: center;
}

.admin-photos-empty i {
    color: #6c757d;
    font-size: 3rem;
}

@media (max-width: 600px) {
    .admin-photos-page {
        padding: 20px 14px;
    }

    .admin-photos-header {
        flex-direction: column;
    }
}
