* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --text-tertiary: #666666;
    --accent-blue: #007aff;
    --accent-green: #30d158;
    --accent-orange: #ff9f0a;
    --accent-purple: #af52de;
    --border-color: #333333;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.4);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
  overflow-x: hidden;
}

.navbar {
    background: rgba(30, 30, 30, 0.65);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-radius: 40px;
    border: 1.5px solid rgba(255,255,255,0.22);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18);
    padding: 0;
    margin: 32px auto 32px auto;
    max-width: 1400px;
    width: 95vw;
    position: relative;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
}

.nav-content {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 8px;
    box-sizing: border-box;
}
.nav-left,
.nav-center,
.nav-right {
    flex: 1;
    display: flex;
    align-items: center;
}
.nav-left {
    justify-content: flex-start;
    gap: 12px;
    padding-left: 24px;
}
.nav-center {
    justify-content: center;
    gap: 12px;
}
.nav-right {
    justify-content: flex-end;
    gap: 8px;
    padding-right: 24px;
}

.nav-left h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-btn, .nav-btn:link, .nav-btn:visited {
  display: inline-block;
  background: none;
  border: none;
  color: #fff;
  font-size: 1em;
  padding: 8px 18px;
  margin: 0 4px;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, font-weight 0.15s, transform 0.15s, box-shadow 0.15s;
  font-weight: 500;
}
.nav-btn:hover, .nav-btn:focus {
  color: #fff;
  font-weight: 700;
  transform: scale(1.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  text-decoration: none;
}

.nav-btn:focus {
    outline: none;
    box-shadow: none;
}

.nav-btn:hover {
    color: #fff;
    font-weight: 700;
    transform: scale(1.08);
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.overlay.show {
    display: flex;
}

.overlay-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 56px 56px 48px 56px;
    max-width: 900px;
    width: 98%;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    text-align: left;
}

.overlay-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    text-align: left;
}

.overlay-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-tertiary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
}

.close-btn:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px 20px 20px;
    min-height: 100vh;
}

header {
    text-align: center;
    margin-bottom: 20px;
    padding: 16px 0 10px 0;
}

h1 {
    font-size: 96px;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h3 {
    font-size: 72;
    font-weight: 300px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 2rem !important;
    font-weight: 400;
}

.second-heading {
    font-size: 20px;
}

.how-it-works {
    text-align: center;
    margin: 10px 0 30px 0;
    padding: 0px 0;
}

.how-it-works-content {
    text-align: center;
}

.steps {
    text-align: left;
}

.step {
    display: block;
    text-align: left;
    max-width: 700px;
    margin: 0 0 32px 0;
}

.step:last-child {
    margin-bottom: 0;
}

.step h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    white-space: normal;
    text-align: left;
}

.step p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.add-task-tooltip {
    position: absolute;
    left: 50%;
    top: -48px;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.4s cubic-bezier(0.4,0,0.2,1), transform 0.4s cubic-bezier(0.4,0,0.2,1);
    animation: tooltipFadeIn 1.1s cubic-bezier(0.4,0,0.2,1) 0.2s forwards;
}
.add-task-tooltip.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.add-task-tooltip::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid var(--bg-tertiary);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.10));
}
@keyframes tooltipFadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.task-input-container {
    margin-bottom: 40px;
    position: relative;
}

.input-group {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
    flex-wrap: wrap;
}

#taskInput {
    flex: 1;
    min-width: 200px;
    padding: 16px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

#taskInput:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}



.add-btn {
    padding: 16px 24px;
    background: var(--accent-blue);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    animation: addTaskPulse 2.2s infinite;
    box-shadow: 0 0 0 0 rgba(0,122,255,0.10);
}

.add-btn:hover {
    background: #0056cc;
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
}

.add-btn:active {
    transform: translateY(0);
}

