/* Mesai Takip Widget Styles */
.mesai-takip-widget {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.mesai-timer-display {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bs-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -1px;
    line-height: 1;
}

.mesai-status-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.mesai-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.mesai-progress-container {
    height: 6px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.mesai-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0d6efd, #0dcaf0);
    width: 0%;
    transition: width 0.3s ease;
}

.mesai-history-list {
    max-height: 150px;
    overflow-y: auto;
    font-size: 0.75rem;
}

.mesai-history-item {
    border-left: 3px solid #dee2e6;
    padding: 5px 10px;
    margin-bottom: 5px;
    background: #fff;
    border-radius: 0 5px 5px 0;
}

.mesai-history-item.completed {
    border-left-color: #198754;
}

.mesai-target-input {
    max-width: 80px;
}

.mesai-pulse {
    animation: mesai-pulse-animation 2s infinite;
}

@keyframes mesai-pulse-animation {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

[data-bs-theme="dark"] .mesai-takip-widget {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

[data-bs-theme="dark"] .mesai-history-item {
    background: #374151;
    border-left-color: #4b5563;
}