/* Daily Planner specific styles */

/* Style the tool title with a blue/green gradient */
.gradient-text-planner {
    background: linear-gradient(135deg, #4ade80, #3b82f6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Input field focus */
.input-field:focus {
    border-color: #3b82f6; /* Blue-500 */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

/* Date input styling (browser default might vary) */
#dateSelector {
    /* Add specific styles if needed */
}

/* Planner Entry Item Styling */
.planner-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0.8rem;
    background-color: #f9fafb; /* gray-50 */
    border: 1px solid #e5e7eb; /* gray-200 */
    border-radius: 0.375rem; /* rounded-md */
    transition: background-color 0.2s ease-in-out;
}

.planner-entry span {
    flex-grow: 1;
    margin-right: 1rem;
    word-break: break-word; /* Wrap long entries */
}

.planner-entry .delete-entry-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    color: #9ca3af; /* gray-400 */
    transition: color 0.2s ease;
    font-size: 0.9rem; /* Adjust icon size if using SVG */
    font-weight: bold;
    line-height: 1;
}

.planner-entry .delete-entry-btn:hover {
    color: #ef4444; /* red-500 */
}

/* Task Input Styles */
.task-input-section input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* Task Item Styles */
.task-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.task-item:hover {
    background-color: #f3f4f6;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.task-item.completed {
    background-color: #f0fdf4;
    border-color: #d1fae5;
}

.task-item.completed .task-description {
    text-decoration: line-through;
    color: #6b7280;
}

.task-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: #3b82f6;
    cursor: pointer;
}

.task-time {
    min-width: 80px;
    font-weight: 600;
    color: #4b5563;
    background-color: rgba(59, 130, 246, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 12px;
    text-align: center;
}

.task-description {
    flex: 1;
    word-break: break-word;
}

.task-delete {
    color: #9ca3af;
    margin-left: 8px;
    opacity: 0.6;
    transition: all 0.2s ease;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.task-delete:hover {
    color: #ef4444;
    opacity: 1;
    background-color: #fee2e2;
}

/* Filter Options Styles */
#filter-options input[type="radio"] {
    cursor: pointer;
}

#filter-options input[type="radio"]:checked + span {
    font-weight: 600;
}

/* Notification Styles */
.notification {
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 500;
    max-width: 300px;
}

.notification.success {
    background-color: #ecfdf5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.notification.error {
    background-color: #fef2f2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.notification.info {
    background-color: #eff6ff;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

/* Empty State Styling */
.empty-state {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
    padding: 24px 0;
    border: 2px dashed #e5e7eb;
    border-radius: 8px;
    margin: 12px 0;
}

/* Clear Completed Button */
#clear-completed {
    font-size: 0.875rem;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 16px auto 0;
    border-radius: 4px;
    transition: all 0.2s ease;
}

#clear-completed:hover {
    background-color: #fee2e2;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .task-item {
        flex-wrap: wrap;
    }
    
    .task-time {
        margin-right: 8px;
        min-width: 60px;
        font-size: 0.875rem;
    }
    
    .task-checkbox {
        margin-right: 8px;
    }
}

/* Animation for task additions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.task-item {
    animation: fadeIn 0.3s ease forwards;
} 