.energy-zones {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.zone {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.zone:hover {
    border-color: var(--text-tertiary);
    box-shadow: var(--shadow);
}

.zone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.zone-header h2 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
}

.task-count {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.zone-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.task-list {
    flex: 1;
    min-height: 200px;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    transition: var(--transition);
}

.task-list.drag-over {
    border-color: var(--accent-blue);
    background: rgba(0, 122, 255, 0.05);
}

.task-item {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    cursor: grab;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.task-item:hover {
    border-color: var(--text-tertiary);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.task-item:active {
    cursor: grabbing;
}

.task-item.completed {
    opacity: 0.6;
    background: var(--bg-primary);
}

.task-item.completed .task-text {
    text-decoration: line-through;
    color: var(--text-secondary);
}

.task-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.task-checkbox:checked {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.task-text {
    flex: 1;
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.4;
    word-break: break-word;
}

.task-delete {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: var(--transition);
    opacity: 0;
    font-size: 1.1rem;
}

.task-item:hover .task-delete {
    opacity: 1;
}

.task-delete:hover {
    color: #ff453a;
    background: rgba(255, 69, 58, 0.1);
}

.suggested-indicator {
    color: var(--accent-purple);
    font-size: 0.9rem;
    opacity: 0.7;
    cursor: help;
    margin-left: 4px;
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--accent-green);
    color: white;
    padding: 16px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    box-shadow: var(--shadow-hover);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 1000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.empty-state {
    text-align: center;
    color: var(--text-tertiary);
    padding: 40px 20px;
    font-size: 0.95rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .input-group {
        flex-direction: column;
        gap: 12px;
    }
    
    #taskInput,
    .add-btn {
        width: 100%;
    }
    
    .energy-zones {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .zone {
        padding: 20px;
    }
    
    .task-item {
        padding: 14px;
    }
    
    .toast {
        bottom: 20px;
        right: 20px;
        left: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .zone-header h2 {
        font-size: 1.2rem;
    }
    
    .task-text {
        font-size: 0.95rem;
    }
}

/* Animation for new tasks */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.task-item {
    animation: slideIn 0.3s ease-out;
}

/* Drag and drop visual feedback */
.task-item.dragging {
    opacity: 0.5;
    transform: rotate(5deg);
    box-shadow: var(--shadow-hover);
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
} 

.task-tooltip {
    display: none;
    position: absolute;
    left: 50%;
    top: -60px;
    transform: translateX(-50%);
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 18px;
    min-width: 240px;
    max-width: 320px;
    z-index: 10;
    box-shadow: 0 4px 24px rgba(0,0,0,0.25);
    font-size: 0.98rem;
    pointer-events: auto;
    text-align: left;
    white-space: normal;
}

.task-item {
    position: relative;
}

.tooltip-reason {
    margin-bottom: 10px;
    font-size: 0.97rem;
    color: var(--text-secondary);
}

.tooltip-feedback {
    display: flex;
    gap: 10px;
    align-items: center;
}

.thumb {
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: color 0.2s, opacity 0.2s, transform 0.2s;
    user-select: none;
}

.thumb-up:hover, .feedback-up .thumb-up {
    color: var(--accent-green);
    opacity: 1;
    transform: scale(1.2);
}

.thumb-down:hover, .feedback-down .thumb-down {
    color: #ff453a;
    opacity: 1;
    transform: scale(1.2);
} 

.back-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 4px 10px 4px 0;
    border-radius: 0;
    transition: color 0.2s, transform 0.2s;
    margin-right: 4px;
    line-height: 1;
    outline: none;
}

.back-btn:hover, .back-btn:focus {
    background: none;
    color: var(--accent-blue);
    outline: none;
    transform: scale(1.12);
    border-radius: 0;
}

#previousPage header {
    justify-content: center;
    text-align: center;
} 

#previousPage .energy-zones {
    margin-bottom: 90px;
}

#addToTodayBtn {
  position: sticky;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 1000;
  width: max-content;
  min-width: 220px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

@media (max-width: 600px) {
    #addToTodayBtn.add-btn {
        right: 16px;
        bottom: 16px;
        width: calc(100vw - 32px);
        max-width: 95vw;
    }
    #previousPage .energy-zones {
        margin-bottom: 80px;
    }
} 

.gsi-material-button {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  -webkit-appearance: none;
  background-color: WHITE;
  background-image: none;
  border: 1px solid #747775;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #1f1f1f;
  cursor: pointer;
  font-family: 'Roboto', arial, sans-serif;
  font-size: 14px;
  height: 40px;
  letter-spacing: 0.25px;
  outline: none;
  overflow: hidden;
  padding: 0 12px;
  position: relative;
  text-align: center;
  -webkit-transition: background-color .218s, border-color .218s, box-shadow .218s;
  transition: background-color .218s, border-color .218s, box-shadow .218s;
  vertical-align: middle;
  white-space: nowrap;
  width: auto;
  max-width: 400px;
  min-width: min-content;
}

.gsi-material-button .gsi-material-button-icon {
  height: 20px;
  margin-right: 12px;
  min-width: 20px;
  width: 20px;
}

.gsi-material-button .gsi-material-button-content-wrapper {
  -webkit-align-items: center;
  align-items: center;
  display: flex;
  -webkit-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: nowrap;
  flex-wrap: nowrap;
  height: 100%;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.gsi-material-button .gsi-material-button-contents {
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-family: 'Roboto', arial, sans-serif;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: top;
}

.gsi-material-button .gsi-material-button-state {
  -webkit-transition: opacity .218s;
  transition: opacity .218s;
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gsi-material-button:disabled {
  cursor: default;
  background-color: #ffffff61;
  border-color: #1f1f1f1f;
}

.gsi-material-button:disabled .gsi-material-button-contents {
  opacity: 38%;
}

.gsi-material-button:disabled .gsi-material-button-icon {
  opacity: 38%;
}

.gsi-material-button:not(:disabled):active .gsi-material-button-state, 
.gsi-material-button:not(:disabled):focus .gsi-material-button-state {
  background-color: #303030;
  opacity: 12%;
}

.gsi-material-button:not(:disabled):hover {
  -webkit-box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .30), 0 1px 3px 1px rgba(60, 64, 67, .15);
}

.gsi-material-button:not(:disabled):hover .gsi-material-button-state {
  background-color: #303030;
  opacity: 8%;
}
  

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 2px auto;
    cursor: pointer;
}
/* .signout-text {
    display: block;
    font-size: 11px;
    color: #888;
    text-align: center;
    margin-top: 0;
    cursor: pointer;
    font-family: 'Roboto', Arial, sans-serif;
    letter-spacing: 0.1px;
}  */

.edit-icon {
    width: 18px;
    height: 18px;
    margin-left: auto;
    margin-right: 4px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.edit-icon:hover {
    opacity: 1;
}
.edit-task-input {
    font-size: 1rem;
    font-family: inherit;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
    margin-right: 0;
    outline: none;
    box-sizing: border-box;
    resize: vertical;
} 

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
}
.hamburger span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 4px 0;
    background: #fff;
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .nav-center {
        display: none;
    }
    .nav-right .gsi-material-button {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .mobile-menu {
        display: flex;
        flex-direction: column;
        position: fixed !important;
        top: 80px;
        right: 20px;
        left: unset;
        bottom: unset;
        background: #000;
        border-radius: 20px;
        box-shadow: 0 8px 32px 0 rgba(31,38,135,0.18);
        padding: 0;
        z-index: 99999;
        min-width: 250px;
        transition: opacity 0.2s, transform 0.2s;
        overflow: hidden;
        height: auto;
        max-height: calc(100vh - 40px);
        overflow-y: auto;
        pointer-events: auto;
        align-items: center;
        text-align: center;
        padding-top: 0 !important;
    }
    
    .mobile-menu-header {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 20px 20px 0 20px;
        border-bottom: 1px solid #222;
        margin-bottom: 20px;
        position: relative;
        min-height: 40px;
    }
    
    .mobile-menu-header .nav-btn {
        background: none;
        border: none;
        color: #fff;
        font-size: 1rem;
        font-weight: 500;
        cursor: pointer;
        padding: 0;
        margin: 0;
        text-align: center;
        justify-content: center;
        width: auto;
    }
    
    .mobile-menu-header .close-btn {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #fff;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 4px;
        border-radius: 4px;
        transition: color 0.2s;
        z-index: 2;
    }
    
    .mobile-menu-header .close-btn:hover {
        color: var(--accent-blue);
    }
    .mobile-menu-center-link {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        color: #fff;
        font-size: 1.2rem;
        font-weight: 600;
        text-align: center;
        z-index: 1;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
        margin: 0;
    }
    .mobile-auth-section {
        padding: 16px;
        border-top: 1px solid #222;
        background: #000;
        flex-shrink: 0;
        width: 100%;
        box-sizing: border-box;
    }
    .mobile-auth-btn {
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
        width: 100%;
        text-align: left;
    }
    .mobile-signin-content {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 1rem;
        font-weight: 500;
    }
    .mobile-profile-content {
        display: flex;
        align-items: center;
        gap: 12px;
        font-size: 1rem;
        font-weight: 500;
    }
    .mobile-profile-img {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
    }
    .mobile-nav-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
        text-align: center;
        width: 100%;
        flex: 1 1 auto;
        margin: 0;
        padding: 20px;
        padding-top: 8px !important;
        margin-top: 0 !important;
    }
    .mobile-nav-section .nav-btn {
        justify-content: center;
        text-align: center;
        background: none;
        border: none;
        color: inherit;
        padding: 12px 0;
        font-size: inherit;
        font-weight: inherit;
        cursor: pointer;
        transition: none;
        width: 100%;
    }
    .mobile-nav-section .nav-btn:hover {
        color: inherit;
        text-decoration: none;
    }
    .mobile-signout-btn {
        background: none;
        border: none;
        color: #fff;
        font-size: 1rem;
        font-weight: 500;
        padding: 6px 0 0 0;
        margin: 0;
        cursor: pointer;
        text-align: left;
        text-decoration: underline;
        transition: color 0.2s;
    }
    .mobile-signout-btn:hover {
        color: #ff5252;
        text-decoration: underline;
    }
    .mobile-menu .close-btn {
        color: #fff;
        font-size: 2rem;
    }
}

.mobile-menu {
    display: none;
}

.mobile-menu .nav-btn {
} 

.footer {
    width: 100vw;
    max-width: 100vw;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top: 1px solid var(--border-color);
    box-shadow: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    position: static;
    left: unset;
    bottom: unset;
    z-index: 1;
}
.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo {
    width: 28px;
    height: 28px;
}
.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-right {
    display: flex;
    gap: 28px;
    align-items: center;
}
.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}
.footer-link:hover {
    color: #fff;
    font-weight: 700;
    transform: scale(1.08);
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    text-decoration: none;
}
@media (max-width: 600px) {
    .footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 12px;
        gap: 10px;
    }
    .footer-right {
        gap: 16px;
    }
    .footer-title {
        font-size: 1.1rem;
    }
    .footer-logo {
        width: 28px;
        height: 28px;
    }
} 

