/* Salat Times - Sea Green Theme */
/* Beautiful sea green (#2c7a7b) with white text for primary sections */

.slts-st {
    border-color: #2c7a7b !important;
}

.slts-st-header {
    background: #2c7a7b !important;
    color: #fff !important;
}

.slts-st-upcoming {
    background: linear-gradient(135deg, #2c7a7b 0%, #22626b 100%) !important;
    color: #fff !important;
}

.slts-st-upcoming-salat {
    color: #fff !important;
}

.slts-st-upcoming-salat-athan {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Prayer times section - sea green with white text */
.slts-st-s-time-title {
    color: #ffffff !important;
    background: #2c7a7b !important;
    border-radius: 4px;
    padding: 4px 8px;
    text-decoration: none !important;
    letter-spacing: 0.4px;
}

.slts-st-s-time {
    background: #f0f8f8 !important;
}

.slts-st-s-time-value {
    color: #1f4f50 !important;
    font-weight: 700 !important;
}

.slts-st-s-time-upcoming .slts-st-s-time-title {
    background: #1f5f61 !important;
    color: #ffffff !important;
}

.slts-st-s-time-upcoming .slts-st-s-time-value {
    color: #114042 !important;
}

/* Buttons */
#slts-st-settings-btn {
    background: #2c7a7b !important;
    color: #fff !important;
    border-color: #2c7a7b !important;
}

#slts-st-settings-btn:hover {
    background: #22626b !important;
}

.slts-st-toggle-btn {
    background: #2c7a7b !important;
    color: #fff !important;
}

.slts-st-toggle-btn:hover {
    background: #22626b !important;
}

.slts-ob-button {
    background: #2c7a7b !important;
    color: #fff !important;
}

.slts-ob-button:hover {
    background: #22626b !important;
}

/* Headers and titles */
.slts-ob-header {
    background: linear-gradient(135deg, #2c7a7b 0%, #22626b 100%) !important;
    color: #fff !important;
}

.slts-ob-section-title {
    border-bottom-color: #2c7a7b !important;
}

.slts-ob-section-title > span {
    color: #2c7a7b !important;
}

/* Location settings */
#slts-st-location-search {
    border-color: #2c7a7b !important;
}

#slts-st-location-search:focus {
    box-shadow: 0 0 0 2px rgba(44, 122, 123, 0.2) !important;
    border-color: #2c7a7b !important;
}

/* Method switcher */
.slts-st-method-switcher-methods.active {
    background: #2c7a7b !important;
    color: #fff !important;
}

.slts-st-method-switcher-methods.active {
    border-bottom-color: #2c7a7b !important;
}

/* GPS switch */
.slts-st-gps-switch-input:checked + .slts-st-gps-switch-slider {
    background-color: #2c7a7b !important;
}

/* Error banner - keep visible but soften */
.slts-st-error-banner {
    background: #fff3cd !important;
    border-color: #ffc107 !important;
    color: #856404 !important;
}

.slts-st-retry-location {
    background: #2c7a7b !important;
    color: #fff !important;
}

.slts-st-retry-location:hover {
    background: #22626b !important;
}

/* Analog Clock Styling */
.slts-st-clock-container {
    text-align: center;
    padding: 16px;
}

.slts-st-clock-label {
    font-size: 14px;
    color: #2c7a7b;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slts-st-analog-clock {
    width: 180px;
    height: 180px;
    margin: 0 auto 16px;
    background: #fff;
    border: 6px solid #2c7a7b;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slts-st-clock-center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: #2c7a7b;
    border-radius: 50%;
    margin-left: -5px;
    margin-top: -5px;
    z-index: 10;
}

.slts-st-clock-hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform-origin: bottom center;
    background: #2c7a7b;
    border-radius: 2px;
}

.slts-st-clock-hand.hour {
    width: 5px;
    height: 45px;
    margin-left: -2.5px;
    background: #2c7a7b;
}

