/*
 * Copyright (c) 2011-2026 focus-timer contributors
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */


/*
 * Indicator
 */
.extension-focus-timer-indicator {
    font-feature-settings: "tnum";
}

.extension-focus-timer-indicator .system-status-icon {
    padding: 0;
    margin: 0 5px;
}

.extension-focus-timer-indicator.extension-focus-timer-break {
    background-color: #3ea554;
}


/*
 * IndicatorMenu
 */
.extension-focus-timer-indicator-menu .popup-menu-boxpointer {
    min-width: 240px;
    max-width: 400px;
}

.extension-focus-timer-indicator-menu .quick-toggle-menu {
    margin-top: 20px;
}

.extension-focus-timer-indicator-menu .extension-focus-timer-menu-item {
    color: inherit;
    padding: 4px;
}

.extension-focus-timer-indicator-menu .popup-menu-item > StLabel:first-child {
    margin-left: 4px;
}


/*
 * TimerMenuItem
 */
.extension-focus-timer-menu-item {
    padding: 0;
}

.extension-focus-timer-menu-item > StBoxLayout {
    spacing: 6px;
}

.extension-focus-timer-menu-item .extension-focus-timer-state-button {
    font-weight: bold;
    font-size: 110%;
    padding: 6px 12px;
    border-radius: 12px;
}

.extension-focus-timer-menu-item .extension-focus-timer-cycle-label {
    font-weight: bold;
    margin: 2px 12px 0 12px;
}

.extension-focus-timer-menu-item .extension-focus-timer-box {
    margin: 6px 12px 0 12px;
    spacing: 8px;
}

.extension-focus-timer-menu-item .extension-focus-timer-label {
    font-weight: 600;
    font-size: 2.25em;
    margin-bottom: 1px;
}

.extension-focus-timer-menu-item .extension-focus-timer-has-hours .extension-focus-timer-numeric-label,
.extension-focus-timer-menu-item .extension-focus-timer-has-hours .extension-focus-timer-label-separator {
    font-size: 90%;
}

.extension-focus-timer-menu-item .extension-focus-timer-inline-button {
    color: inherit;
    background: none;
    padding: 0;
}

.extension-focus-timer-menu-item .extension-focus-timer-inline-button:hover {
    color: inherit;
}

.extension-focus-timer-menu-item .extension-focus-timer-inline-button StIcon {
    icon-size: 24px !important;
}

.extension-focus-timer-menu-item .extension-focus-timer-progressbar {
    margin: 17px 13px 0 13px;
}

.extension-focus-timer-menu-item .extension-focus-timer-control-buttons {
    margin: 3px 0 0 0;
}


/*
 * TimerLabel
 */
.extension-focus-timer-label {
    font-weight: 400;
    font-feature-settings: "tnum";
}

.extension-focus-timer-label .extension-focus-timer-label-separator {
    text-align: center;
    margin: 0 2px;
}


/*
 * TimerProgressBar
 */
.extension-focus-timer-progressbar > StDrawingArea{
    margin: 0;
    padding: 0;
}


/*
 * TimerControlButtons
 */
.extension-focus-timer-control-buttons {
    spacing: 10px;
}

.extension-focus-timer-control-buttons .icon-button {
    border-radius: 999px;
}

.extension-focus-timer-control-buttons .icon-button:insensitive {
    color: inherit;
}

.extension-focus-timer-control-buttons StIcon {
    icon-size: 16px !important;
    min-width: 16px;
}


/*
 * Lightbox
 */
.extension-focus-timer-lightbox {
    background-color: rgba(0, 0, 0, 1.0);
}

.extension-focus-timer-lightbox-blurred {
    background-color: transparent;
}


/*
 * ScreenOverlay
 */
.extension-focus-timer-overlay {
    color: white;
}

.extension-focus-timer-overlay .extension-focus-timer-overlay-buttons {
    margin: 30px;
    spacing: 10px;
}

.extension-focus-timer-overlay .icon-button {
    padding: 14px;
    background-color: rgba(255, 255, 255, 0.0);
}

.extension-focus-timer-overlay .icon-button:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.extension-focus-timer-overlay .icon-button:active {
    background-color: rgba(255, 255, 255, 0.3);
}

.extension-focus-timer-overlay .extension-focus-timer-overlay-contents {
    spacing: 20px;
}

.extension-focus-timer-overlay .extension-focus-timer-label {
    font-weight: 600;
    font-size: 65pt;
    margin-bottom: 10pt;
}

.extension-focus-timer-overlay .extension-focus-timer-has-hours .extension-focus-timer-numeric-label,
.extension-focus-timer-overlay .extension-focus-timer-has-hours .extension-focus-timer-label-separator {
    font-size: 80%;
}

.extension-focus-timer-overlay .extension-focus-timer-overlay-description {
    font-size: 14pt;
    font-weight: normal;
}

.extension-focus-timer-overlay .extension-focus-timer-do-not-touch-icon {
    margin-bottom: 80px;
}


/*
 * ScreenShield widget
 */
.extension-focus-timer-widget {
    background-color: rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    width: 25em;  /* sync it with `.unlock-dialog-notifications-container` */
    padding: 4px;
    margin: 12px 12px 0 12px;
}

.extension-focus-timer-widget .extension-focus-timer-widget-content {
    padding: 14px 14px 6px 14px;
    spacing: 8px;
}

.extension-focus-timer-widget .extension-focus-timer-state-label {
    font-size: 15pt;
    font-weight: 700;
    margin: 0;
}

.extension-focus-timer-widget .extension-focus-timer-cycle-label {
    font-size: 12pt;
    font-weight: 600;
    margin: 0 0 1px 10px;
}

.extension-focus-timer-widget .extension-focus-timer-label {
    font-size: 17pt;
    font-weight: 600;
    margin: 4px 0 3px 0;
}

.extension-focus-timer-widget .extension-focus-timer-progressbar {
    margin: 8px 0 0 0;
}

.extension-focus-timer-widget .icon-button {
    background-color: rgba(255, 255, 255, 0.0);
}

.extension-focus-timer-widget .icon-button.flat:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.extension-focus-timer-widget .icon-button.flat:active {
    background-color: rgba(255, 255, 255, 0.12);
}
