a,
p,
label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: black;
}

body {
    margin: 0;
    background-color: #515f64;
}

/* #imageFeed {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
} */

.feed-container {
    background-color: white;
}

.rowContainer {
    border: 1px solid #ccc;
    padding: 8px;
    width: 100%;
}

.rowContainer img {
    max-width: 150px;
    max-height: 75px;
    width: auto;
    height: auto;
    display: block;
}

.rowContainer p {
    margin: 2px 0px;
}

.topContainer {
    gap: 12px;
    display: flex;
    flex-direction: row;
}

/* Hamburger menu */

.hamburger-menu {
    position: relative;
}

.hamburger-icon {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.menu-items {
    position: absolute;
    top: 30px;
    left: 10px;
    width: 220px;
    z-index: 1000;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    background-color: white;
    padding: 4px 0;
}

.menu-item {
    padding: 8px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    cursor: pointer;
    color: #1a1a1a;
}

.menu-item:hover {
    background-color: #f0f0f0;
}

.menu-divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 4px 0;
}

.menu-item-danger {
    color: #d9534f;
}

.headerButton {
    width: 100%;
    padding: 8px;
    text-align: left;
    cursor: pointer;
}

button.headerButton {
    border-radius: 8px;
}

button.lowerButton {
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 8px 4px 4px 0px;
    cursor: pointer;
}

button.deleteButton {
    background-color: #d9534f;
    color: white;
    border: none;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 8px 4px 4px 0px;
    cursor: pointer;
}

button.regenButton {
    background-color: blueviolet;
    color: white;
    border: none;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 8px 4px 4px 0px;
    cursor: pointer;
}

button.skyBlueButton {
    background-color: skyblue;
    color: white;
    border: none;
    border-radius: 3px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 8px 4px 4px 0px;
    cursor: pointer;
}

button.save {
    background-color: blue;
    color: white;
    border: none;
    padding: 8px 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: 4px 2px;
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: 0.2;
}

.done-button {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    text-align: center;
    background-color: #353535;
    color: white;
    cursor: pointer;
}

.feed-save-button {
    display: inline-block;
    height: 40px;
    padding: 0 20px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-align: center;
    background-color: #4f86c4;
    color: white;
    cursor: pointer;
}

.outline-button {
    display: inline-block;
    height: 40px;
    padding: 0 20px;
    border: 1px solid #353535;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-align: center;
    background-color: white;
    color: #353535;
    cursor: pointer;
}

.mini-button {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid #35353555;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    text-align: center;
    background-color: white;
    color: #353535;
    cursor: pointer;
}
.cancel-done-group {
    position: absolute;
    right: 6px;
    bottom: 0px;
    display: flex;
    gap: 12px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 15% auto;
    padding: 30px;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

iframe {
    width: 100%;
    height: 400px;
}

.top-container {
    position: sticky;
    top: 0;
    margin: 0;
    background-color: #515f64;
    z-index: 10;
}

.app-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
}

.app-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.app-bar-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

.env-select::part(form-control) {
    display: flex;
    align-items: center;
    gap: 8px;
}

.env-select::part(form-control-label) {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.env-select::part(form-control-input) {
    width: 140px;
}

.dashboard-button::part(base) {
    background-color: #b5edae;
    border-color: #b5edae;
    color: #143b11;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    transition: background-color 0.15s ease;
}

.dashboard-button:hover::part(base) {
    background-color: #c8f3c2;
    border-color: #c8f3c2;
}

.nav-tabs {
    display: flex;
    gap: 4px;
    padding: 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-tab-button {
    flex-shrink: 0;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    padding: 10px 12px 9px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-tab-button:hover {
    color: white;
}

.nav-tab-button.active {
    color: white;
    border-bottom-color: #3fd538;
}

.sub-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 20px;
}

#leftSubHeaderButton,
#rightSubHeaderButton {
    display: flex;
    gap: 8px;
}

.sub-header-container .outline-button,
.sub-header-container .feed-save-button {
    height: 30px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 13px;
}

.sub-header-container .outline-button {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: white;
}

.sub-header-container .outline-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.sub-header-container .feed-save-button:disabled {
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.35);
    cursor: default;
}

/* Table styles */
.feed-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.feed-table th {
    background-color: #f5f5f5;
    padding: 12px 8px;
    text-align: left;
    border-bottom: 2px solid #ddd;
    font-weight: 600;
    font-size: 14px;
}

.feed-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
}

.feed-table tr:hover {
    background-color: #f9f9f9;
}

.table-button {
    border-radius: 3px;
    font-size: 12px;
}

.delete-button {
    background-color: #d9534f;
    color: white;
    border: none;
    border-radius: 3px;
    padding: 4px 8px;
    margin-left: 5px;
    cursor: pointer;
    font-size: 12px;
}

.delete-button:hover {
    background-color: #c9302c;
}
