/* =========================================================
   BrioCom Solutions — Modular CSS
   quick-tools.css
   Refactored from the original Time Tracking Workspace CSS.
   ========================================================= */

/* =========================================================
   25. RIGHT QUICK TOOLS PANEL
   ========================================================= */

.quick-tools-panel {

    position: sticky;
    top: 74px;

    height:
        calc(100vh - 74px);

    overflow-y: auto;

    padding:
        18px 15px;

    background:
        #080808;

    border-left:
        1px solid #242424;
}


/* =========================================================


/* =========================================================
   26. QUICK TASKS
   ========================================================= */

.quick-tasks-section,
.city-time-search-section,
.world-clocks-section,
.time-converter-section,
.sidebar-currency-converter {

    margin-bottom: 17px;

    padding:
        18px;

    background:
        #0d0d0d;

    border:
        1px solid #252525;

    border-radius:
        12px;

    box-shadow:
        0 8px 25px rgba(0,0,0,.22);
}


.quick-tasks-header {

    display: flex;

    align-items: flex-start;

    justify-content: space-between;

    gap: 10px;
}


.quick-task-eyebrow {

    color: var(--red);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .12em;
}


.quick-tasks-header h3 {

    margin:
        4px 0 0;

    color: #eee;

    font-size: 17px;
}


.quick-task-progress {

    padding:
        4px 8px;

    color: #aaa;

    background: #151515;

    border:
        1px solid #292929;

    border-radius: 20px;

    font-family: monospace;

    font-size: 11px;
}


/* PROGRESS BAR */

.quick-task-progress-bar {

    height: 5px;

    margin:
        15px 0;

    overflow: hidden;

    background:
        #1b1b1b;

    border-radius: 10px;
}


.quick-task-progress-fill {

    width: 0;
    height: 100%;

    background:
        var(--red);

    border-radius: inherit;

    transition:
        width .3s ease;
}


/* TASK INPUT */

.quick-task-input {

    display: flex;

    gap: 7px;
}


.quick-task-input input {

    min-width: 0;
    flex: 1;

    height: 42px;

    padding:
        0 11px;

    color: #eee;

    background: #090909;

    border:
        1px solid #292929;

    border-radius: 7px;

    outline: none;

    font-size: 13px;
}


.quick-task-input input:focus {

    border-color:
        var(--red);
}


.quick-task-input button {

    width: 42px;
    height: 42px;

    color: #fff;

    background:
        var(--red);

    border: 0;

    border-radius: 7px;

    font-size: 23px;

    cursor: pointer;
}


.quick-task-list {

    margin-top: 13px;
}


.quick-task-empty {

    padding:
        15px 5px;

    color: #666;

    text-align: center;

    font-size: 12px;
}


.clear-completed-tasks {

    width: 100%;

    margin-top: 10px;

    padding:
        9px;

    color: #888;

    background: transparent;

    border:
        1px solid #292929;

    border-radius: 7px;

    font-size: 11px;

    cursor: pointer;
}


.clear-completed-tasks:hover {

    color: #fff;

    border-color:
        #444;
}


/* =========================================================


/* =========================================================
   27. CURRENCY CONVERTER
   ========================================================= */

.currency-header {

    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 15px;
}


.currency-eyebrow {

    color: var(--red);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .12em;
}


.currency-header h3 {

    margin:
        3px 0 0;

    color: #eee;

    font-size: 17px;
}


.currency-icon {

    width: 37px;
    height: 37px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--red);

    background:
        rgba(220,38,38,.08);

    border-radius: 8px;

    font-size: 19px;
    font-weight: 800;
}


.currency-field label {

    display: block;

    margin-bottom: 5px;

    color: #888;

    font-size: 11px;
    font-weight: 700;
}


.currency-input-wrap {

    position: relative;
}


.currency-symbol {

    position: absolute;

    left: 11px;
    top: 50%;

    transform:
        translateY(-50%);

    color: var(--red);

    font-size: 14px;
    font-weight: 700;
}


.currency-input-wrap input,
.currency-field select {

    width: 100%;

    height: 40px;

    color: #eee;

    background:
        #090909;

    border:
        1px solid #292929;

    border-radius: 7px;

    outline: none;

    font-size: 13px;
}


.currency-input-wrap input {

    padding:
        0 10px 0 28px;
}


.currency-field select {

    padding:
        0 9px;

    cursor: pointer;
}


.currency-input-wrap input:focus,
.currency-field select:focus {

    border-color:
        var(--red);

    box-shadow:
        0 0 0 2px
        rgba(220,38,38,.07);
}


.currency-conversion-row {

    display: grid;

    grid-template-columns:
        minmax(0,1fr)
        34px
        minmax(0,1fr);

    align-items: end;

    gap: 7px;

    margin-top: 12px;
}