.privacy-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 0;
} 

.nav-logo {
    height: 36px;
    width: auto;
    margin-right: 16px;
    vertical-align: middle;
}
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}
#syncCalendarBtnWrapper {
    display: none;
} 

@media (max-width: 768px) {
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: #000;
        z-index: 10000;
        display: flex;
        align-items: stretch;
        justify-content: flex-end;
    }
    .mobile-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100vh;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        padding-top: 60px;
        padding-bottom: 80px;
    }
    
    .mobile-menu .mobile-menu-header {
        position: absolute;
        top: 20px;
        left: 20px;
        right: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 10001;
    }
    .mobile-nav-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .mobile-auth-section {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        padding: 16px 32px;
        border-top: 1px solid #222;
        background: #000;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 24px;
        margin: 0;
    }
} 

.ai-insights {
    background: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0 0 16px 0;
    max-width: 900px;
    margin: 0 auto 32px auto;
    text-align: center;
    pointer-events: none;
}
.ai-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    justify-content: center;
    text-align: center;
}
#seeMoreInsightsBtn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 400;
    cursor: pointer;
    box-shadow: none;
    padding: 0 0 0 16px;
    transition: color 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1), font-weight 0.35s cubic-bezier(0.4,0,0.2,1);
    outline: none;
    text-shadow: none;
    display: inline-block;
    position: relative;
    z-index: 10;
    pointer-events: auto;
    font-style: italic;
    text-decoration: underline;
}
#seeMoreInsightsBtn:hover {
    color: #fff;
    font-weight: 700;
    transform: scale(1.08);
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
#seeMoreInsightsBtn:focus {
    outline: none;
    box-shadow: none;
}
#heatmapContainer {
    display: grid;
    grid-template-columns: repeat(14, 18px);
    gap: 4px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 12px 0;
}
.heatmap-rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.heatmap-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 6px;
}
.heatmap-day {
  width: 24px;
  height: 24px;
  margin: 0;
  border-radius: 6px;
  background: #222;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.heatmap-day[data-count="0"] { background: #222; } /* Gray/Black: 0 completions */
.heatmap-day[data-count="1"] { background: #ff5252; } /* Red: 1 completion */
.heatmap-day[data-count="2"] { background: #ffeb3b; } /* Yellow: 2 completions */
.heatmap-day[data-count="3"],
.heatmap-day[data-count="4"],
.heatmap-day[data-count="5"],
.heatmap-day[data-count="6"],
.heatmap-day[data-count="7"],
.heatmap-day[data-count="8"],
.heatmap-day[data-count="9"],
.heatmap-day[data-count="10"] {
    background: #43a047;
} /* Green: 3+ completions */
.heatmap-day[data-count]:not([data-count="0"]):hover {
    outline: 2px solid var(--accent-green);
    z-index: 2;
}
.heatmap-tooltip {
  display: none;
  position: absolute;
  bottom: 110%;
  left: 50%;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8em;
  white-space: nowrap;
  z-index: 10;
}
.heatmap-day:hover .heatmap-tooltip {
  display: block;
}
.heatmap-date-range {
  text-align: center;
  font-size: 0.75em;
  color: #aaa;
  margin-top: 14px;
  white-space: nowrap;
}
@media (max-width: 600px) {
    #heatmapContainer {
        grid-template-columns: repeat(7, 18px);
    }
} 

#energyTrendsPrompt {
  display: none;
  font-size: 0.95em;
  color: #aaa;
  margin-bottom: 16px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.accent-btn {
    color: var(--accent-blue);
    font-weight: 600;
    border: none;
    border-bottom: 2px solid var(--accent-blue);
    background: none;
    transition: color 0.2s, border-bottom 0.2s;
    animation: pulse-accent 2s infinite;
    outline: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    padding: 0 8px;
    cursor: pointer;
}
.accent-btn:hover, .accent-btn:focus {
    color: #fff;
    border-bottom: 2px solid #fff;
    outline: none;
}
@keyframes pulse-accent {
    0% { box-shadow: 0 0 0 0 var(--accent-blue, #007aff); }
    70% { box-shadow: 0 0 0 8px rgba(0,122,255,0); }
    100% { box-shadow: 0 0 0 0 rgba(0,122,255,0); }
}
.google-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-right: 4px;
} 

@keyframes addTaskPulse {
    0% { box-shadow: 0 0 0 0 rgba(0,122,255,0.18); }
    70% { box-shadow: 0 0 8px 4px rgba(0,122,255,0.10); }
    100% { box-shadow: 0 0 0 0 rgba(0,122,255,0); }
} 

.headline-blobs {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    pointer-events: none;
    z-index: 0;
}
.blob {
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    filter: blur(64px);
    opacity: 0.28;
    pointer-events: none;
    transition: opacity 0.3s;
    box-shadow: 0 8px 48px 0 rgba(0,0,0,0.18), 0 1.5px 12px 0 rgba(255,255,255,0.08) inset;
    will-change: transform;
}
@keyframes blobBlueFloat {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(60px, -30px) scale(1.08); }
    50% { transform: translate(30px, 60px) scale(1.05); }
    75% { transform: translate(-45px, 30px) scale(1.07); }
    100% { transform: translate(0, 0) scale(1); }
}
@keyframes blobPurpleFloat {
    0% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-54px, 36px) scale(1.07); }
    50% { transform: translate(-24px, -54px) scale(1.03); }
    75% { transform: translate(48px, -24px) scale(1.09); }
    100% { transform: translate(0, 0) scale(1); }
}
.blob-blue {
    width: 600px;
    height: 340px;
    background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.18) 0%, transparent 60%),
                linear-gradient(135deg, #007aff 60%, #30d158 100%);
    top: -120px;
    left: -160px;
    animation: blobBlueFloat 8s ease-in-out infinite;
}
.blob-purple {
    width: 500px;
    height: 260px;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.13) 0%, transparent 60%),
                linear-gradient(120deg, #af52de 60%, #007aff 100%);
    top: 40px;
    right: -120px;
    animation: blobPurpleFloat 10s ease-in-out infinite;
}
.blob-blue::after, .blob-purple::after {
    content: '';
    position: absolute;
    left: 20%;
    top: 18%;
    width: 60%;
    height: 40%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, transparent 80%);
    pointer-events: none;
    filter: blur(12px);
}
@media (max-width: 600px) {
    .blob-blue {
        width: 320px;
        height: 180px;
        top: -60px;
        left: -80px;
    }
    .blob-purple {
        width: 220px;
        height: 120px;
        top: 20px;
        right: -60px;
    }
} 

