/* Page styles for templates/tide_detail.html (moved out of the template, issue #96) */
.header {
    padding: 2rem;
    background: linear-gradient(180deg, var(--ocean-dark) 0%, var(--ocean-abyss) 100%);
    border-bottom: 1px solid var(--card-border);
}
.main {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 2rem;
}
.tide-summary-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.tide-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr));
    gap: 0.75rem;
}
.tide-day-header {
    grid-column: 1 / -1;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-primary);
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid var(--card-border);
}
.tide-cell {
    border-radius: 8px;
    padding: 0.875rem;
    text-align: center;
}
.tide-cell.high {
    background: rgba(72, 187, 120, 0.12);
    border: 1px solid rgba(72, 187, 120, 0.25);
}
.tide-cell.low {
    background: rgba(99, 179, 237, 0.12);
    border: 1px solid rgba(99, 179, 237, 0.25);
}
.tide-cell .label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}
.tide-cell.high .label { color: var(--status-open); }
.tide-cell.low  .label { color: #63b3ed; }
.tide-cell .time {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1rem;
}
.tide-cell .height {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-top: 0.15rem;
}
.sun-row {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}
.sun-row strong { color: var(--text-primary); }
.back-link {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    background: var(--ocean-glow);
    color: var(--ocean-deep);
    text-decoration: none;
    font-weight: 600;
}