.currency-swap {

    width: 34px;
    height: 34px;

    color: #bbb;

    background: #151515;

    border:
        1px solid #2c2c2c;

    border-radius: 7px;

    font-size: 17px;

    cursor: pointer;
}


.currency-swap:hover {

    color: #fff;

    border-color:
        var(--red);
}


/* RESULT */

.currency-result {

    margin-top: 14px;

    padding:
        14px;

    text-align: center;

    background:
        rgba(220,38,38,.045);

    border:
        1px solid
        rgba(220,38,38,.18);

    border-radius: 9px;
}


.currency-result-label {

    display: block;

    color: #777;

    font-size: 10px;
}


.currency-result strong {

    display: block;

    margin:
        3px 0;

    color: #fff;

    font-family: monospace;

    font-size: 22px;
}


.currency-rate {

    color: #777;

    font-size: 10px;
}


/* QUICK RATES */

.currency-quick-rates {

    display: grid;

    grid-template-columns:
        1fr;

    gap: 6px;

    margin-top: 12px;
}


.quick-rate {

    display: flex;

    align-items: center;
    justify-content: space-between;

    padding:
        8px 9px;

    background:
        #101010;

    border:
        1px solid #222;

    border-radius: 6px;
}


.quick-rate span {

    color: #999;

    font-size: 11px;
}


.quick-rate strong {

    color: #ddd;

    font-family: monospace;

    font-size: 12px;
}


.currency-update {

    display: flex;

    align-items: center;

    gap: 7px;

    margin-top: 11px;

    color: #666;

    font-size: 10px;
}


.currency-status-dot {

    width: 6px;
    height: 6px;

    background:
        var(--green);

    border-radius: 50%;
}


/* =========================================================


/* =========================================================
   28. CITY SEARCH
   ========================================================= */

.city-time-search-header span,
.world-clocks-header span,
.time-converter-header > span {

    color: var(--red);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .12em;
}


.city-time-search-header h3,
.world-clocks-header h3,
.time-converter-header h3 {

    margin:
        4px 0 3px;

    color: #eee;

    font-size: 18px;
}


.city-time-search-header p,
.time-converter-header p {

    margin: 0 0 13px;

    color: #777;

    font-size: 12px;

    line-height: 1.5;
}


/* SEARCH BOX */

.city-search-box {

    position: relative;
}


.city-search-box input {

    width: 100%;

    height: 42px;

    padding:
        0 34px;

    color: #eee;

    background:
        #090909;

    border:
        1px solid #292929;

    border-radius: 8px;

    outline: none;

    font-size: 13px;
}


.city-search-box input:focus {

    border-color:
        var(--red);
}


.city-search-icon {

    position: absolute;

    left: 11px;
    top: 50%;

    transform:
        translateY(-50%);

    font-size: 13px;
}


#clearCitySearch {

    position: absolute;

    right: 7px;
    top: 50%;

    transform:
        translateY(-50%);

    width: 27px;
    height: 27px;

    color: #777;

    background: transparent;

    border: 0;

    font-size: 20px;

    cursor: pointer;
}


#clearCitySearch:hover {

    color: var(--red);
}


/* =========================================================


/* =========================================================
   29. SEARCH RESULTS
   ========================================================= */

.city-search-results,
.searchable-select-results {

    position: relative;

    z-index: 1000;

    max-height: 250px;

    overflow-y: auto;

    margin-top: 6px;

    background:
        #0a0a0a;

    border:
        1px solid #292929;

    border-radius: 8px;

    box-shadow:
        0 15px 35px rgba(0,0,0,.7);
}


.city-search-result,
.timezone-search-result {

    width: 100%;

    min-height: 47px;

    display: flex;

    align-items: center;

    gap: 9px;

    padding:
        7px 9px;

    color: #ddd;

    background: transparent;

    border: 0;

    text-align: left;

    cursor: pointer;

    transition:
        background .15s ease;
}


.city-search-result:hover,
.timezone-search-result:hover {

    background:
        rgba(220,38,38,.10);
}


.city-result-flag,
.timezone-result-flag {

    width: 25px;

    text-align: center;

    font-size: 17px;
}


.city-result-info,
.timezone-result-info {

    min-width: 0;

    flex: 1;

    display: flex;

    flex-direction: column;
}


.city-result-info strong,
.timezone-result-info strong {

    color: #eee;

    font-size: 12px;
}


.city-result-info small,
.timezone-result-info small {

    color: #666;

    font-size: 10px;
}


.city-result-zone,
.timezone-result-offset {

    color: var(--red);

    font-family: monospace;

    font-size: 10px;

    white-space: nowrap;
}


/* =========================================================


/* =========================================================
   30. SELECTED CITY
   ========================================================= */

.selected-city-time {

    margin-top: 12px;

    padding:
        14px;

    background:
        #101010;

    border:
        1px solid #252525;

    border-radius: 9px;

    transition:
        border .2s ease,
        box-shadow .2s ease;
}


