/* Define CSS variables */
:root {
    --border-color: rgba(255, 255, 255, 0.3);
}

/* A card-like container for each day’s content */
.day-container {
    margin-bottom: 1rem;
    border-radius: 10px;
    padding-top: 0.5rem;
    padding-right: 0.25rem;
    padding-bottom: 0rem;
    padding-left: 0.25rem;
    background-color: #222;
}

.day-title {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #fff;
    text-align: center;
    font-weight: bold;
    font-size: 1.1rem;
}

table {
    margin-top: 5px;
    border-collapse: collapse;
    width: 100%;
    background-color: #000;
}

th {
    border: 1px solid var(--border-color);
    padding: 3px;
    /* Adjust the padding value as needed for header cells */
    color: #fff;
    background-color: #222;
    vertical-align: middle;
}

td {
    border: 1px solid var(--border-color);
    padding: 0px;
    /* Ensure no padding in data cells */
    color: #fff;
    vertical-align: middle;
}

th {
    background-color: #222;
}

.text-padding {
    padding: 2px;
    /* Adjust the padding value as needed */
}

/* Cells containing wind/swell direction + text */
.dir-cell {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Arrow icons (external SVG) for wind & swell */
.dir-arrow {
    width: 20px;
    /* Adjust size as needed */
    height: 20px;
    flex-shrink: 0;
    display: block;
    margin-right: 2px;
}

/* Highlight style for the row/time nearest to user’s local time */
.highlight-time {
    background-color: #444;
    font-weight: bold;
}

.swell-details {
    display: flex;
    align-items: center;
    /* vertical centering */
    justify-content: center;
}

.swell-details>div {
    flex: 1;
    /* equal width */
    text-align: center;
    /* center text horizontally */
    display: flex;
    align-items: center;
    /* center contents vertically */
    justify-content: center;
    /* center contents horizontally */
    box-sizing: border-box;
    padding: 2px 4px;
    border-right: 1px solid #ccc;
}

.swell-details>div:last-child {
    border-right: none;
}

.table-footnote {
    display: flex;
    justify-content: space-around;
    /* Distribute items with space around */
    font-size: 0.9em;
    color: #a9a9a9;
    padding: 4px;
}

.footnote-item {
    margin: 0 10px;
    /* Optional: Add some horizontal margin to each item */
}

.tide-info {
    display: flex;
    justify-content: space-around;
    /* Distribute items with space around */
    font-size: 0.9em;
    color: #fff;
    padding: 4px;
}

.tide-item {
    margin: 0 10px;
    /* Optional: Add some horizontal margin to each item */
}

.wind-bar {
    display: inline-block;
    vertical-align: middle;
}

#current-conditions-holder table,
#current-conditions-holder table td,
#current-conditions-holder table th {
    border: none !important;
    background-color: transparent !important;
}