:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-4a450d1 *//* =========================================
   HAVIONEDGE TIME TOOL
   CSS PART 1 — FRESH BASE
   ========================================= */


/* =========================================
   TIME TOOL VARIABLES
   ========================================= */

.time-tool {
    --time-primary: #1565D8;
    --time-primary-dark: #0E56C1;

    --time-white: #FFFFFF;

    --time-heading: #172554;
    --time-dark: #1E293B;
    --time-body: #64748B;
    --time-content: #596B80;

    --time-light-blue: #EDF4FF;

    --time-border: #E0E8F2;
    --time-section-border: #E8EFF7;

    --time-radius: 14px;
    --time-radius-small: 9px;

    width: 100%;
    max-width: 1180px;

    margin: 0 auto;

    /*
     * IMPORTANT:
     * Dark background is intentionally placed
     * ABOVE and BELOW the actual tool.
     */
    padding: 34px 0;

    background: transparent;

    font-family: "Poppins", sans-serif;

    color: var(--time-dark);

    box-sizing: border-box;
}


/* =========================================
   RESET
   ========================================= */

.time-tool *,
.time-tool *::before,
.time-tool *::after {
    box-sizing: border-box;
}


.time-tool button,
.time-tool input,
.time-tool select,
.time-tool textarea {
    font-family: "Poppins", sans-serif;
}


.time-tool button {
    cursor: pointer;
}


.time-tool button:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}


.time-tool h2,
.time-tool h3,
.time-tool h4,
.time-tool p {
    margin: 0;
}


/* =========================================
   MAIN TOOL CARD
   ========================================= */

.time-tool__top,
.time-tool__nav,
.time-tool__content {
    background: var(--time-white);
}


/* =========================================
   TOOL TOP
   ========================================= */

.time-tool__top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 19px 24px;

    border: 1px solid var(--time-border);

    border-radius:
        var(--time-radius)
        var(--time-radius)
        0
        0;
}


/* =========================================
   TOOL TITLE
   ========================================= */

.time-tool__title {
    display: flex;
    align-items: center;

    gap: 12px;
}


.time-tool__icon {
    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: var(--time-light-blue);

    color: var(--time-primary);

    font-size: 20px;
}


.time-tool__title h2 {
    color: var(--time-heading);

    font-size: 21px;
    line-height: 1.3;

    font-weight: 700;
}


.time-tool__title p {
    margin-top: 3px;

    color: var(--time-body);

    font-size: 12px;
    line-height: 1.5;

    font-weight: 400;
}


/* =========================================
   FEATURE NAVIGATION
   ========================================= */

.time-tool__nav {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 5px;

    padding: 9px 12px;

    border-left: 1px solid var(--time-border);
    border-right: 1px solid var(--time-border);
    border-bottom: 1px solid var(--time-border);

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: thin;

    -webkit-overflow-scrolling: touch;
}


.time-tool__nav::-webkit-scrollbar {
    height: 4px;
}


.time-tool__nav::-webkit-scrollbar-track {
    background: transparent;
}


.time-tool__nav::-webkit-scrollbar-thumb {
    background: var(--time-border);

    border-radius: 10px;
}


/* =========================================
   NAVIGATION TAB
   ========================================= */

.time-tool__tab {
    position: relative;

    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 40px;

    padding: 8px 14px;

    border: 1px solid transparent;

    border-radius: 9px;

    background: transparent;

    color: var(--time-body);

    font-size: 12px;

    line-height: 1;

    font-weight: 600;

    white-space: nowrap;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}


.time-tool__tab span {
    font-size: 15px;

    line-height: 1;
}


.time-tool__tab:hover {
    background: var(--time-light-blue);

    color: var(--time-primary);
}


.time-tool__tab:focus-visible {
    outline: 3px solid rgba(21, 101, 216, 0.18);

    outline-offset: 2px;
}


.time-tool__tab.active {
    background: var(--time-light-blue);

    border-color: #D8E8FC;

    color: var(--time-primary);
}


.time-tool__tab.active::after {
    content: "";

    position: absolute;

    left: 14px;
    right: 14px;

    bottom: -10px;

    height: 2px;

    background: var(--time-primary);

    border-radius: 4px;
}


/* =========================================
   TOOL CONTENT
   ========================================= */

.time-tool__content {
    width: 100%;

    padding: 18px;

    border-left: 1px solid var(--time-border);
    border-right: 1px solid var(--time-border);
    border-bottom: 1px solid var(--time-border);

    border-radius:
        0
        0
        var(--time-radius)
        var(--time-radius);
}


/* =========================================
   TIME PANEL
   ========================================= */

.time-panel {
    width: 100%;

    padding: 21px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: var(--time-radius);

    box-shadow:
        0 5px 18px rgba(15, 35, 60, 0.05);

    animation: timePanelFade 0.22s ease;
}


.time-panel[hidden] {
    display: none !important;
}


