.ptl-tracker {
    max-width: 600px;
    margin: 20px auto;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ptl-title {
    margin: 0 0 20px 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.ptl-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

.ptl-button {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #007cba;
    color: #ffffff;
    min-width: 100px;
}

.ptl-button:hover:not(:disabled) {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ptl-button:active:not(:disabled) {
    transform: translateY(0);
}

.ptl-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.ptl-button:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.ptl-button-danger {
    background: #dc3545;
}

.ptl-button-danger:hover:not(:disabled) {
    background: #c82333;
}

.ptl-button-danger:focus {
    outline-color: #dc3545;
}

.ptl-timers {
    background: #f8f9fa;
    padding: 16px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.ptl-timer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 18px;
}

.ptl-timer-row:last-child {
    margin-bottom: 0;
}

.ptl-label {
    font-weight: 500;
    color: #555;
}

.ptl-live-timer,
.ptl-today-total {
    font-family: "Courier New", Courier, monospace;
    font-size: 20px;
    font-weight: 700;
    color: #007cba;
    min-width: 90px;
    text-align: right;
}

.ptl-sessions {
    margin-top: 24px;
}

.ptl-sessions-title {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.ptl-session-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ptl-session-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-left: 4px solid #007cba;
    border-radius: 4px;
}

.ptl-session-item:last-child {
    margin-bottom: 0;
}

.ptl-session-time {
    font-size: 14px;
    color: #555;
}

.ptl-session-duration {
    font-family: "Courier New", Courier, monospace;
    font-size: 16px;
    font-weight: 600;
    color: #007cba;
}

.ptl-no-sessions {
    border-left-color: #ccc;
    color: #999;
    font-style: italic;
    justify-content: center;
}

@media (max-width: 600px) {
    .ptl-tracker {
        padding: 16px;
        margin: 10px;
    }
    
    .ptl-controls {
        flex-direction: column;
    }
    
    .ptl-button {
        width: 100%;
    }
    
    .ptl-timer-row {
        font-size: 16px;
    }
    
    .ptl-live-timer,
    .ptl-today-total {
        font-size: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ptl-button {
        transition: none;
    }
    
    .ptl-button:hover:not(:disabled) {
        transform: none;
    }
}
