/* panels-clock.css */
/* Styles for the Icosmo Matrix Box Display */



/* Matrix Box Display Styles */
#icosmo-matrix-synth-container .color-clock-boxes-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    margin-bottom: 10px;
    gap: 8px;
}
#icosmo-matrix-synth-container .panel-color-box { /* Used for hour, minute, second color boxes in matrix view */
    flex: 1;
    aspect-ratio: 1 / 1;
    max-height: 50px;
    border: none;
    box-shadow: none;
    outline: none;
}
#icosmo-matrix-synth-container .digital-time-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 0 auto 10px auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 2em;
    color: #e0e0e0;
}
#icosmo-matrix-synth-container .digital-time-row > span {
    flex-basis: 0;
    flex-grow: 1;
    text-align: center;
}
#icosmo-matrix-synth-container .digital-time-row .digital-time-separator {
    flex-grow: 0.2;
    text-align: center;
}
#icosmo-matrix-synth-container .musical-keys-row {
    display: flex;
    justify-content: space-around;
    width: 100%;
    margin: 0 auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 2em;
    color: #b0b0b0;
}
#icosmo-matrix-synth-container .musical-keys-row > span {
    flex-basis: 0;
    flex-grow: 1;
    min-width: 2.5em;
    text-align: center;
}

#icosmo-matrix-synth-container hr.matrix-divider {
    border: 0;
    height: 1px;
    background-color: #4f4f4f;
    margin: 12px 0 10px 0;
}
#icosmo-matrix-synth-container .matrix-extensions-row {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    text-align: center;
    width: 100%;
    margin-top: 10px;
    gap: 10px;
}
#icosmo-matrix-synth-container .matrix-astro-item-group { /* For grouping Zodiac and its Element */
    display: flex;
    flex-direction: column; /* Stack symbol over name */
    align-items: center;
    gap: 4px;
    min-width: 60px;
    flex: 1;
}
#icosmo-matrix-synth-container .matrix-astro-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 60px;
    flex: 1;
}
#icosmo-matrix-synth-container .matrix-astro-symbol {
    font-family: 'Courier New', Courier, monospace;
    font-size: 2em;
    color: #e0e0e0;
    line-height: 1;
}
/*
 * LOG-BOOK
 * 2025-06-12: Corrected vertical alignment for the zodiac symbol.
 *             - Problem: The previous fix using a general container style broke the alignment of all symbols.
 *               The zodiac symbol, due to its font's metrics, was rendering higher than the other symbols.
 *             - Solution: Reverted the incorrect general style. Applied a new, highly targeted fix
 *               to ONLY the zodiac symbol. By setting its position to relative and adding a small
 *               top offset, it is nudged down into perfect vertical alignment with the other symbols
 *               without affecting their correct positioning.
 */
#icosmo-matrix-synth-container #matrix-current-zodiac-symbol {
    font-size: 2em; /* Override general class to match sibling element symbol size. */
    position: relative;
    top: 3px; /* Nudge the symbol down to align with the others. */
}

#icosmo-matrix-synth-container .matrix-astro-image {
    width: 2em;
    height: 2em;
    object-fit: contain;
    filter: drop-shadow(0 0 2px rgba(200,200,200,0.2));
    border-radius: 3px;
    padding: 2px;
    box-sizing: border-box;
}
#icosmo-matrix-synth-container .matrix-astro-label {
    font-size: 0.8em;
    color: #b0b0b0;
    margin-top: 2px;
    line-height: 1.2;
}
