.timer-container {
    text-align: center;
    padding: 20px;
}
.timer-display {
    font-size: 80px;
    font-weight: bold;
    color: #1e3c72;
    margin: 30px 0;
    font-family: 'Courier New', monospace;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    display: inline-block;
    min-width: 400px;
}
.timer-label {
    font-size: 24px;
    color: #666;
    margin-bottom: 30px;
}
.timer-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.control-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}
.start-btn {
    background: #28a745;
    color: white;
}
.pause-btn {
    background: #ffc107;
    color: #212529;
}
.reset-btn {
    background: #dc3545;
    color: white;
}
.work-btn {
    background: #17a2b8;
    color: white;
}
.fish-btn {
    background: #fd7e14;
    color: white;
}
.mode-btn {
    background: #6f42c1;
    color: white;
}
.control-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}
.timer-modes {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}
.mode-option {
    padding: 10px 20px;
    border: 2px solid #e9ecef;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.mode-option:hover, .mode-option.selected {
    border-color: #1e3c72;
    background: #f8f9fa;
}
.settings-panel {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 500px;
    text-align: left;
}
.setting-item {
    margin: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.setting-label {
    font-weight: bold;
    color: #333;
}
.setting-input {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    width: 80px;
    text-align: center;
}
.alarm-setting {
    display: flex;
    align-items: center;
    gap: 10px;
}
.alarm-toggle {
    width: 50px;
    height: 24px;
    position: relative;
    display: inline-block;
}
.alarm-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .slider {
    background-color: #28a745;
}
input:checked + .slider:before {
    transform: translateX(26px);
}
.tips {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    font-size: 14px;
}
.motivational-quote {
    font-size: 18px;
    color: #1e3c72;
    margin: 20px 0;
    font-style: italic;
    padding: 10px;
    border-left: 4px solid #1e3c72;
    background: #f8f9fa;
}