/* START - KOL Countdown Timer Light Mode */
html.light-mode .kol-countdown-wrapper {
    margin: 0;
    padding: 0;
}

html.light-mode .kol-countdown-circles {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

html.light-mode .kol-countdown-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

html.light-mode .kol-countdown-svg {
    width: 140px;
    height: 140px;
}

html.light-mode .kol-countdown-ring-bg {
    fill: none;
    stroke: #333;
    stroke-width: 14;
}

html.light-mode .kol-countdown-ring-fill {
    fill: none;
    stroke-width: 14;
    stroke-linecap: round;
    stroke-dasharray: 395.84;
    stroke-dashoffset: 395.84;
    transform: rotate(-90deg);
    transform-origin: 70px 70px;
    transition: stroke-dashoffset 0.1s linear;
}

html.light-mode .kol-countdown-day-ring {
    stroke: #FF6B6B;
}

html.light-mode .kol-countdown-hour-ring {
    stroke: #2d7c2d;
}

html.light-mode .kol-countdown-min-ring {
    stroke: #4ECDC4;
}

html.light-mode .kol-countdown-sec-ring {
    stroke: #FFE66D;
}

html.light-mode .kol-countdown-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 500;
    color: #1f2937;
    width: 100%;
    text-align: center;
}

html.light-mode .kol-countdown-circle {
    position: relative;
}

html.light-mode .kol-countdown-label {
    font-size: 17px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

html.light-mode .widget-title {
    font-weight: bold;
}

html.light-mode .kol-countdown-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
}

html.light-mode .kol-countdown-start-btn,
html.light-mode .kol-countdown-reset-btn {
    padding: 8px 16px;
    border: 0.5px solid #d1d5db;
    background: transparent;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    color: #1f2937;
    transition: background-color 0.2s;
}

html.light-mode .kol-countdown-start-btn:hover,
html.light-mode .kol-countdown-reset-btn:hover {
    background: #f3f4f6;
}

html.light-mode .kol-countdown-status {
    text-align: center;
    font-size: 14px;
    color: #6b7280;
    min-height: 20px;
}

html.light-mode .kol-countdown-pulse {
    animation: kol-countdown-pulse 0.6s ease-in-out;
}

/* END - KOL Countdown Timer Light Mode */

/* START - KOL Countdown Timer Dark Mode */
html.dark-mode .kol-countdown-wrapper {
    margin: 0;
    padding: 0;
}

html.dark-mode .kol-countdown-circles {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

html.dark-mode .kol-countdown-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

html.dark-mode .kol-countdown-svg {
    width: 140px;
    height: 140px;
}

html.dark-mode .kol-countdown-ring-bg {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 14;
}

html.dark-mode .kol-countdown-ring-fill {
    fill: none;
    stroke-width: 14;
    stroke-linecap: round;
    stroke-dasharray: 395.84;
    stroke-dashoffset: 395.84;
    transform: rotate(-90deg);
    transform-origin: 70px 70px;
    transition: stroke-dashoffset 0.1s linear;
}

html.dark-mode .kol-countdown-day-ring {
    stroke: #FF6B6B;
}

html.dark-mode .kol-countdown-hour-ring {
    stroke: #2d7c2d;
}

html.dark-mode .kol-countdown-min-ring {
    stroke: #4ECDC4;
}

html.dark-mode .kol-countdown-sec-ring {
    stroke: #FFE66D;
}

html.dark-mode .kol-countdown-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 48px;
    font-weight: 500;
    color: #e0e0e0;
    width: 100%;
    text-align: center;
}

html.dark-mode .kol-countdown-circle {
    position: relative;
}

html.dark-mode .kol-countdown-label {
    font-size: 17px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

html.dark-mode .widget-title {
    font-weight: bold;
}

html.dark-mode .kol-countdown-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1rem;
}

html.dark-mode .kol-countdown-start-btn,
html.dark-mode .kol-countdown-reset-btn {
    padding: 8px 16px;
    border: 0.5px solid #4b5563;
    background: transparent;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    color: #e0e0e0;
    transition: background-color 0.2s;
}

html.dark-mode .kol-countdown-start-btn:hover,
html.dark-mode .kol-countdown-reset-btn:hover {
    background: #2a2a2a;
}

html.dark-mode .kol-countdown-status {
    text-align: center;
    font-size: 14px;
    color: #9ca3af;
    min-height: 20px;
}

html.dark-mode .kol-countdown-pulse {
    animation: kol-countdown-pulse 0.6s ease-in-out;
}

/* END - KOL Countdown Timer Dark Mode */

/* START - Mobile CSS */
@media (max-width: 768px) {
    html.light-mode .kol-countdown-circles,
    html.dark-mode .kol-countdown-circles {
        gap: 15px;
        flex-wrap: nowrap;
    }

    html.light-mode .kol-countdown-svg,
    html.dark-mode .kol-countdown-svg {
        width: 90px;
        height: 90px;
    }

    html.light-mode .kol-countdown-value,
    html.dark-mode .kol-countdown-value {
        font-size: 32px;
    }

    html.light-mode .kol-countdown-label,
    html.dark-mode .kol-countdown-label {
        font-size: 11px;
    }
}

/* END - Mobile CSS */

@keyframes kol-countdown-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