@keyframes timePanelFade {

    from {
        opacity: 0;

        transform: translateY(4px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


/* =========================================
   PANEL HEADER
   ========================================= */

.time-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    margin-bottom: 18px;
}


.time-panel__eyebrow {
    display: inline-block;

    margin-bottom: 5px;

    color: var(--time-primary);

    font-size: 9px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}


.time-panel__header h3 {
    color: var(--time-dark);

    font-size: 19px;

    line-height: 1.35;

    font-weight: 700;
}


.time-panel__header p {
    margin-top: 4px;

    color: var(--time-body);

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================
   COMMON BUTTONS
   ========================================= */

.time-btn {
    min-height: 39px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 8px 15px;

    border-radius: 9px;

    font-size: 12px;

    line-height: 1;

    font-weight: 600;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}


.time-btn:active {
    transform: translateY(1px);
}


.time-btn--primary {
    border: 1px solid var(--time-primary);

    background: var(--time-primary);

    color: var(--time-white);

    box-shadow:
        0 3px 8px rgba(21, 101, 216, 0.15);
}


.time-btn--primary:hover {
    border-color: var(--time-primary-dark);

    background: var(--time-primary-dark);

    box-shadow:
        0 5px 12px rgba(21, 101, 216, 0.19);
}


.time-btn--secondary {
    border: 1px solid var(--time-border);

    background: var(--time-white);

    color: var(--time-dark);
}


.time-btn--secondary:hover:not(:disabled) {
    border-color: #C9DDF5;

    background: var(--time-light-blue);

    color: var(--time-primary);
}


.time-btn:focus-visible {
    outline: 3px solid rgba(21, 101, 216, 0.18);

    outline-offset: 2px;
}


/* =========================================
   PLACEHOLDER
   ========================================= */

.time-panel__placeholder {
    min-height: 200px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--time-body);

    font-size: 13px;
}


/* =========================================
   SCREEN READER ONLY
   ========================================= */

.sr-only {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;

    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {

    .time-tool {
        padding: 28px 0;
    }


    .time-tool__top {
        padding: 18px 20px;
    }


    .time-tool__content {
        padding: 15px;
    }


    .time-panel {
        padding: 19px;
    }


    .time-tool__tab {
        padding-left: 12px;

        padding-right: 12px;
    }

}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .time-tool {
        padding: 20px 0;
    }


    .time-tool__top {
        padding: 15px;
    }


    .time-tool__icon {
        width: 38px;
        height: 38px;

        flex-basis: 38px;

        font-size: 18px;
    }


    .time-tool__title h2 {
        font-size: 18px;
    }


    .time-tool__title p {
        font-size: 11px;
    }


    .time-tool__nav {
        padding: 8px;
    }


    .time-tool__tab {
        min-height: 37px;

        padding: 8px 10px;

        font-size: 11px;
    }


    .time-tool__content {
        padding: 11px;
    }


    .time-panel {
        padding: 15px;

        border-radius: 11px;
    }


    .time-panel__header {
        margin-bottom: 15px;
    }


    .time-panel__header h3 {
        font-size: 17px;
    }


    .time-panel__header p {
        font-size: 11px;
    }


    .time-btn {
        min-height: 38px;

        padding: 8px 12px;

        font-size: 11px;
    }

}
/* =========================================
   HAVIONEDGE TIME TOOL
   CSS PART 2 — STOPWATCH + COUNTDOWN
   ========================================= */


/* =========================================
   STOPWATCH
   ========================================= */

.stopwatch {
    width: 100%;
}


/* =========================================
   STOPWATCH DISPLAY
   ========================================= */

.stopwatch__display {
    width: 100%;

    min-height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: #F8FBFF;

    border: 1px solid var(--time-border);

    border-radius: 12px;

    color: var(--time-heading);

    font-family: "Poppins", sans-serif;

    font-size: clamp(40px, 6vw, 64px);

    line-height: 1;

    font-weight: 600;

    font-variant-numeric: tabular-nums;

    letter-spacing: 1px;

    white-space: nowrap;
}


.stopwatch__separator {
    margin: 0 5px;

    color: var(--time-primary);

    font-weight: 500;
}


.stopwatch__separator--small {
    margin-left: 2px;

    margin-right: 1px;

    font-size: 0.72em;
}


.stopwatch__milliseconds {
    min-width: 0.9em;

    color: var(--time-primary);

    font-size: 0.60em;

    font-weight: 600;
}


/* =========================================
   STOPWATCH CONTROLS
   ========================================= */

.stopwatch__controls {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 15px;
}


.stopwatch__controls .time-btn {
    min-width: 95px;
}


/* =========================================
   LAP CONTAINER
   ========================================= */

.stopwatch__laps {
    width: 100%;

    margin-top: 18px;

    overflow: hidden;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 10px;
}


/* =========================================
   LAP HEADER
   ========================================= */

.laps__header {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 8px 13px;

    background: var(--time-light-blue);

    border-bottom: 1px solid var(--time-border);
}


.laps__header h4 {
    color: var(--time-dark);

    font-size: 12px;

    line-height: 1.3;

    font-weight: 600;
}


.laps__count {
    min-width: 24px;

    height: 23px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 7px;

    background: var(--time-white);

    border-radius: 20px;

    color: var(--time-primary);

    font-size: 10px;

    font-weight: 600;
}


/* =========================================
   LAP LIST
   ========================================= */

.laps__list {
    width: 100%;

    max-height: 175px;

    overflow-y: auto;

    background: var(--time-white);
}


.laps__list::-webkit-scrollbar {
    width: 4px;
}


.laps__list::-webkit-scrollbar-track {
    background: transparent;
}


.laps__list::-webkit-scrollbar-thumb {
    background: var(--time-border);

    border-radius: 10px;
}


/* =========================================
   EMPTY LAP STATE
   ========================================= */

.laps__empty {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 12px;

    color: var(--time-body);

    font-size: 11px;

    text-align: center;
}


.laps__empty span {
    font-size: 15px;
}


.laps__empty p {
    margin: 0;
}


/* =========================================
   LAP ITEM
   ========================================= */

.lap-item {
    min-height: 40px;

    display: grid;

    grid-template-columns:
        70px
        1fr
        1fr;

    align-items: center;

    padding: 7px 13px;

    border-bottom: 1px solid var(--time-section-border);

    color: var(--time-body);

    font-size: 11px;

    font-variant-numeric: tabular-nums;
}


.lap-item:last-child {
    border-bottom: 0;
}


.lap-item__number {
    color: var(--time-dark);

    font-weight: 600;
}


.lap-item__time {
    text-align: right;
}


.lap-item__total {
    color: var(--time-primary);

    font-weight: 600;

    text-align: right;
}


/* =========================================
   COUNTDOWN
   ========================================= */

.countdown {
    width: 100%;
}


/* =========================================
   COUNTDOWN INPUT AREA
   ========================================= */

.countdown__inputs {
    display: flex;
    align-items: flex-end;
    justify-content: center;

    gap: 9px;

    margin-bottom: 15px;
}


.time-input {
    min-width: 88px;

    display: flex;
    flex-direction: column;

    gap: 5px;
}


.time-input label {
    color: var(--time-body);

    font-size: 10px;

    line-height: 1.3;

    font-weight: 600;

    text-align: center;
}


.time-input input,
.time-input select {
    width: 100%;

    height: 40px;

    padding: 7px 9px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 8px;

    color: var(--time-dark);

    font-family: "Poppins", sans-serif;

    font-size: 12px;

    font-weight: 600;

    text-align: center;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.time-input input:hover,
.time-input select:hover {
    border-color: #C9DDF5;
}


.time-input input:focus,
.time-input select:focus {
    border-color: var(--time-primary);

    box-shadow:
        0 0 0 3px rgba(21, 101, 216, 0.09);
}


.countdown__colon {
    padding-bottom: 8px;

    color: var(--time-primary);

    font-size: 18px;

    line-height: 1;

    font-weight: 600;
}


/* =========================================
   COUNTDOWN DISPLAY
   ========================================= */

.countdown__display {
    width: 100%;

    min-height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: #F8FBFF;

    border: 1px solid var(--time-border);

    border-radius: 12px;

    color: var(--time-heading);

    font-family: "Poppins", sans-serif;

    font-size: clamp(40px, 6vw, 62px);

    line-height: 1;

    font-weight: 600;

    font-variant-numeric: tabular-nums;

    letter-spacing: 1px;
}


.countdown__display span:nth-child(even) {
    margin: 0 5px;

    color: var(--time-primary);

    font-weight: 500;
}


/* =========================================
   COUNTDOWN PRESETS
   ========================================= */

.countdown__presets {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: 13px;
}


.countdown__presets-label {
    color: var(--time-body);

    font-size: 10px;

    font-weight: 600;
}


.preset-btn {
    min-height: 30px;

    padding: 5px 10px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 7px;

    color: var(--time-body);

    font-family: "Poppins", sans-serif;

    font-size: 10px;

    font-weight: 600;

    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}


.preset-btn:hover {
    background: var(--time-light-blue);

    border-color: #C9DDF5;

    color: var(--time-primary);
}


.preset-btn.active {
    background: var(--time-light-blue);

    border-color: var(--time-primary);

    color: var(--time-primary);
}


/* =========================================
   COUNTDOWN CONTROLS
   ========================================= */

.countdown__controls {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 15px;
}


.countdown__controls .time-btn {
    min-width: 95px;
}


/* =========================================
   COUNTDOWN STATUS
   ========================================= */

.countdown__status {
    min-height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 12px;

    padding: 6px 12px;

    background: var(--time-light-blue);

    border-radius: 7px;

    color: var(--time-primary);

    font-size: 10px;

    line-height: 1.4;

    font-weight: 600;

    text-align: center;
}


/* =========================================
   COUNTDOWN STATES
   ========================================= */

.countdown.is-running .countdown__display {
    border-color: #C9DDF5;
}


.countdown.is-complete .countdown__display {
    border-color: var(--time-primary);

    box-shadow:
        0 0 0 3px rgba(21, 101, 216, 0.06);
}


/* =========================================
   MOBILE — STOPWATCH
   ========================================= */

@media (max-width: 600px) {

    .stopwatch__display {
        min-height: 102px;

        padding: 15px;

        font-size: clamp(32px, 11vw, 46px);

        letter-spacing: 0;
    }


    .stopwatch__separator {
        margin: 0 3px;
    }


    .stopwatch__controls {
        gap: 6px;
    }


    .stopwatch__controls .time-btn {
        flex: 1;

        min-width: 0;
    }


    .lap-item {
        grid-template-columns:
            50px
            1fr
            1fr;

        padding-left: 10px;

        padding-right: 10px;
    }


    .countdown__inputs {
        gap: 5px;
    }


    .time-input {
        min-width: 0;

        flex: 1;
    }


    .countdown__colon {
        font-size: 16px;
    }


    .countdown__display {
        min-height: 102px;

        padding: 15px;

        font-size: clamp(32px, 11vw, 46px);

        letter-spacing: 0;
    }


    .countdown__presets {
        justify-content: flex-start;
    }


    .countdown__presets-label {
        width: 100%;

        margin-bottom: 2px;
    }


    .countdown__controls {
        gap: 6px;
    }


    .countdown__controls .time-btn {
        flex: 1;

        min-width: 0;
    }

}
/* =========================================
   HAVIONEDGE TIME TOOL
   CSS PART 3 — POMODORO + DIGITAL CLOCK
   ========================================= */


/* =========================================
   POMODORO
   ========================================= */

.pomodoro {
    width: 100%;
}


/* =========================================
   POMODORO MODE TABS
   ========================================= */

.pomodoro__modes {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    margin-bottom: 16px;
}


.pomodoro__mode {
    min-height: 34px;

    padding: 6px 13px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 8px;

    color: var(--time-body);

    font-family: "Poppins", sans-serif;

    font-size: 10px;

    font-weight: 600;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.pomodoro__mode:hover {
    background: var(--time-light-blue);

    border-color: #C9DDF5;

    color: var(--time-primary);
}


.pomodoro__mode.active {
    background: var(--time-light-blue);

    border-color: var(--time-primary);

    color: var(--time-primary);
}


/* =========================================
   POMODORO DISPLAY
   ========================================= */

.pomodoro__display {
    width: 100%;

    min-height: 145px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: #F8FBFF;

    border: 1px solid var(--time-border);

    border-radius: 12px;
}


.pomodoro__mode-label {
    margin-bottom: 8px;

    color: var(--time-primary);

    font-size: 10px;

    line-height: 1.3;

    font-weight: 700;

    letter-spacing: 0.05em;

    text-transform: uppercase;
}


.pomodoro__time {
    color: var(--time-heading);

    font-family: "Poppins", sans-serif;

    font-size: clamp(42px, 7vw, 66px);

    line-height: 1;

    font-weight: 600;

    font-variant-numeric: tabular-nums;

    letter-spacing: 1px;
}


/* =========================================
   POMODORO PROGRESS
   ========================================= */

.pomodoro__progress {
    width: min(420px, 80%);

    height: 5px;

    margin-top: 14px;

    overflow: hidden;

    background: #DDE8F5;

    border-radius: 20px;
}


.pomodoro__progress-bar {
    width: 0%;

    height: 100%;

    background: var(--time-primary);

    border-radius: inherit;

    transition: width 0.3s linear;
}


/* =========================================
   POMODORO CONTROLS
   ========================================= */

.pomodoro__controls {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 15px;
}


.pomodoro__controls .time-btn {
    min-width: 95px;
}


/* =========================================
   POMODORO SESSION INFO
   ========================================= */

.pomodoro__info {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 13px;

    color: var(--time-body);

    font-size: 10px;

    line-height: 1.4;

    font-weight: 500;

    text-align: center;
}


.pomodoro__session {
    color: var(--time-primary);

    font-weight: 600;
}


/* =========================================
   POMODORO SETTINGS
   ========================================= */

.pomodoro__settings {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 17px;

    padding-top: 15px;

    border-top: 1px solid var(--time-section-border);
}


.pomodoro__setting {
    display: flex;
    align-items: center;

    gap: 6px;

    padding: 6px 9px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 7px;
}


.pomodoro__setting label {
    color: var(--time-body);

    font-size: 9px;

    font-weight: 600;
}


.pomodoro__setting input {
    width: 48px;

    height: 27px;

    padding: 4px 5px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 5px;

    color: var(--time-dark);

    font-family: "Poppins", sans-serif;

    font-size: 10px;

    font-weight: 600;

    text-align: center;

    outline: none;
}


.pomodoro__setting input:focus {
    border-color: var(--time-primary);

    box-shadow:
        0 0 0 2px rgba(21, 101, 216, 0.08);
}


/* =========================================
   POMODORO RUNNING STATE
   ========================================= */

.pomodoro.is-running .pomodoro__display {
    border-color: #C9DDF5;
}


.pomodoro.is-break .pomodoro__mode-label {
    color: var(--time-primary);
}


.pomodoro.is-complete .pomodoro__display {
    border-color: var(--time-primary);
}


/* =========================================
   DIGITAL CLOCK
   ========================================= */

.digital-clock {
    width: 100%;
}


/* =========================================
   CLOCK DISPLAY
   ========================================= */

.digital-clock__display {
    width: 100%;

    min-height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: #F8FBFF;

    border: 1px solid var(--time-border);

    border-radius: 12px;

    color: var(--time-heading);

    font-family: "Poppins", sans-serif;

    font-size: clamp(42px, 7vw, 70px);

    line-height: 1;

    font-weight: 600;

    font-variant-numeric: tabular-nums;

    letter-spacing: 1px;

    white-space: nowrap;
}


.digital-clock__separator {
    margin: 0 6px;

    color: var(--time-primary);

    font-weight: 500;
}


/* =========================================
   AM / PM
   ========================================= */

.digital-clock__period {
    align-self: flex-end;

    margin-left: 10px;

    margin-bottom: 7px;

    color: var(--time-primary);

    font-size: 12px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: 0.04em;

    text-transform: uppercase;
}


/* =========================================
   DATE
   ========================================= */

.digital-clock__date {
    margin-top: 12px;

    color: var(--time-body);

    font-size: 12px;

    line-height: 1.5;

    font-weight: 500;

    text-align: center;
}


/* =========================================
   CLOCK OPTIONS
   ========================================= */

.digital-clock__options {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 7px;

    margin-top: 15px;
}


.digital-clock__option {
    min-height: 31px;

    padding: 5px 10px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 7px;

    color: var(--time-body);

    font-family: "Poppins", sans-serif;

    font-size: 10px;

    font-weight: 600;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.digital-clock__option:hover {
    background: var(--time-light-blue);

    border-color: #C9DDF5;

    color: var(--time-primary);
}


.digital-clock__option.active {
    background: var(--time-light-blue);

    border-color: var(--time-primary);

    color: var(--time-primary);
}


/* =========================================
   TIMEZONE SELECT
   ========================================= */

.digital-clock__timezone {
    width: min(300px, 100%);

    margin: 15px auto 0;
}


.digital-clock__timezone select {
    width: 100%;

    height: 39px;

    padding: 7px 10px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 8px;

    color: var(--time-dark);

    font-family: "Poppins", sans-serif;

    font-size: 11px;

    font-weight: 500;

    outline: none;

    cursor: pointer;
}


.digital-clock__timezone select:hover {
    border-color: #C9DDF5;
}


.digital-clock__timezone select:focus {
    border-color: var(--time-primary);

    box-shadow:
        0 0 0 3px rgba(21, 101, 216, 0.08);
}


/* =========================================
   DIGITAL CLOCK SECONDS
   ========================================= */

.digital-clock__seconds {
    color: var(--time-primary);

    font-size: 0.48em;

    font-weight: 600;

    vertical-align: baseline;
}


/* =========================================
   MOBILE — POMODORO
   ========================================= */

@media (max-width: 600px) {

    .pomodoro__modes {
        gap: 4px;
    }


    .pomodoro__mode {
        flex: 1;

        min-width: 0;

        padding-left: 8px;

        padding-right: 8px;

        font-size: 9px;
    }


    .pomodoro__display {
        min-height: 125px;

        padding: 15px;
    }


    .pomodoro__time {
        font-size: clamp(36px, 12vw, 50px);

        letter-spacing: 0;
    }


    .pomodoro__progress {
        width: 85%;

        margin-top: 12px;
    }


    .pomodoro__controls {
        gap: 6px;
    }


    .pomodoro__controls .time-btn {
        flex: 1;

        min-width: 0;
    }


    .pomodoro__settings {
        gap: 5px;
    }


    .pomodoro__setting {
        flex: 1;

        justify-content: center;

        min-width: 130px;
    }

}


/* =========================================
   MOBILE — DIGITAL CLOCK
   ========================================= */

@media (max-width: 600px) {

    .digital-clock__display {
        min-height: 115px;

        padding: 15px;

        font-size: clamp(34px, 11vw, 50px);

        letter-spacing: 0;
    }


    .digital-clock__separator {
        margin: 0 3px;
    }


    .digital-clock__period {
        margin-left: 7px;

        margin-bottom: 5px;

        font-size: 9px;
    }


    .digital-clock__date {
        margin-top: 10px;

        font-size: 11px;
    }


    .digital-clock__options {
        gap: 5px;
    }


    .digital-clock__option {
        font-size: 9px;
    }

}
/* =========================================
   HAVIONEDGE TIME TOOL
   CSS PART 4 — ADDITIONAL TIME TOOLS
   ========================================= */


/* =========================================
   COMMON ADDITIONAL TOOL
   ========================================= */

.time-extra {
    width: 100%;
}


/* =========================================
   TOOL GRID
   ========================================= */

.time-extra__grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    width: 100%;
}


/* =========================================
   EXTRA INPUT CARD
   ========================================= */

.time-extra__card {
    padding: 15px;

    background: #F8FBFF;

    border: 1px solid var(--time-border);

    border-radius: 10px;
}


.time-extra__card--full {
    grid-column: 1 / -1;
}


.time-extra__card h4 {
    margin-bottom: 10px;

    color: var(--time-dark);

    font-size: 12px;

    line-height: 1.4;

    font-weight: 600;
}


.time-extra__card p {
    margin-bottom: 10px;

    color: var(--time-body);

    font-size: 10px;

    line-height: 1.5;
}


/* =========================================
   EXTRA FIELD ROW
   ========================================= */

.time-extra__fields {
    display: flex;

    align-items: flex-end;

    gap: 8px;

    width: 100%;
}


.time-extra__field {
    flex: 1;

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 5px;
}


.time-extra__field label {
    color: var(--time-body);

    font-size: 9px;

    line-height: 1.3;

    font-weight: 600;
}


.time-extra__field input,
.time-extra__field select {
    width: 100%;

    height: 39px;

    padding: 7px 9px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 7px;

    color: var(--time-dark);

    font-family: "Poppins", sans-serif;

    font-size: 10px;

    font-weight: 500;

    outline: none;
}


.time-extra__field input:focus,
.time-extra__field select:focus {
    border-color: var(--time-primary);

    box-shadow:
        0 0 0 3px rgba(21, 101, 216, 0.08);
}


/* =========================================
   TIME ZONE CONVERTER
   ========================================= */

.timezone-converter {
    width: 100%;
}


.timezone-converter__swap {
    width: 36px;

    height: 36px;

    flex: 0 0 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 1px;

    background: var(--time-light-blue);

    border: 1px solid #D8E8FC;

    border-radius: 8px;

    color: var(--time-primary);

    font-family: "Poppins", sans-serif;

    font-size: 14px;

    font-weight: 600;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}


.timezone-converter__swap:hover {
    background: #E2EEFC;

    border-color: #C9DDF5;
}


/* =========================================
   CONVERTER RESULT
   ========================================= */

.timezone-converter__result {
    min-height: 58px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    margin-top: 12px;

    padding: 10px 12px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 8px;
}


.timezone-converter__result-label {
    color: var(--time-body);

    font-size: 9px;

    font-weight: 600;
}


.timezone-converter__result-value {
    color: var(--time-primary);

    font-size: 13px;

    font-weight: 700;

    text-align: right;

    font-variant-numeric: tabular-nums;
}


/* =========================================
   TIME DIFFERENCE
   ========================================= */

.time-difference {
    width: 100%;
}


.time-difference__inputs {
    display: grid;

    grid-template-columns:
        1fr
        auto
        1fr;

    align-items: end;

    gap: 9px;
}


.time-difference__divider {
    padding-bottom: 9px;

    color: var(--time-primary);

    font-size: 17px;

    font-weight: 600;
}


.time-difference__result {
    min-height: 68px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    margin-top: 12px;

    padding: 10px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 8px;

    text-align: center;
}


.time-difference__result-label {
    margin-bottom: 3px;

    color: var(--time-body);

    font-size: 9px;

    font-weight: 500;
}


.time-difference__result-value {
    color: var(--time-heading);

    font-size: 18px;

    line-height: 1.2;

    font-weight: 700;

    font-variant-numeric: tabular-nums;
}


.time-difference__result-value strong {
    color: var(--time-primary);
}


/* =========================================
   DATE / TIME CALCULATOR
   ========================================= */

.datetime-calculator {
    width: 100%;
}


.datetime-calculator__mode {
    display: flex;

    align-items: center;

    gap: 5px;

    margin-bottom: 11px;
}


.datetime-calculator__mode button {
    min-height: 30px;

    padding: 5px 10px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 7px;

    color: var(--time-body);

    font-family: "Poppins", sans-serif;

    font-size: 9px;

    font-weight: 600;
}


.datetime-calculator__mode button:hover {
    background: var(--time-light-blue);

    color: var(--time-primary);

    border-color: #C9DDF5;
}


.datetime-calculator__mode button.active {
    background: var(--time-light-blue);

    color: var(--time-primary);

    border-color: var(--time-primary);
}


/* =========================================
   CALCULATOR INPUTS
   ========================================= */

.datetime-calculator__inputs {
    display: flex;

    align-items: flex-end;

    gap: 8px;
}


.datetime-calculator__operator {
    padding-bottom: 9px;

    color: var(--time-primary);

    font-size: 17px;

    font-weight: 600;
}


.datetime-calculator__result {
    min-height: 58px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 12px;

    padding: 9px 12px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 8px;
}


.datetime-calculator__result-label {
    color: var(--time-body);

    font-size: 9px;

    font-weight: 600;
}


.datetime-calculator__result-value {
    color: var(--time-primary);

    font-size: 12px;

    font-weight: 700;

    text-align: right;
}


/* =========================================
   COMMON ACTION ROW
   ========================================= */

.time-extra__actions {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    gap: 7px;

    margin-top: 11px;
}


.time-extra__actions .time-btn {
    min-height: 34px;

    padding: 7px 12px;

    font-size: 10px;
}


/* =========================================
   COPY RESULT BUTTON
   ========================================= */

.time-copy-btn {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    min-height: 29px;

    padding: 5px 9px;

    background: var(--time-white);

    border: 1px solid var(--time-border);

    border-radius: 6px;

    color: var(--time-body);

    font-family: "Poppins", sans-serif;

    font-size: 9px;

    font-weight: 600;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}


.time-copy-btn:hover {
    background: var(--time-light-blue);

    border-color: #C9DDF5;

    color: var(--time-primary);
}


.time-copy-btn.copied {
    background: var(--time-light-blue);

    border-color: var(--time-primary);

    color: var(--time-primary);
}


/* =========================================
   EXTRA TOOL MESSAGE
   ========================================= */

.time-extra__message {
    min-height: 27px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 9px;

    padding: 5px 9px;

    border-radius: 6px;

    background: var(--time-light-blue);

    color: var(--time-primary);

    font-size: 9px;

    line-height: 1.4;

    font-weight: 600;

    text-align: center;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .time-extra__grid {
        grid-template-columns: 1fr;

        gap: 10px;
    }


    .time-extra__card--full {
        grid-column: auto;
    }


    .time-extra__fields {
        flex-wrap: wrap;
    }


    .time-extra__field {
        min-width: calc(50% - 4px);
    }


    .timezone-converter__swap {
        margin: 0 auto;

        transform: rotate(90deg);
    }


    .time-difference__inputs {
        grid-template-columns: 1fr;
    }


    .time-difference__divider {
        padding: 0;

        text-align: center;
    }


    .datetime-calculator__inputs {
        flex-wrap: wrap;
    }

}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 480px) {

    .time-extra__card {
        padding: 12px;
    }


    .time-extra__field {
        min-width: 100%;
    }


    .time-extra__actions {
        justify-content: stretch;
    }


    .time-extra__actions .time-btn {
        flex: 1;
    }


    .timezone-converter__result {
        align-items: flex-start;

        flex-direction: column;

        gap: 4px;
    }


    .timezone-converter__result-value {
        text-align: left;
    }


    .datetime-calculator__operator {
        width: 100%;

        padding: 0;

        text-align: center;
    }

}
/* =========================================
   HAVIONEDGE TIME TOOL
   CSS PART 5 — FINAL POLISH + RESPONSIVE
   ========================================= */


/* =========================================
   GLOBAL TOOL SMOOTHNESS
   ========================================= */

.time-tool {
    -webkit-font-smoothing: antialiased;

    text-rendering: optimizeLegibility;
}


.time-tool ::selection {
    background: rgba(21, 101, 216, 0.15);

    color: var(--time-heading);
}


/* =========================================
   TOOL INNER SPACING
   ========================================= */

.time-tool__content > * + * {
    margin-top: 12px;
}


.time-panel > * {
    max-width: 100%;
}


/* =========================================
   COMPACT TOOL MODE
   ========================================= */

.time-tool--compact .time-tool__top {
    padding-top: 15px;

    padding-bottom: 15px;
}


.time-tool--compact .time-tool__content {
    padding: 12px;
}


.time-tool--compact .time-panel {
    padding: 15px;
}


/* =========================================
   LOADING STATE
   ========================================= */

.time-tool.is-loading {
    pointer-events: none;
}


.time-tool.is-loading .time-panel {
    opacity: 0.65;
}


.time-tool.is-loading::after {
    content: "";

    position: absolute;

    width: 20px;

    height: 20px;

    border: 2px solid #D8E8FC;

    border-top-color: var(--time-primary);

    border-radius: 50%;

    animation: timeToolSpin 0.7s linear infinite;
}


@keyframes timeToolSpin {

    to {
        transform: rotate(360deg);
    }

}


/* =========================================
   DISABLED TAB
   ========================================= */

.time-tool__tab:disabled {
    background: transparent;

    border-color: transparent;

    color: #A7B3C2;

    opacity: 0.6;
}


/* =========================================
   SUCCESS STATE
   ========================================= */

.time-success {
    background: var(--time-light-blue);

    border: 1px solid #D8E8FC;

    color: var(--time-primary);
}


/* =========================================
   ERROR STATE
   ========================================= */

.time-error {
    background: #FFF7F7;

    border: 1px solid #F0D9D9;

    color: #B54747;
}


.time-field-error {
    border-color: #D76B6B !important;

    box-shadow:
        0 0 0 3px rgba(215, 107, 107, 0.08) !important;
}


/* =========================================
   TOOLTIP
   ========================================= */

.time-tooltip {
    position: relative;
}


.time-tooltip::after {
    content: attr(data-tooltip);

    position: absolute;

    left: 50%;

    bottom: calc(100% + 8px);

    z-index: 20;

    width: max-content;

    max-width: 180px;

    padding: 6px 8px;

    opacity: 0;

    visibility: hidden;

    transform:
        translateX(-50%)
        translateY(3px);

    background: #1E293B;

    border-radius: 6px;

    color: #FFFFFF;

    font-size: 9px;

    line-height: 1.4;

    font-weight: 500;

    text-align: center;

    pointer-events: none;

    transition:
        opacity 0.15s ease,
        transform 0.15s ease;
}


.time-tooltip:hover::after,
.time-tooltip:focus-visible::after {
    opacity: 1;

    visibility: visible;

    transform:
        translateX(-50%)
        translateY(0);
}


/* =========================================
   NUMBER INPUT CLEANUP
   ========================================= */

.time-tool input[type="number"]::-webkit-inner-spin-button,
.time-tool input[type="number"]::-webkit-outer-spin-button {
    margin: 0;

    -webkit-appearance: none;
}


.time-tool input[type="number"] {
    -moz-appearance: textfield;
}


/* =========================================
   CHECKBOX / TOGGLE
   ========================================= */

.time-toggle {
    position: relative;

    width: 36px;

    height: 20px;

    flex: 0 0 36px;
}


.time-toggle input {
    position: absolute;

    width: 1px;

    height: 1px;

    opacity: 0;
}


.time-toggle__track {
    position: absolute;

    inset: 0;

    background: #DCE6F1;

    border-radius: 20px;

    cursor: pointer;

    transition: background-color 0.2s ease;
}


.time-toggle__track::after {
    content: "";

    position: absolute;

    top: 3px;

    left: 3px;

    width: 14px;

    height: 14px;

    background: #FFFFFF;

    border-radius: 50%;

    box-shadow: 0 1px 3px rgba(15, 35, 60, 0.18);

    transition: transform 0.2s ease;
}


.time-toggle input:checked + .time-toggle__track {
    background: var(--time-primary);
}


.time-toggle input:checked + .time-toggle__track::after {
    transform: translateX(16px);
}


.time-toggle input:focus-visible + .time-toggle__track {
    outline: 3px solid rgba(21, 101, 216, 0.15);

    outline-offset: 2px;
}


/* =========================================
   DARK OUTER BACKGROUND COMPATIBILITY
   ========================================= */

.time-tool-wrapper {
    position: relative;

    width: 100%;

    /*
     * This wrapper can sit directly on
     * HavionEdge's dark background.
     */
    padding: 32px 20px;

    background: transparent;
}


.time-tool-wrapper::before,
.time-tool-wrapper::after {
    content: "";

    display: block;

    width: 100%;

    height: 1px;

    background: rgba(255, 255, 255, 0.08);
}


.time-tool-wrapper::before {
    margin-bottom: 20px;
}


.time-tool-wrapper::after {
    margin-top: 20px;
}


/* =========================================
   TOOL WIDTH
   ========================================= */

.time-tool-wrapper .time-tool {
    max-width: 1180px;

    margin: 0 auto;
}


/* =========================================
   REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {

    .time-tool *,
    .time-tool *::before,
    .time-tool *::after {
        scroll-behavior: auto !important;

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;
    }

}


/* =========================================
   TABLET FINAL
   ========================================= */

@media (max-width: 900px) {

    .time-tool-wrapper {
        padding-left: 15px;

        padding-right: 15px;
    }


    .time-tool__top {
        border-radius: 12px 12px 0 0;
    }


    .time-panel__placeholder {
        min-height: 170px;
    }

}


/* =========================================
   MOBILE FINAL
   ========================================= */

@media (max-width: 600px) {

    .time-tool-wrapper {
        padding-top: 20px;

        padding-bottom: 20px;

        padding-left: 8px;

        padding-right: 8px;
    }


    .time-tool-wrapper::before {
        margin-bottom: 12px;
    }


    .time-tool-wrapper::after {
        margin-top: 12px;
    }


    .time-tool {
        padding-top: 0;

        padding-bottom: 0;
    }


    .time-tool__top {
        border-radius: 10px 10px 0 0;
    }


    .time-tool__content {
        border-radius: 0 0 10px 10px;
    }


    .time-panel__placeholder {
        min-height: 130px;

        font-size: 11px;
    }

}


/* =========================================
   VERY SMALL SCREENS
   ========================================= */

@media (max-width: 380px) {

    .time-tool-wrapper {
        padding-left: 5px;

        padding-right: 5px;
    }


    .time-tool__top {
        padding: 13px 11px;
    }


    .time-tool__title {
        gap: 8px;
    }


    .time-tool__icon {
        width: 34px;

        height: 34px;

        flex-basis: 34px;

        font-size: 16px;
    }


    .time-tool__title h2 {
        font-size: 16px;
    }


    .time-tool__title p {
        font-size: 10px;
    }


    .time-tool__content {
        padding: 8px;
    }


    .time-panel {
        padding: 12px;
    }

}


/* =========================================
   PRINT
   ========================================= */

@media print {

    .time-tool-wrapper {
        padding: 0;

        background: #FFFFFF;
    }


    .time-tool-wrapper::before,
    .time-tool-wrapper::after {
        display: none;
    }


    .time-tool__top,
    .time-tool__nav,
    .time-tool__content,
    .time-panel {
        box-shadow: none;
    }


    .time-tool__tab {
        color: #1E293B;
    }

}/* End custom CSS */