.slts-st-clock-hand.minute {
    width: 3px;
    height: 60px;
    margin-left: -1.5px;
    background: #2c7a7b;
}

.slts-st-clock-hand.second {
    width: 2px;
    height: 65px;
    margin-left: -1px;
    background: #e74c3c;
}

.slts-st-clock-number {
    position: absolute;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: #2c7a7b;
}

.slts-st-clock-number span {
    display: inline-block;
    position: absolute;
    left: 50%;
    width: 30px;
    margin-left: -15px;
}

/* Digital Clock */
.slts-st-digital-time {
    font-size: 48px;
    font-weight: 700;
    color: #2c7a7b;
    text-align: center;
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
    margin: 16px 0;
    background: #f0f8f8;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #2c7a7b;
}

.slts-st-digital-ampm {
    font-size: 18px;
    color: #666;
    margin-left: 8px;
}

.slts-st-digital-seconds {
    font-size: 24px;
    color: #e74c3c;
}

/* Table styling */
.slts-st-headers_row_title td {
    background: #2c7a7b !important;
    color: #fff !important;
}

.slts-st-headers_row_day td {
    background: #2c7a7b !important;
    color: #fff !important;
}

.slts-st-content_row_title td {
    background: #2c7a7b !important;
    color: #fff !important;
}

.slts-st-separator {
    background: #2c7a7b !important;
}

/* Modal styling */
.slts-ob-content {
    border-color: #2c7a7b !important;
    box-shadow: 0 8px 16px rgba(44, 122, 123, 0.15) !important;
}

.slts-ob-option-row input:focus,
.slts-ob-option-row select:focus {
    border-color: #2c7a7b !important;
    box-shadow: 0 0 0 3px rgba(44, 122, 123, 0.1) !important;
}

/* Location text - black on light background */
.slts-st-location {
    color: #000 !important;
}

#slts-st-location-content {
    color: #000 !important;
}

.slts-st-date {
    color: #000 !important;
}

/* Print button */
.slts-st-table-print {
    background: #2c7a7b !important;
    color: #fff !important;
}

.slts-st-table-print:hover {
    background: #22626b !important;
}

/* Location other button */
#slts-st-location-other {
    background: #e74c3c !important;
}

#slts-st-location-other:hover {
    background: #c0392b !important;
}

/* Big live analog panel */
.slts-st-live-panel {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-items: center;
    margin: 14px 0 12px;
    padding: 16px;
    border-radius: 12px;
}

.slts-st-live-analog-wrap,
.slts-st-live-prayer-wrap,
.slts-st-live-digital-wrap {
    text-align: center;
}

.slts-st-live-label {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.slts-st-live-prayer-name {
    font-size: 34px;
    font-weight: 800;
    line-height: 1.1;
    margin: 6px 0;
}

.slts-st-live-prayer-time {
    font-size: 28px;
    font-weight: 700;
}

.slts-st-live-digital {
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1px;
    font-family: "SFMono-Regular", Consolas, Menlo, monospace;
}

.slts-st-live-digital span {
    opacity: 0.9;
}

.slts-st-analog-watch {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    position: relative;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.1);
}

.slts-st-analog-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: currentColor;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.slts-st-hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(0deg);
    border-radius: 3px;
}

.slts-st-hour-hand {
    width: 6px;
    height: 38px;
    background: currentColor;
    z-index: 2;
}

.slts-st-minute-hand {
    width: 4px;
    height: 54px;
    background: currentColor;
    z-index: 3;
}

.slts-st-second-hand {
    width: 2px;
    height: 62px;
    background: #ffd166;
    z-index: 4;
}

.slts-st-num {
    position: absolute;
    color: currentColor;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
}

.slts-st-num.n12 { top: 8px; left: 50%; transform: translateX(-50%); }
.slts-st-num.n3 { right: 8px; top: 50%; transform: translateY(-50%); }
.slts-st-num.n6 { bottom: 8px; left: 50%; transform: translateX(-50%); }
.slts-st-num.n9 { left: 8px; top: 50%; transform: translateY(-50%); }

