/* Moon and Sun indicators similar to Meteoblue */
.indicator-cell {
    width: 30px;
    text-align: center;
    vertical-align: middle;
    padding: 2px !important;
}

.sun-icon {
    color: #ccaa44;
    font-size: 18px;
    display: inline-block;
    line-height: 1;
}

.moon-icon {
    color: #88aacc;
    font-size: 18px;
    display: inline-block;
    line-height: 1;
}

.moon-icon.phase-35:after,
.moon-icon.phase-25:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: #15152a;
    border-radius: 50%;
    z-index: -1;
}

.moon-icon.phase-25:after {
    width: 75%; /* 25% visible */
}

.moon-icon.phase-35:after {
    width: 65%; /* 35% visible */
}

/* Better time cell colors - muted version */
.hour-row td.time {
    position: relative;
    padding-right: 15px;
    width: 40px;
    text-align: center;
}

.hour-row.night td.time {
    background-color: #334466 !important;
    color: #fff !important;
}

.hour-row.daytime td.time {
    background-color: #a8a844 !important;
    color: #000 !important;
}

.hour-row.dawn td.time,
.hour-row.dusk td.time {
    background-color: #4466aa !important;
    color: #fff !important;
}

.hour-row.astronomical-dawn td.time,
.hour-row.astronomical-dusk td.time,
.hour-row.nautical-dawn td.time,
.hour-row.nautical-dusk td.time {
    background-color: #223366 !important;
    color: #fff !important;
}

/* Current hour highlighting */
.hour-row.current-hour-row {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
    position: relative;
}

.time.current-hour {
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
}

/* Time cells indicators */
.hour-row.sunrise td.time::after,
.hour-row.sunset td.time::after,
.hour-row.moonrise td.time::after,
.hour-row.moonset td.time::after {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
    line-height: 1;
}

.hour-row.sunrise td.time::after {
    content: '↑';
    color: #ccaa44;
}

.hour-row.sunset td.time::after {
    content: '↓';
    color: #ccaa44;
}

.hour-row.moonrise td.time::after {
    content: '↑';
    color: #88aacc;
}

.hour-row.moonset td.time::after {
    content: '↓';
    color: #88aacc;
}

/* Table layout improvements */
.table-seeing {
    border-collapse: collapse;
}

.table-seeing td,
.table-seeing th {
    padding: 6px 8px;
}

/* Remove gap from first row to header */
.table-seeing tr:first-child td {
    border-top: none;
}