#mainPage, .container, header, .task-input-container, .input-group {
    position: relative;
    z-index: 1;
} 

.smart-suggestion-bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: rgba(30, 30, 30, 0.92);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin: 0 auto 18px auto;
  padding: 10px 32px 6px 32px;
  max-width: 900px;
  width: 90vw;
  min-height: 36px;
  font-size: 1rem;
  color: var(--text-primary);
  z-index: 10;
  transition: opacity 0.2s;
}
.smart-suggestion-content {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
}
.smart-suggestion-message {
  font-weight: 500;
  color: var(--text-secondary);
  text-align: left;
}
.smart-suggestion-task {
  font-weight: 600;
  color: #fff;
  margin: 0 2px;
  text-align: left;
}
.smart-suggestion-zone {
  font-weight: 600;
  color: #fff;
  margin-left: 2px;
  text-align: left;
}
.smart-suggestion-btn {
  background: none;
  border: none;
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 500;
  padding: 4px 18px;
  margin-left: 8px;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, font-weight 0.18s;
}
#smartSuggestionAdd {
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
#smartSuggestionAdd:hover {
  background: #005bb5;
}
#smartSuggestionIgnore {
  background: none;
  color: var(--text-secondary);
  font-weight: 500;
}
#smartSuggestionIgnore:hover {
  color: var(--accent-blue);
  background: var(--bg-tertiary);
}
.smart-suggestion-reasoning {
  width: 100%;
  text-align: left;
  margin-top: 2px;
  font-size: 0.75em;
  color: var(--text-tertiary);
  letter-spacing: 0.01em;
  padding-left: 2px;
} 

