/* To do list design */
/* Input Section Styling */
.habit-input-section {
    margin-bottom: 40px;
}

h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.input-container {
    display: flex;
    gap: 10px;
}

#habitInput {
    flex: 1;
    padding: 15px;
    font-size: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.3s;
}

#habitInput:focus {
    border-color: #667eea;
}

#addHabitBtn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.1s, box-shadow 0.1s;
}

#addHabitBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

#addHabitBtn:active {
    transform: translateY(0);
}

/* Habits Display Section */
.habits-display-section {
    margin-top: 40px;
}

#habitsContainer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.empty-state {
    text-align: center;
    color: #999;
    padding: 40px;
    font-style: italic;
}

/* Habit Card Styling */
.habit-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.habit-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.habit-checkbox {
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    color: #667eea;
    transition: color 0.3s;
}

.habit-checkbox:hover {
    color: #8e66ea;
}

.habit-card h3 {
    margin: 0;
    flex: 1;
    color: #333;
    font-size: 1.2rem;
}

.habit-card.completed h3 {
    text-decoration: line-through;
    opacity: 40%;
}

.edit-btn,
.delete-btn {
    font-size: 1.2rem;
    border-radius: 10%;
    padding: 7px 10px;
    border: none; /* Removes default button border */
    cursor: pointer; /* Shows it's clickable */
    transition: all 0.2s;
}

.edit-btn { 
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0.6) 100%);
    color: rgba(34, 255, 0, 0.737);
}
.edit-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: rgb(102, 126, 234);
    background: rgb(185, 223, 16);
}

.delete-btn {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0.6) 100%);
    color: rgba(255, 0, 0, 0.737);
}
.delete-btn:hover {
    transform: translateY(2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: rgb(102, 126, 234);
    background: rgb(255, 72, 0);
}