/* ==========================
   GENERAL STYLING
========================== */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
}

.wrap h1 {
    margin-bottom: 1rem;
}

/* ==========================
   INPUT SIZES
========================== */

.edit-input {
    padding: 6px 10px;
    font-size: 14px;
    line-height: 1.4;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.input-wide {
    width: 500px;
}

.input-big {
    width: 385px;
}

.input-medium {
    width: 200px;
}

.input-narrow {
    width: 70px;
}
/* ==========================
   TABLE STYLING
========================== */

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th,
.admin-table td {
    padding: 8px 12px;
    border: 1px solid #ccc;
    vertical-align: top;
}

.admin-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    text-align: left;
}
.admin-table tbody tr:nth-child(even) {
    background-color: #f7f7f7; /* Pale grey striping */
}


/* ==========================
   BUTTON STYLES
========================== */

.edit-update-button,
.action-btn {
    background-color: #4588ab;
    color: #fff;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
    margin-left: 5px;
    transition: background-color 0.2s ease-in-out;
}

.edit-update-button:hover,
.action-btn:hover {
    background-color: #005a87;
}

.action-btn.danger-btn {
    background-color: #dc3232;
}

.action-btn.danger-btn:hover {
    background-color: #a00;
}

/* ==========================
   LAYOUT STYLING
========================== */

.grid-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
}

.edit-row-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 10px 0;
    gap: 10px;
}

.row-label {
    font-weight: 600;
    margin-right: 10px;
    min-width: 90px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.edit-section-wrapper {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* ==========================
   PAGINATION
========================== */

.pagination {
    margin-top: 20px;
}

.pagination-link {
    margin: 0 4px;
    text-decoration: none;
    color: #0073aa;
}

.pagination-link:hover {
    text-decoration: underline;
}

.pagination-link.active {
    font-weight: bold;
    text-decoration: underline;
}

.edit-row-btn {
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 3px;
}

.edit-row-btn:hover {
    background-color: #e0e0e0;
}

/* Highlight edited row (example JS toggle) */
tr.row-highlight {
    background-color: #ffffe0 !important;
}

/* ==========================
   IMAGE COUNT BAR
========================== */

.image-count {
    font-weight: 600;
    font-size: 14px;
    color: #333;
}


/* ==========================
   MISC
========================== */

#select-all {
    transform: scale(1.2);
    cursor: pointer;
}