@media (max-width: 600px) {
  .smart-suggestion-bar {
    width: 100%;
    max-width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
  }
  .smart-suggestion-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }
  .smart-suggestion-message {
    width: 100%;
    text-align: center;
    margin-bottom: 2px;
  }
  .smart-suggestion-btn {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
  }
  .smart-suggestion-reasoning {
    width: 100%;
    text-align: center;
    margin-top: 6px;
    padding-left: 0;
  }
} 

@media (max-width: 600px) {
  .ai-summary {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
  }
  #seeMoreInsightsBtn {
    padding: 6px 0 0 0;
    display: block;
    margin: 0 auto;
    font-style: italic;
    text-decoration: underline;
  }
} 

#adaptiveNudge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  box-shadow: none;
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-top: 18px;
  margin-bottom: 8px;
  padding: 0;
}
#adaptiveNudgeText {
  color: var(--text-secondary);
  font-size: 0.98rem;
}
#undoAdaptiveBtn {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 6px;
  margin-left: 4px;
  text-decoration: underline;
  transition: color 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1), font-weight 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: none;
}
#undoAdaptiveBtn:hover {
  color: #fff;
  font-weight: 700;
  transform: scale(1.08);
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
} 

/* Smart Refill Bar Styles */
/* .smart-refill-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  margin: 16px 0 8px 0;
  padding: 12px 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  font-size: 1em;
  gap: 12px;
  color: var(--text-primary, #fff);
} */

