/* ========================
   Zoom Buttons (Stable + Balanced)
======================== */

.zoom-join-btn,
.zoom-disabled {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    width: 340px;                /* fixed width for consistency */
    max-width: 100%;

    padding: 14px 26px;
    border-radius: 6px;
    margin: 6px 0;

    font-size: 17px;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;

    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    text-wrap: balance;          /* evenly balance multi-line text */

    min-height: 90px;            /* prevents height jump */
}

/* ========================
   Active buttons
======================== */

.zoom-join-btn {
    background: #2D8CFF;
    color: #fff;
    transition: background 0.25s ease;
}

.zoom-join-btn:hover {
    background: #c96604;
    color: #fff;                 /* keep text white on hover */
}

/* ========================
   Disabled buttons
======================== */

.zoom-disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
}

/* ========================
   Subtext (countdown, next study)
======================== */

.zoom-join-btn small,
.zoom-disabled small {
    display: block;
    margin-top: 4px;
    font-size: 0.8em;
}
