body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #37352f;
    background-color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px 20px 20px; /* Updated padding to account for fixed nav */
}

.date-header {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e6e6e6;
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.date-tooltip {
    visibility: hidden;
    background-color: #37352f;
    color: white;
    text-align: center;
    padding: 5px 10px;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    top: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 16px;
}

.date-header:hover .date-tooltip {
    visibility: visible;
    opacity: 1;
}

.habits-list {
    list-style-type: none;
    padding: 0;
}

.habit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.habit-name {
    font-size: 16px;
    font-weight: 500;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    color: #666;
    transition: color 0.2s ease;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background-color: white;
    min-width: 120px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    z-index: 1000;
}

.dropdown.active .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #37352f;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    border-radius: 8px;
}

.dropdown-content a.delete-btn {
    color: #dc2e2e;
}

.toggle-btn-group {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    justify-content: center;
}
.toggle-btn {
    padding: 10px 32px;
    border: none;
    border-radius: 24px;
    background: #f1f1f1;
    color: #37352f;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.toggle-btn.active {
    background: #37352f;
    color: #fff;
}