.smart-refill-text {
    align-items: center;
}
.smart-refill-btn {
  background: var(--accent, #4f8cff);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.15s;
}
.smart-refill-btn:hover {
  background: var(--accent-hover, #357ae8);
}
.smart-refill-btn[style*="background:transparent"] {
  background: transparent !important;
  color: var(--text-secondary, #b0b3c6) !important;
  box-shadow: none;
} 

/* Smart Refill Nudge Styles */
.smart-refill-nudge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  font-size: 0.98em;
  max-width: 700px;
  min-height: 36px;
  z-index: 9999 !important;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  pointer-events: auto !important;
  position: relative !important;
}
.smart-refill-nudge-btn {
  pointer-events: auto;
  background: none !important;
  box-shadow: none;
}
.smart-refill-nudge-btn:focus,
.smart-refill-nudge-btn:hover {
  background: none !important;
  box-shadow: none;
}
.smart-refill-nudge-btn.remind {
  font-size: 0.92em;
  font-weight: 400;
  color: var(--text-secondary);
  padding: 0 6px;
  height: 28px;
  line-height: 28px;
  letter-spacing: 0.01em;
  background: none;
  border: none;
  box-shadow: none;
  margin-left: 2px;
}
.smart-refill-nudge-btn.remind:hover {
  color: var(--text-primary);
  font-weight: 500;
  background: none;
  text-shadow: none;
  transform: none;
} 

.smart-refill-nudge-btn.add {
  background: none;
  border: none;
  color: var(--text-primary);
  border-radius: 0;
  padding: 0 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 0.35s cubic-bezier(0.4,0,0.2,1), transform 0.35s cubic-bezier(0.4,0,0.2,1), font-weight 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: none;
  height: 32px;
  line-height: 32px;
  display: flex;
  align-items: center;
}
.smart-refill-nudge-btn.add:hover {
  color: #fff;
  font-weight: 700;
  transform: scale(1.08);
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.smart-refill-nudge-btn.dismiss {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2em;
  font-weight: 400;
  padding: 0 8px;
  cursor: pointer;
  box-shadow: none;
  transition: none;
  height: 32px;
  line-height: 32px;
  display: flex;
  align-items: center;
}
.smart-refill-nudge-btn.dismiss:hover {
  color: #fff;
  background: none;
  text-shadow: none;
  transform: none;
} 

.smart-refill-nudge-btn.add:focus,
.smart-refill-nudge-btn.add:active {
  outline: none;
  box-shadow: none;
} 

.smart-refill-nudge-btn.remind:focus,
.smart-refill-nudge-btn.remind:active {
  outline: none;
  box-shadow: none;
} 

.heatmap-modal-content {
  min-width: 340px;
  max-width: 650px;
  width: 100%;
  max-height: 95vh;
  padding: 40px 32px 32px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
}
#heatmapContainer {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.heatmap-rows {
  margin-bottom: 0;
}
.heatmap-date-range {
  margin-top: 24px;
  margin-bottom: 0;
  text-align: center;
  font-size: 0.85em;
  color: #aaa;
  width: 100%;
  align-self: flex-end;
}
@media (max-width: 700px) {
  .heatmap-modal-content {
    max-width: 98vw;
    min-width: 0;
    padding: 18px 4vw 18px 4vw;
  }
} 

@media (max-width: 768px) {
  #pwaMobileBtnWrapper {
    display: block !important;
  }
  #pwaNavLink {
    display: none !important;
  }
}

@media (min-width: 769px) {
  #pwaMobileBtnWrapper {
    display: none !important;
  }
} 