/* Prayer-specific static analog clocks */
.slts-st-s-time {
    position: relative;
    padding-top: 8px !important;
}

.slts-st-prayer-mini-clock {
    width: 42px;
    height: 42px;
    margin: 0 auto 8px;
    position: relative;
    border-radius: 50%;
    border: 2px solid #2c7a7b;
    background: #ffffff;
}

.slts-st-prayer-mini-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: #2c7a7b;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.slts-st-prayer-mini-hand {
    position: absolute;
    left: 50%;
    bottom: 50%;
    transform-origin: bottom center;
    border-radius: 2px;
}

.slts-st-prayer-mini-hand.hour {
    width: 3px;
    height: 10px;
    background: #1f4f50;
    z-index: 1;
}

.slts-st-prayer-mini-hand.minute {
    width: 2px;
    height: 15px;
    background: #2c7a7b;
    z-index: 2;
}

@media only screen and (max-width: 768px) {
    .slts-st-live-panel {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 12px;
    }

    .slts-st-analog-watch {
        width: 126px;
        height: 126px;
    }

    .slts-st-hour-hand {
        height: 30px;
    }

    .slts-st-minute-hand {
        height: 42px;
    }

    .slts-st-second-hand {
        height: 48px;
    }

    .slts-st-live-prayer-name {
        font-size: 28px;
    }

    .slts-st-live-prayer-time {
        font-size: 22px;
    }

    .slts-st-live-digital {
        font-size: 34px;
    }

    .slts-st-prayer-mini-clock {
        width: 36px;
        height: 36px;
    }

    .slts-st-prayer-mini-hand.hour {
        height: 8px;
    }

    .slts-st-prayer-mini-hand.minute {
        height: 13px;
    }
}

/* Top live panel: analog + active prayer + digital */
.slts-st-live-panel {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.slts-st-live-analog-wrap,
.slts-st-live-prayer-wrap,
.slts-st-live-digital-wrap {
    text-align: center;
}

.slts-st-live-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    opacity: 0.95;
    margin-bottom: 8px;
}

.slts-st-live-prayer-name {
    font-size: 34px;
    font-weight: 800;
    line-height: 1;
    margin: 8px 0 6px;
}

.slts-st-live-prayer-time {
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}

.slts-st-live-digital {
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.5px;
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.slts-st-live-digital span {
    color: #ffebee;
}

.slts-st-analog-watch {
    width: 160px;
    height: 160px;
    border: 6px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    margin: 0 auto;
    position: relative;
    background: rgba(255, 255, 255, 0.1);
}

.slts-st-analog-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
}

.slts-st-hand {
    position: absolute;
    left: 50%;
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(0deg);
    border-radius: 3px;
}

.slts-st-hour-hand {
    bottom: 50%;
    width: 6px;
    height: 38px;
    background: #ffffff;
    z-index: 3;
}

.slts-st-minute-hand {
    bottom: 50%;
    width: 4px;
    height: 54px;
    background: #ffffff;
    z-index: 4;
}

.slts-st-second-hand {
    bottom: 50%;
    width: 2px;
    height: 62px;
    background: #ffd166;
    z-index: 4;
}

.slts-st-num {
    position: absolute;
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
}

.slts-st-num.n12 { top: 8px; left: 50%; transform: translateX(-50%); }
.slts-st-num.n3 { right: 8px; top: 50%; transform: translateY(-50%); }
.slts-st-num.n6 { bottom: 8px; left: 50%; transform: translateX(-50%); }
.slts-st-num.n9 { left: 8px; top: 50%; transform: translateY(-50%); }

@media only screen and (max-width: 900px) {
    .slts-st-live-panel {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .slts-st-live-prayer-name {
        font-size: 28px;
    }

    .slts-st-live-prayer-time {
        font-size: 24px;
    }

    .slts-st-live-digital {
        font-size: 34px;
    }
}
