/* Minimal, functional styling */

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 40px;
}

header h1 {
    margin: 0;
    color: #2c3e50;
}

header p {
    color: #7f8c8d;
    margin: 5px 0;
}

section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

h2 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 1.5em;
}

/* Worker Selection */
.worker-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.worker-btn {
    flex: 1;
    padding: 15px;
    font-size: 18px;
    border: 2px solid #3498db;
    background: white;
    color: #3498db;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.worker-btn:hover {
    background: #3498db;
    color: white;
}

.worker-btn.active {
    background: #2980b9;
    color: white;
    border-color: #2980b9;
}

.current-worker {
    text-align: center;
    padding: 10px;
    background: #ecf0f1;
    border-radius: 5px;
}

/* Timer Display */
.timer-display {
    text-align: center;
    margin-bottom: 20px;
}

.timer-status {
    font-size: 14px;
    color: #7f8c8d;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.timer-elapsed {
    font-size: 48px;
    font-weight: bold;
    color: #2c3e50;
    font-variant-numeric: tabular-nums;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.timer-controls {
    text-align: center;
    margin-bottom: 20px;
}

/* Stop Form */
#stop-form {
    border-top: 1px solid #ecf0f1;
    padding-top: 20px;
    margin-top: 20px;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
}

.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.form-actions .btn {
    flex: 1;
}

/* Work Logs */
.work-log-item {
    padding: 15px;
    border-bottom: 1px solid #ecf0f1;
}

.work-log-item:last-child {
    border-bottom: none;
}

.work-log-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.work-log-worker {
    font-weight: bold;
    color: #2c3e50;
}

.work-log-time {
    color: #7f8c8d;
    font-size: 14px;
}

.work-log-duration {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-left: 10px;
}

.work-log-description {
    margin-top: 5px;
    color: #555;
}

/* Responsive */
@media (max-width: 600px) {
    .timer-elapsed {
        font-size: 36px;
    }

    .worker-buttons {
        flex-direction: column;
    }

    .form-actions {
        flex-direction: column;
    }
}