/* Styling für den Fokus-Timer */

.focus-timer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.focus-timer-container.premium-feature:not(.active) {
    opacity: 0.7;
    position: relative;
}

.focus-timer-container.premium-feature:not(.active)::after {
    content: 'Pro-Feature';
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #f1c40f;
    color: #7f5803;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
}

.focus-timer-container.premium-feature:not(.premium-active) {
    opacity: 0.7;
    position: relative;
    cursor: not-allowed;
}

.focus-timer-container.premium-feature:not(.premium-active)::after {
    content: 'Pro-Feature';
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #f1c40f;
    color: #7f5803;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: bold;
    z-index: 10;
}

.focus-timer-container.premium-feature:not(.premium-active)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.6);
    z-index: 5;
    border-radius: 10px;
}

body.eisenhower-dark-mode .focus-timer-container.premium-feature:not(.premium-active)::before {
    background-color: rgba(0, 0, 0, 0.6);
}

.focus-timer-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.focus-timer-title {
    font-weight: bold;
    color: #2c3e50;
}

.focus-timer-task {
    color: #3498db;
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 16px;
}

.focus-timer-display {
    font-size: 32px;
    font-weight: bold;
    color: #2c3e50;
    margin: 10px 0;
    font-family: monospace;
}

.focus-timer-progress-bar {
    width: 100%;
    height: 6px;
    background-color: #ecf0f1;
    border-radius: 3px;
    margin: 10px 0;
    overflow: hidden;
}

.focus-timer-progress {
    height: 100%;
    background-color: #2ecc71;
    transition: width 1s linear, background-color 1s ease;
}

.focus-timer-controls {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.focus-timer-button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.focus-timer-button.pause {
    background-color: #3498db;
    color: white;
}

.focus-timer-button.stop {
    background-color: #e74c3c;
    color: white;
}

.focus-timer-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.focus-timer-button:active {
    transform: translateY(1px);
}

/* Dunkelmodus-Unterstützung */
body.eisenhower-dark-mode .focus-timer-container {
    background-color: #2c3e50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

body.eisenhower-dark-mode .focus-timer-title,
body.eisenhower-dark-mode .focus-timer-display {
    color: #ecf0f1;
}

body.eisenhower-dark-mode .focus-timer-progress-bar {
    background-color: #34495e;
}

body.eisenhower-dark-mode .focus-timer-task {
    color: #3498db;
}

/* Timer-Einstellungen */
.timer-settings {
    margin-top: 10px;
    width: 100%;
}

.timer-duration-options {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 5px;
}

.timer-duration-option {
    background-color: #ecf0f1;
    border: 1px solid #bdc3c7;
    border-radius: 15px;
    padding: 3px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.timer-duration-option:hover {
    background-color: #3498db;
    color: white;
}

.timer-duration-option.selected {
    background-color: #2980b9;
    color: white;
    font-weight: bold;
}

body.eisenhower-dark-mode .timer-duration-option {
    background-color: #34495e;
    border-color: #2c3e50;
    color: #ecf0f1;
}

/* Delegation-Button */
.focus-timer-button.delegate {
    background-color: #f39c12;
    color: white;
}

body.eisenhower-dark-mode .focus-timer-button.delegate {
    background-color: #d35400;
}

.focus-timer-button.delegate:hover {
    background-color: #e67e22;
}

body.eisenhower-dark-mode .focus-timer-button.delegate:hover {
    background-color: #e67e22;
}

/* Hauptbuttons */
.focus-timer-main-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    width: 100%;
}

.focus-timer-button.start {
    background-color: #27ae60;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    min-width: 120px;
}

.focus-timer-button.start:hover {
    background-color: #2ecc71;
}

.focus-timer-button.delegate-empty {
    background-color: #d35400;
    color: white;
    font-size: 16px;
    padding: 10px 20px;
    min-width: 120px;
}

.focus-timer-button.delegate-empty:hover {
    background-color: #e67e22;
}

/* Toolbar */
.focus-timer-toolbar {
    display: flex;
    gap: 8px;
    padding: 10px;
    background-color: #f5f6fa;
    border-radius: 8px;
    margin-bottom: 15px;
    width: 100%;
}

body.eisenhower-dark-mode .focus-timer-toolbar {
    background-color: #2c3e50;
}

.focus-timer-button.track,
.focus-timer-button.notes,
.focus-timer-button.reminder,
.focus-timer-button.music {
    font-size: 12px;
    padding: 6px 12px;
    background-color: white;
    border: 1px solid #dcdde1;
    color: #2c3e50;
}

body.eisenhower-dark-mode .focus-timer-button.track,
body.eisenhower-dark-mode .focus-timer-button.notes,
body.eisenhower-dark-mode .focus-timer-button.reminder,
body.eisenhower-dark-mode .focus-timer-button.music {
    background-color: #34495e;
    border-color: #2c3e50;
    color: #ecf0f1;
}

/* Timeline */
.focus-timer-timeline {
    width: 100%;
    margin: 15px 0;
    padding: 10px;
}

.timeline-track {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.timeline-marker {
    font-size: 12px;
    color: #7f8c8d;
}

.timeline-progress {
    flex-grow: 1;
    height: 4px;
    background-color: #ecf0f1;
    border-radius: 2px;
    overflow: hidden;
}

.timeline-progress-bar {
    height: 100%;
    background-color: #3498db;
    width: 0;
    transition: width 1s linear;
}

.timeline-checkpoints {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

/* Modal */
.focus-timer-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    min-width: 300px;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.eisenhower-dark-mode .modal-content {
    background-color: #2c3e50;
    color: #ecf0f1;
}

.tracking-stats {
    display: flex;
    justify-content: space-around;
    margin: 20px 0;
}

.stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 14px;
    color: #7f8c8d;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #2980b9;
}

body.eisenhower-dark-mode .stat-value {
    color: #3498db;
}

/* Notizen */
.focus-timer-notes {
    width: 100%;
    margin: 10px 0;
}

.focus-timer-notes textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border: 1px solid #dcdde1;
    border-radius: 5px;
    resize: vertical;
}

body.eisenhower-dark-mode .focus-timer-notes textarea {
    background-color: #34495e;
    border-color: #2c3e50;
    color: #ecf0f1;
}

/* Erinnerungs-Optionen */
.reminder-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
}

.reminder-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.reminder-options input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

/* Modal Buttons */
.modal-content button {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
}

.save-reminder {
    background-color: #2ecc71;
    color: white;
}

.close-modal {
    background-color: #95a5a6;
    color: white;
}
