.go-section-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.go-upload-row {
    display: flex;
    align-items: flex-end;
    gap: 25px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.go-timezone-label {
    font-weight: 400;
    color: #646970;
}

.go-field .description {
    margin-top: 5px;
    color: #646970;
}

.go-field {
    display: flex;
    flex-direction: column;
}
 
.go-field label {
    margin-bottom: 8px;
}

.go-field input[type="file"] {
    width: 280px;
}

.go-field input[type="datetime-local"] {
    width: 220px;
}

.go-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}


/* Filters */

.go-filter-form {
    background: #fff;
    border: 1px solid #dcdcde;
    padding: 15px;
    margin: 20px 0;
}

.go-filter-row {
    display: flex;
    align-items: flex-end;
    gap: 15px;
    flex-wrap: wrap;
}

.go-filter-row > div {
    display: flex;
    flex-direction: column;
}

.go-filter-row label {
    font-weight: 600;
    margin-bottom: 6px;
}

.go-filter-row input[type="search"] {
    width: 250px;
}

.go-filter-row select {
    min-width: 160px;
}

.go-filter-buttons {
    display: flex !important;
    flex-direction: row !important;
    gap: 5px;
}


/* Result count */

.go-result-count {
    color: #50575e;
}


/* Table */

.widefat td {
    vertical-align: middle;
}

.widefat th a {
    text-decoration: none;
}

.widefat th a:hover {
    text-decoration: underline;
}


/* Status */

.go-status {
    font-weight: 600;
}

.go-status.scheduled {
    color: #d97706;
}

.go-status.live {
    color: #16a34a;
}

.go-status.expired {
    color: #dc2626;
}


/* Store-specific */

.go-store-yes {
    color: #16a34a;
    font-weight: 600;
}

.go-store-no {
    color: #666;
}


/* Pagination */

.go-pagination {
    margin-top: 20px;
    text-align: center;
}

.go-pagination .page-numbers {
    display: inline-block;
    min-width: 32px;
    padding: 6px 10px;
    margin: 0 2px;
    border: 1px solid #dcdcde;
    background: #fff;
    text-decoration: none;
}

.go-pagination .page-numbers.current {
    background: #2271b1;
    color: #fff;
    border-color: #2271b1;
}


/* Edit form */

.go-edit-box {
    background: #fff;
    border: 1px solid #dcdcde;
    padding: 20px;
    margin: 20px 0;
}

.go-edit-box h2 {
    margin-top: 0;
}

.go-edit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.go-edit-grid > div {
    display: flex;
    flex-direction: column;
}

.go-edit-grid label {
    font-weight: 600;
    margin-bottom: 6px;
}

.go-edit-grid input,
.go-edit-grid select,
.go-edit-grid textarea {
    width: 100%;
}

.go-edit-full {
    grid-column: 1 / -1;
}

@media screen and (max-width: 1200px) {

    .go-edit-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media screen and (max-width: 782px) {

    .go-edit-grid {
        grid-template-columns: 1fr;
    }

    .go-edit-full {
        grid-column: auto;
    }

}

/* -----------------------------------------
   Actions
----------------------------------------- */

.go-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


/* Remove form spacing */

.go-delete-form {
    display: inline-flex;
    margin: 0;
    padding: 0;
}


/* Icon buttons */

.go-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    padding: 0;

    border: 0;
    background: transparent;

    cursor: pointer;

    text-decoration: none;
}


/* Dashicons */

.go-action-icon .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}


/* Edit */

.go-edit-icon {
    color: #2271b1;
}

.go-edit-icon:hover {
    color: #135e96;
}


/* Delete */

.go-delete-icon {
    color: #d63638;
}

.go-delete-icon:hover {
    color: #b32d2e;
}


/* Tooltip */

.go-action-icon {
    position: relative;
}


/* Slightly smaller table text */

.widefat td,
.widefat th {
    vertical-align: middle;
}


/* Keep store and region compact */

.widefat td:nth-child(2),
.widefat th:nth-child(2) {
    white-space: nowrap;
}

.widefat td:nth-child(6),
.widefat th:nth-child(6) {
    white-space: nowrap;
}