.city-time-active {

    border-color:
        rgba(220,38,38,.4);

    box-shadow:
        0 0 20px
        rgba(220,38,38,.08);
}


.selected-city-header {

    display: flex;

    align-items: center;

    gap: 10px;
}


.selected-city-flag {

    font-size: 25px;
}


.selected-city-header strong {

    display: block;

    color: #eee;

    font-size: 14px;
}


.selected-city-header small {

    display: block;

    color: #666;

    font-size: 10px;
}


.selected-city-clock {

    margin:
        14px 0 5px;

    color: #fff;

    font-family: monospace;

    font-size: 25px;

    font-weight: 700;

    letter-spacing: .03em;
}


.selected-city-zone {

    color: #777;

    font-size: 10px;
}


/* =========================================================


/* =========================================================
   31. WORLD CLOCKS
   ========================================================= */

.world-clocks-section {

    padding-bottom: 12px;
}


.world-clock-card {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 8px;

    padding:
        10px;

    margin-top: 7px;

    background:
        #101010;

    border:
        1px solid #222;

    border-radius: 8px;

    transition:
        border .2s ease,
        background .2s ease;
}


.world-clock-card:hover {

    background:
        #131313;

    border-color:
        #333;
}


.world-clock-location {

    min-width: 0;

    display: flex;

    align-items: center;

    gap: 9px;
}


.world-clock-flag {

    font-size: 19px;
}


.world-clock-location strong {

    display: block;

    color: #ddd;

    font-size: 12px;
}


.world-clock-location small {

    display: block;

    color: #666;

    font-size: 9px;
}


.world-clock-time {

    color: #fff;

    font-family: monospace;

    font-size: 12px;

    font-weight: 700;

    white-space: nowrap;
}


/* =========================================================


/* =========================================================
   32. TIME CONVERTER
   ========================================================= */

.time-converter-section {

    position: relative;
}


.converter-field {

    margin-top: 13px;
}


.converter-field label {

    display: block;

    margin-bottom: 6px;

    color: #999;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .08em;
}


.converter-time-input,
.searchable-select-input {

    position: relative;

    display: flex;

    align-items: center;
}


.converter-time-input input,
.searchable-select-input input {

    width: 100%;

    height: 42px;

    color: #eee;

    background:
        #090909;

    border:
        1px solid #292929;

    border-radius: 8px;

    outline: none;

    font-size: 13px;
}


.converter-time-input input {

    padding:
        0 11px 0 34px;
}


.searchable-select-input input {

    padding:
        0 85px 0 34px;
}


.converter-time-input input:focus,
.searchable-select-input input:focus {

    border-color:
        var(--red);

    box-shadow:
        0 0 0 2px
        rgba(220,38,38,.07);
}


.converter-input-icon,
.converter-location-icon {

    position: absolute;

    left: 11px;

    z-index: 2;

    color: var(--red);

    font-size: 15px;
}


.searchable-arrow {

    position: absolute;

    right: 8px;

    padding:
        3px 6px;

    color: #666;

    background: #121212;

    border-radius: 4px;

    font-size: 8px;

    pointer-events: none;
}


.converter-hint {

    display: block;

    margin-top: 4px;

    color: #555;

    font-size: 9px;
}


/* TIMEZONE RESULTS */

.searchable-select {

    position: relative;
}


.searchable-select-results {

    position: absolute;

    left: 0;
    right: 0;

    top: 100%;

    margin-top: 4px;
}


/* SWAP */

.time-converter-swap {

    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        13px auto;

    color: #aaa;

    background:
        #141414;

    border:
        1px solid #2c2c2c;

    border-radius: 50%;

    font-size: 19px;

    cursor: pointer;

    transition:
        transform .25s ease,
        color .2s ease,
        border .2s ease;
}


.time-converter-swap:hover {

    color: #fff;

    border-color:
        var(--red);

    transform:
        rotate(180deg);
}


.time-converter-swap-active {

    color:
        var(--red) !important;

    border-color:
        rgba(220,38,38,.55) !important;

    transform:
        rotate(180deg)
        scale(1.08);
}


/* CONVERTER RESULT */

.time-converter-result {

    margin-top: 16px;

    padding:
        16px;

    text-align: center;

    background:
        radial-gradient(
            circle,
            rgba(220,38,38,.08),
            transparent 75%
        );

    border:
        1px solid
        rgba(220,38,38,.22);

    border-radius: 10px;
}


.converter-result-label {

    display: block;

    color: var(--red);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .1em;
}


.time-converter-result strong {

    display: block;

    margin:
        6px 0 4px;

    color: #fff;

    font-family: monospace;

    font-size: 27px;

    line-height: 1.1;
}


.time-converter-result small {

    display: block;

    color: #aaa;

    font-size: 11px;
}


.converter-date {

    margin-top: 5px;

    color: #666;

    font-size: 10px;
}


/* =========================================================
