/* Pomodoro Timer Styles */

/* Tool description area styles */
.tool-description {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid #007bff;
}

.feature h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #007bff;
}

/* Timer container styles */
.timer-container {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    text-align: center;
}

.timer-display {
    margin-bottom: 30px;
}

.timer-circle {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    border-radius: 50%;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.timer-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(#007bff 0%, transparent 0%);
    transition: background 0.3s;
}

.timer-time {
    position: relative;
    font-size: 3.5rem;
    font-weight: 700;
    color: #333;
    z-index: 2;
}

.timer-label {
    position: relative;
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
    margin-top: 10px;
    z-index: 2;
}

/* Timer controls styles */
.timer-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #f8f9fa;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn:hover {
    background-color: #e9ecef;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.primary-btn {
    background-color: #007bff;
    color: white;
}

.primary-btn:hover {
    background-color: #0069d9;
}

/* Timer stats styles */
.timer-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

/* Timer settings styles */
.timer-settings {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.setting-group {
    display: flex;
    flex-direction: column;
}

.setting-group label {
    margin-bottom: 8px;
    font-weight: 500;
}

.setting-group input[type="number"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
}

/* How to use section styles */
.how-to-use {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.how-to-use ol {
    margin-left: 20px;
    margin-top: 15px;
    margin-bottom: 15px;
}

.how-to-use li {
    margin-bottom: 10px;
}

.tip {
    background-color: #e6f7ff;
    padding: 15px;
    border-left: 3px solid #1890ff;
    border-radius: 4px;
    font-size: 0.95rem;
}

/* Benefits section styles */
.benefits {
    background-color: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-card {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border-top: 3px solid #28a745;
}

.benefit-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #28a745;
}

/* Work mode styles */
.work-mode .timer-progress {
    background: conic-gradient(#dc3545 0%, transparent 0%);
}

.work-mode .timer-time {
    color: #dc3545;
}

/* Short break mode styles */
.short-break-mode .timer-progress {
    background: conic-gradient(#28a745 0%, transparent 0%);
}

.short-break-mode .timer-time {
    color: #28a745;
}

/* Long break mode styles */
.long-break-mode .timer-progress {
    background: conic-gradient(#17a2b8 0%, transparent 0%);
}

.long-break-mode .timer-time {
    color: #17a2b8;
}

/* Responsive design */
@media (max-width: 768px) {
    .timer-circle {
        width: 200px;
        height: 200px;
    }
    
    .timer-time {
        font-size: 2.5rem;
    }
    
    .timer-controls {
        flex-wrap: wrap;
    }
    
    .timer-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
}
