
:root {
    --primary-color: #a6d8da;
    --secondary-color: #B5D5C5;
    --background-color: #f6ffff;
    --text-color: #4F4F4F;
    --card-bg-color: #FFFFFF;
    --shadow-color: rgba(90, 117, 141, 0.1);
    --accent-color: #457B9D;
    --user-message-bg: linear-gradient(135deg, #457B9D, #5E8FAA);
    --gemini-message-bg: #E9EEF2;
    --placeholder-color: #b0c4de;
    --placeholder-gradient: linear-gradient(135deg, #f8fcff, #eef6ff);
}


body::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}


body::-webkit-scrollbar-track {
    background-color: var(--background-color);
}


body::-webkit-scrollbar-thumb {
    background-color: var(--secondary-color);
    border-radius: 20px;
    border: 2px solid var(--background-color); 
}


body::-webkit-scrollbar-thumb:hover {
    background-color: var(--accent-color);
}


body {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) var(--background-color);
}

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    height: 100%;
}

body {
    height: 100%;
    overflow: hidden;
    background-color: var(--background-color);
    color: var(--text-color);
    overscroll-behavior: contain;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.5s ease;
}

body.dark-mode {
    background: linear-gradient(-45deg, #2a2e33, #212529, #2e3338, #2a2e33);
    background-size: 200% 400%;
    animation: subtleGradientShift 30s ease infinite;
    color: #f0f0f0;
}

/* Login View Styles */
#login-view {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    background: linear-gradient(135deg, #A8DADC, #F4F9F9);
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 380px;
    background-color: var(--card-bg-color);
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    animation: fadeIn 0.7s ease-out;
}

.login-header {
    margin-bottom: 30px;
}

.login-header i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

.login-header p {
    color: #888;
    font-size: 1rem;
}

#login-form .input-group {
    position: relative;
    margin-bottom: 20px;
}

#login-form .input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
}

#login-form input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

#login-form input:focus {
    border-color: var(--accent-color);
}

.login-btn {
    width: 100%;
    padding: 12px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.login-btn:hover {
    background-color: #3a6a8a;
}

.login-btn:active {
    transform: scale(0.98);
}

.login-footer {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.login-footer a {
    color: #888;
    text-decoration: none;
}
.login-footer a:hover {
    text-decoration: underline;
}


#app-container {
    height: 100%;
    position: relative;
}

.view {
    display: none;
    padding: 20px;
    animation-name: fadeIn;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    height: calc(101vh - 70px);
    overflow-y: auto;
    flex-direction: column;
}

.view.active-view {
    display: flex;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}



.main-header, .sub-header {
    margin-bottom: 20px;
    padding-top: 0px;
}

.main-header h1, .sub-header h1 {

    font-weight: 600;
    color: var(--text-color);
}

.main-header p, .sub-header p {
    font-size: 1rem;
    color: rgb(136, 136, 136);
}

.main-header {font-size: 1.3rem;padding-left: 0px;}

.sub-header {
   font-size: 0.95rem;
   position: relative;
   padding-left: 40px;
    padding-bottom:10px;
}



.back-btn {
    position: absolute;
    left: 0px;
    top: 2px;
    background-color: transparent;
    border-style: none;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
}

.content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.content.full-height-content {
    flex-grow: 1;
    height: 100%;
}

#submit-mood-btn {
  position: absolute;
    left: 50%;

    transform :translateX(-52px);
    background-color: var(--accent-color);
    color: white;
    border-style: none;
    padding: 12px 18px;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}


#submit-mood-btn:active {
    transform: translateX(-63%) scale(0.95); 
    box-shadow: 0 2px 10px rgba(69, 123, 157, 0.4);
}




.primary-btn {
    background-color: #b4b4b4;
    color: white;
    border-style: none;
    padding: 12px 18px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

.primary-btn:active {
    transform: scale(0.97);
}

.secondary-btn {
    background-color: rgb(178 178 178);
    color: #ffffff;
    border-style: none;
    padding: 10px 15px;
    border-radius: 18px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition-property: all;
    transition-duration: 0.2s;
    transition-timing-function: ease;
}

.home-grid {
    position:relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    grid-template-areas:
        "meditation breathing"
        "sleep physical"
        "journal journal"
        "todo todo"
        "mood mood";
}

@media (min-width: 768px) {
    .home-grid {
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas: "meditation breathing sleep" "physical journal journal" "todo todo mood";
    }
}

.tool-card {
    background-color: #faffff;
    border-radius: 30px;
    padding: 27px;
    box-shadow: 0 5px 25px var(--shadow-color);
    cursor: pointer;
    transition-property: transform, box-shadow;
    transition-duration: 0.2s;
    transition-timing-function: ease-out;
    animation: 0.6s ease-out 0s 1 normal both running fadeInUp;
    grid-area: var(--area);
    display: flex;
    flex-direction: column;
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px var(--shadow-color);
}

.tool-card:active {
    transform: scale(0.98) translateY(-2px);
}

.tool-card i {
    transform:translateY(3px);
    font-size: 1.8rem;
    color: var(--accent-color);
    margin-bottom: 7px;
}

.tool-card h3 {
    transform:translateY(4px);
    font-size: 1.1rem;
}

.tool-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.interactive-card {
    padding: 0px;
    overflow: hidden;
    position: relative;
}

.card-content-wrapper {
    padding: 30px;
    flex-grow: 1;
}


.exercise-option, .sleep-option {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 15px var(--shadow-color);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    aspect-ratio: 1 / 1;
    
    
    background-color: #EEEEEE; 
    display: flex;
    justify-content: center;
    align-items: center;
}


.exercise-option::after, 
.sleep-option::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px; 
  
box-shadow: inset 0 0 30px 7px rgb(157 171 181 / 93%);
    pointer-events: none; 
}

.exercise-option::after:hover, .sleep-option::after:hover {
    box-shadow: inset 0 0 30px 7px rgb(157 171 181 / 99%);
  
    box-shadow: 0 8px 25px var(--shadow-color);
}

.exercise-option img, .sleep-option img {
    
    width: 80%;
    height: 80%;
    object-fit: cover;
    display: block;
    border-radius: 12px; 
}

.option-label {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 5px;
    font-size: 0.7rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
    
    z-index: 2; 
}
#journal-home-preview {
    width: 100%;
    font-size: 1rem;
    line-height: 2;
    max-height: 250px;
    overflow: hidden;
    mask-image: linear-gradient(black 50%, transparent 100%);
}

.read-more-overlay {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    height: 60px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 15px;
    font-weight: 600;
    color: var(--accent-color);
    background-image: linear-gradient(to top, white, rgba(255, 255, 255, 0));
}

.placeholder-text {
    padding: 20px;
    text-align: center;
    color: rgb(153, 153, 153);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    background-image: var(--placeholder-gradient);
}

.placeholder-text h3 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.placeholder-text p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.placeholder-text i {
    font-size: 2rem;
    color: var(--placeholder-color);
}

#mood-chart-card {
    background-image: var(--placeholder-gradient);
}

.todo-list-container {
    padding-top:10px;
    padding:13px;
    list-style-type: none;
    max-height: 505px;
    overflow-y: auto;
}

#todo-card-home .todo-list-container {
     padding: 30px;
    padding-top: 10px;
}

.todo-list-container li {
    display: flex;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(238, 238, 238);
}

.checkbox {
    width: 22px;
    height: 22px;
    border: 2px solid rgb(204, 204, 204);
    border-radius: 5px;
    cursor: pointer;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    flex-shrink: 0;
}

.checkbox i {
    font-size: 0.9rem;
    opacity: 0;
    color: white;
    transform: scale(0.5);
    transition: 0.2s;
}

li.completed .checkbox {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

#todo-card-home li.completed .checkbox i {
    margin-top: 10px;
    opacity: 1;
    transform: scale(1);
}

#todo-full-view li.completed .checkbox i {
    margin-top: 0px;
    opacity: 1;
    transform: scale(1);
}
li.completed span {
    text-decoration: line-through;
    color: rgb(170, 170, 170);
}

.delete-todo-btn {
    background: none;
    border: none;
    color: rgb(221, 221, 221);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.2s;
    margin-left: auto;
}

.delete-todo-btn:hover {
    color: rgb(229, 115, 115);
}

.chart-container {
    flex-grow: 1;
}

#journal-editor {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 15px;
}

#journal-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgb(238, 238, 238);
}

.journal-image-wrapper {
    position: relative;
    aspect-ratio: 1 / 1;
}

.journal-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.remove-image-btn {
    position: absolute;
    top: -5px;
    right: -5px;
    background: white;
    color: rgb(229, 115, 115);
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 0.8rem;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 1px 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journal-controls {
    display: flex;
}

#add-journal-image-btn[disabled] {
    background-color: rgb(240, 240, 240);
    color: rgb(204, 204, 204);
    cursor: not-allowed;
}

#journal-text-editor {
    flex-grow: 1;
    border: none;
    font-size: 1.1rem;
    line-height: 1.7;
    resize: none;
    outline: none;
    padding: 5px;
    white-space: pre-wrap;
    overflow-wrap: break-word;
}



#todo-full-view .log-section.full-height {
    display: flex;
    flex-direction: column; 
    height: 100%; 
}


#todo-list-full {
    flex-grow: 1; 
    overflow-y: auto; 
    padding-bottom: 10px; 
}


.todo-input-group {
    flex-shrink: 0; 
    width: 100%;
    padding-top: 15px;
    box-sizing: border-box; 
    background-color: var(--background-color); 
    border-top: 1px solid #e0e0e0; 
    
    
    margin-top: 0; 
    transform: none;
}


#new-todo-input {
    flex-grow: 1;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 25px;
    padding: 12px 18px; 
    font-size: 1rem;
}
#journal-text-editor:empty::before {
    content: attr(data-placeholder);
    color: rgb(170, 170, 170);
    cursor: text;
}

#todo-list-full {
    flex-grow: 1;
}

.todo-input-group {
    
    
    display: flex;
    gap: 10px;
    width: 100%;
    
    transform: translateY(0px);
}

#new-todo-input {
    flex-grow: 1;
    border: 1px solid rgb(221, 221, 221);
    border-radius: 25px;
    padding: 8px 15px;
}

.modal-content.mood-modal-content {
    background-image: var(--placeholder-gradient);
    width: 90vw;
    max-width: 400px;
    padding-left: 52px;
    padding-right:52px;
    border-radius: 20px;
    padding-top:20px;
    padding-bottom:55px;
}

#mood-prompt-title {
    color: rgb(51, 51, 51);
    font-weight: 600;
}

#mood-prompt-subtitle {
    color: rgb(119, 119, 119);
    font-size: 0.9rem;
    margin-top: 5px;
    margin-bottom: 30px;
}

.mood-slider-wrapper {
    position: relative;
    height: 80px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    overflow: hidden;
    user-select: none;
}

#mood-selector-indicator {
    position: absolute;
    left: 50%;
    top: 49%;
    transform: translate(-50%, -50%);
    width: 78px;
    height: 78px;
    background-color: rgba(69, 123, 157, 0.1);
    border-radius: 50%;
    border: 2px solid rgba(69, 123, 157, 0.2);
    z-index: 1;
    pointer-events: none;
}

#mood-slider-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: absolute;
    left: 0px;
    right: 0px;
    z-index: 2;
    cursor: grab;
    will-change: transform;
}

#mood-slider-track:active {
    cursor: grabbing;
}

.mood-emoji-option {
    font-size: 2.5rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    padding: 5px;
}

.mood-emoji-option.selected {
    transform: scale(1.6);
}

#bottom-nav {
    position: fixed;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 70px;
    background-color: var(--card-bg-color);
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px var(--shadow-color);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    z-index: 100;
}

.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: rgb(170, 170, 170);
    transition: color 0.3s;
}

.nav-btn.active {
    color: var(--accent-color);
}

.nav-btn i {
    font-size: 1.5rem;
}

.nav-btn span {
    font-size: 0.75rem;
}

.view-description {
    color: rgb(102, 102, 102);
    text-align: center;
    margin-bottom: 20px;
}




#meditation-player-modal {
    background: #0c0c0cf7;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

#meditation-player-image-container {
    background-color:#eeeeee;
    width: 80vw;
    height: 80vw;
    max-width: 450px;
    max-height: 450px;
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.2);
}

#meditation-player-image {
    position: absolute;
    top: 13%;
    left: 12%;
    width: 75%;
    height: 75%;
    object-fit: cover;
    animation: fadeFromWhite 2s ease-in-out forwards;
}


#meditation-player-image-container.animate-fade::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #eeeeee;
    opacity: 1;
    animation: fadeFromWhite 3s ease-in-out forwards;
    pointer-events: none; 
}

@keyframes fadeFromWhite {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

#meditation-controls {
    position: relative;
    z-index: 502;
    display: flex;
    gap: 45px;
    align-items: center;
    justify-content: center;
}
.exercise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    row-gap: 26px;
}

.sleep-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.exercise-option, .sleep-option {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 21px;
    box-shadow: 0 10px 16px var(--shadow-color);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
    aspect-ratio: 1 / 1;
}

.exercise-option:hover, .sleep-option:hover {
    
    
    transform: scale(1.02);
    box-shadow: 0 8px 25px var(--shadow-color);
}

.exercise-option img, .sleep-option img {
    width: 70%;
    height: 70%;
    object-fit: cover;
    display: block;
}
.exercise-option img:hover, .sleep-option img:hover {
   
   
    object-fit: cover;
    display: block;
    
}
.option-label {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 4px;
    font-size: 0.48rem;
    font-weight: 500;
    backdrop-filter: blur(4px);
}

.meditation-category {
    margin-bottom: 30px;
}

.meditation-category h3 {
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 5px;
}

#video-player-modal {
    background: rgba(0, 0, 0, 0.9);
    transition: background-color 0.5s ease-in-out;
}

#video-player-modal .video-player-content {
    position: relative;
    width: 90vw;
    height: auto;
    max-width: 1200px;
    max-height: 85vh;
    background-color: rgba(0, 0, 0, 0);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 0px 60px;
}

#video-player-container {
    width: 100%;
    height: 0px;
    padding-bottom: 56.25%;
    position: relative;
}

#video-player-container video {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.close-video-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    background: white;
    color: rgb(51, 51, 51);
    border: none;
    border-radius: 10px;
    width: 30px;
    height: 30px;
    font-size: 2rem;
    line-height: 33px;
    text-align: center;
    cursor: pointer;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 2px 10px;
    transition: transform 0.2s;
}

.close-video-btn:hover {
    transform: scale(1.1);
}

.fullscreen-modal {
    z-index: 500;
    padding: 0px;
    background: rgb(0, 0, 0);
}

#sleep-video-bg {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 501;
}

#sleep-controls {
    position: relative;
    z-index: 502;
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.sleep-control-btn {
    background-color: rgb(75 75 75 / 20%);
    border: 2px solid rgb(94 94 94);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 2.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.sleep-control-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.sleep-control-btn:active {
    transform: scale(0.95);
}

.physical-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-left: 2px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: rgb(136, 136, 136);
}

.form-group input {
   align-self:center;
   width: 100%;
   padding: 10px;
   border: 1px solid rgb(221, 221, 221);
   border-radius: 8px;
   font-size: 1rem;
}

.modal-overlay {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 200;
    animation: 0.3s ease 0s 1 normal none running fadeIn;
}

@keyframes modal-swoop {
    0% {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0px);
        opacity: 1;
    }
}

.summary-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.summary-tab-btn {
    padding: 10px 15px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1rem;
    color: #888;
    position: relative;
    font-weight: 500;
}

.summary-tab-btn.active {
    color: var(--accent-color);
}

.summary-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 3px 3px 0 0;
}

.summary-tab-content {
    display: none;
    flex-direction: column;
    gap: 20px;
    margin-bottom:20px;
}

.summary-tab-content.active {
    display: flex;
}


#calendar-container {
    margin-bottom: 24px;
    background-color: var(--card-bg-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 25px var(--shadow-color);
    transition: padding 0.2s ease;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h2 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 10px; 
    white-space: nowrap; 
}

.calendar-header button {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.2s;
    flex-shrink: 0; 
}

.calendar-header button:hover {
    background-color: #f0f0f0;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    margin-bottom: 10px;
    color: #aaa;
    font-size: clamp(0.7rem, 2.5vw, 0.8rem); 
    font-weight: 500;
}

#calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    
    gap: clamp(4px, 1.5vw, 8px);
}

.calendar-day {
    aspect-ratio: 1 / 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    position: relative;
    
    font-size: clamp(0.8rem, 3vw, 1rem); 
    
    min-width: 28px; 
}


.calendar-day.other-month {
    color: #ccc;
    cursor: default;
    background-color: transparent !important; 
}


.calendar-day:not(.other-month):hover {
    background-color: var(--secondary-color);
    color: white;
}

.calendar-day.has-data::after {
    content: '';
    position: absolute;
    bottom: 12%; 
    left: 50%;
    transform: translateX(-50%);
    width: clamp(4px, 1.2vw, 6px);   
    height: clamp(4px, 1.2vw, 6px);  
    background-color: var(--accent-color);
    border-radius: 50%;
}


.calendar-day.today {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

@media (max-width: 360px) {
    #calendar-container {
        padding: 15px;
    }
    .calendar-header h2 {
        font-size: 1.1rem;
    }
}




.modal-content.log-details-modal-content {
    border-radius:20px;
    width: 90vw;
    max-width: 600px;
    max-height: 93vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    background-color: var(--card-bg-color);
    animation: modal-swoop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.log-details-modal-content .panel-header {
    flex-shrink: 0;
}

.log-details-modal-content .close-video-btn {
    position: static;
    box-shadow: none;
    width: 36px;
    height: 36px;
    line-height: 36px;
    font-size: 1.5rem;
}

#log-details-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.log-details-section {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.log-details-section:last-child {
    border-bottom: none;
}

.log-details-section h4 {
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.log-details-journal-text {
    white-space: pre-wrap;
    line-height: 1.7;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
}

.log-details-image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.log-details-image-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.log-details-todos .checkbox {
    cursor: default;
}

.log-details-physical-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.physical-stat-item {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
}

.physical-stat-item .label {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 5px;
}

.physical-stat-item .value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
}

.summary-section {
     margin-bottom:20px;
    background-color: var(--card-bg-color);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 5px 25px var(--shadow-color);
}

.summary-section h4 {
    margin-bottom: 15px;
    font-weight: 600;
}

.summary-chart-container {
    height: 250px;
}

.aggregated-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aggregated-item {
    border-left: 3px solid var(--primary-color);
    padding-left: 15px;
}

.aggregated-item-date {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.aggregated-journal-text {
    font-size: 0.95rem;
    line-height: 1.6;
}

.aggregated-todo-list li {
    padding: 5px 0;
    border: none;
}


/* Counselor Connect View Styles */
.counselor-card {
    background-color: var(--card-bg-color);
    border-radius: 20px;
    padding: 15px;
    box-shadow: 0 5px 20px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: fadeInUp 0.5s ease-out;
}

.counselor-profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.counselor-profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.counselor-details {
    flex-grow: 1;
}

.counselor-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.counselor-name h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-indicator.online {
    background-color: #2ecc71;
}

.status-indicator.offline {
    background-color: #95a5a6;
}

.counselor-specialty {
    font-size: 0.9rem;
    color: #888;
}

.counselor-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.counselor-btn {
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 500;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.counselor-btn.schedule-btn {
    background-color: var(--secondary-color);
    color: white;
}
.counselor-btn.schedule-btn:hover {
    background-color: #9abead;
}

.counselor-btn.chat-btn {
    background-color: var(--accent-color);
    color: white;
}

.counselor-btn.chat-btn:hover {
    background-color: #3a6a8a;
}
.counselor-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Appointment Modal Styles */
.appointment-modal-content {
    width: 90vw;
    max-width: 400px;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    background-color: var(--card-bg-color);
    animation: modal-swoop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.appointment-modal-content h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

.appointment-modal-content p {
    margin-bottom: 25px;
    line-height: 1.6;
}

.appointment-modal-content .primary-btn {
    background-color: var(--accent-color);
}
.close-modal-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #ccc;
    cursor: pointer;
}


#ai-view {
   
    padding: 0;
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
   
   overflow-y: auto;
}

.chat-header {
   border-bottom-left-radius:15px;
     border-bottom-right-radius:15px;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--card-bg-color);
    box-shadow: 0 2px 5px var(--shadow-color);
    z-index: 10;
    flex-shrink: 0;
    color: var(--text-color);
}

.dark-mode .chat-header {
    background-color: #3c4248;
    color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.chat-header button {
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-color);
    cursor: pointer;
}

.dark-mode .chat-header button {
    color: white;
}

.chat-header .header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

#chat-messages {
    background-color:#f4f9f9;
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dark-mode #chat-messages {
    background-color: #2a2e33;
}

.message {
    padding: 10px 18px;
    border-radius: 20px;
    max-width: 85%;
    line-height: 1.5;
    word-wrap: break-word;
    animation: slideIn 0.4s ease-out forwards;
    opacity: 0;
    position: relative;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message .message-image, .message .message-video {
    max-width: 100%;
    border-radius: 10px;
    margin-top: 8px;
}

.message .message-file-attachment {
    background-color: rgba(0,0,0,0.05);
    padding: 8px 12px;
    border-radius: 10px;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gemini-message {
    padding-right:35px;
    background-color: var(--gemini-message-bg);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: #2a2a2a;
}

.dark-mode .gemini-message {
    background-color: #495057;
    color: white;
}

.user-message {
    background: var(--user-message-bg);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.dark-mode .user-message {
    background: linear-gradient(135deg, #4a6fde, #385cdd);
    color: #f0f0f0;
}


.input-area-container {
   
    padding: 5px 13px;
    background-color: #f4f9f9;
    border-top: 1px solid #f4f9f9;
    flex-shrink: 0;
    position: relative;
    }

.dark-mode .input-area-container {
    background-color: #373c42;
    border-top-color: #495057;
}

#attachment-preview-area {
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    max-height: 100px;
    overflow-y: auto;
}

.attachment-preview {
    position: relative;
    max-width: 80px;
    background: #f0f2f5;
    padding: 5px;
    border-radius: 10px;
}

.attachment-preview img, .attachment-preview video {
    max-width: 100%;
    border-radius: 8px;
    display: block;
}

.attachment-preview .file-info {
    font-size: 0.8rem;
    text-align: center;
    padding: 10px 5px;
}

.attachment-preview .remove-attachment-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    background: white;
    color: #e57373;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    z-index: 1;
}

.input-area {
         bottom: 5px; 
    margin-bottom:10px;
    display: flex;
    align-items: center;
    background-color: #fdfeff;
    border-radius: 25px;
    padding: 5px;
    position: relative;
}

.dark-mode .input-area {
    background-color: #495057;
}

#user-input {

    margin-right:10px;
    flex-grow: 1;
    border: none;
    background-color: #00000000;
    padding: 12px 8px;
    border-radius: 20px;
    resize: none;
    font-size: 1rem;
    max-height: 120px;
    overflow-y: auto;
    outline: none;
    color: var(--text-color);
}

.dark-mode #user-input {
    color: white;
}

#send-button, #mic-button {
    background-color: var(--accent-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}


#send-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#attach-file-btn {
   margin: 0px 10px;
   margin-left: 14px;
   background: none;
   border: none;
   font-size: 1rem;
   color: #717171;
   cursor: pointer;
}

.attachment-dropdown {
    display: none;
    position: absolute;
    bottom: 116%;
    left: 1px;
    background-color: #fcfcfd;
    border-radius: 20px;
    box-shadow: 0 2px 10px var(--shadow-color);
    z-index: 20;
    overflow: hidden;
}

.dark-mode .attachment-dropdown {
    background-color: #333;
    color: #fff;
    border-color: #555;
}

.attachment-dropdown button {
    display: block;
    width: 100%;
    padding: 10px 15px;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: inherit;
}

.attachment-dropdown button:hover {
    background-color: #f0f2f5;
}

.dark-mode .attachment-dropdown button:hover {
    background-color: #555;
}

#typing-indicator {
    display: none;
    align-items: center;
    padding: 0 10px 5px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 3px;
    animation: pulse 1.5s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes pulse {
    0%, 100% { transform: scale(0.8); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
}

#history-sidebar {
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background-color: #fdfdfd;
    color: #333;
    z-index: 300;
    transition: left 0.3s ease-out;
    display: flex;
    flex-direction: column;
    box-shadow: 5px 0 15px rgba(0,0,0,0.2);
}

#history-sidebar.open {
    left: 0;
}

.history-header {
    padding: 15px;
    font-size: 1.2rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#history-header button, #close-history-btn {
    top:10px;
    margin-right:2px;
    background: none;
    border: none;
    color: #333;
    font-size: 1.7rem;
    cursor: pointer;
}

#history-list {
    list-style: none;
    overflow-y: auto;
    flex-grow: 1;
    padding: 0;
    margin: 0;
}

.history-list-item {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.history-list-item:hover {
    background-color: #f0f2f5;
}

.history-list-item.active-chat {
    background-color: #a6d8dab0;
    color: white;
}

.history-item-title {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-item-actions {
    display: flex;
    align-items: center;
    gap: 5px;
}

.history-item-actions button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    color: #888;
    padding: 5px;
}

.history-item-actions button:hover {
    color: var(--accent-color);
}

.sidebar-footer {
    padding: 15px;
    border-top: 1px solid #eee;
}

#manage-memory-btn {
    width: 100%;
    padding: 10px;
    background-color: #fdfdfd;
    border: none;
    color: #333;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: -1px;
}

.incognito-toggle-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.api-key-wrapper {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.api-key-wrapper .api-key-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    align-self: flex-start;
    margin-left: 5px;
}

.dark-mode .api-key-label {
    color: #f0f0f0;
}

#apiKeyInput {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#apiKeyInput:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.2);
}

#saveApiKeyButton {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 7px 14px;
    border-radius: 12px;
    font-size: 0.6rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    align-self: flex-end;
}

#saveApiKeyButton:hover {
    background-color: #3a6a8a;
}

#saveApiKeyButton:active {
    transform: scale(0.97);
}
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}
.toggle-switch input { display: none; }
.toggle-switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 20px;
}
.toggle-switch-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .toggle-switch-slider { background-color: var(--primary-color); }
input:checked + .toggle-switch-slider:before { transform: translateX(20px); }

#memory-panel {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 40%;
    max-height: 80vh;
    min-height: 150px;
    background-color: var(--card-bg-color);
    z-index: 400;
    transition: bottom 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
}

#memory-panel.show {
    bottom: 0;
}
#memory-panel.hide {
    bottom: -100%;
}

.panel-header {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    flex-shrink: 0;
}

.drag-handle {
    width: 40px;
    height: 5px;
    background-color: #ccc;
    border-radius: 3px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    cursor: ns-resize;
}

#close-memory-panel-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.panel-content {
    padding: 20px;
    overflow-y: auto;
    flex-grow: 1;
}

#memory-table {
    width: 100%;
    border-collapse: collapse;
}

#memory-table th, #memory-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.delete-memory-btn {
    background: none;
    border: none;
    color: #e57373;
    cursor: pointer;
}


.history-list-item {
    position: relative; 
}

.history-item-actions .history-item-more-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.history-item-actions .history-item-more-btn:hover {
    background-color: #f0f2f5;
    color: var(--accent-color);
}


.history-item-menu {
    position: absolute;
    right: 20px;
    top: 45px; 
    background-color: var(--card-bg-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    z-index: 10;
    overflow: hidden;
    list-style: none;
    padding: 6px;
    width: 140px;
    border: 1px solid #eee;
   
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
    transform-origin: top right;
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
    pointer-events: none; 
}

.history-item-menu.show {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto; 
}


.history-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--text-color);
}

.history-menu-item:hover {
    background-color: #f5f5f5;
}

.history-menu-item i {
    width: 16px; 
    text-align: center;
    color: #777;
}


.history-menu-item-delete:hover {
    background-color: #ffebee;
    color: #d32f2f; 
}

.history-menu-item-delete:hover i {
    color: #d32f2f;
}
.new-chat-button {
    background-color: transparent; 
    border: none; 
    padding: 8px; 
    border-radius: 50%; 
    cursor: pointer; 
    display: flex; 
    justify-content: center;
    align-items: center;
    transition: background-color 0.2s ease; 
    margin-left: -20px
}
.katex-error { color: #cc0000; background-color: #fdd; border: 1px solid #cc0000; padding: 2px 5px; border-radius: 3px; font-family: monospace; }
.message .katex { font-size: inherit !important; }
.dark-mode .katex { color: #e0e0e0; }
.dark-mode .katex-error { color: #ffdddd; background-color: #500; border-color: #ffaaaa; }
.katex-display { display: block; margin: 0.5em 0; text-align: center; width: 100%; overflow-x: auto; overflow-y: hidden; }
.inline-code-like { font-family: monospace; background-color: rgba(128, 128, 128, 0.15); padding: 0.1em 0.3em; border-radius: 3px; font-size: 0.9em; }
.dark-mode .inline-code-like { background-color: rgba(180, 180, 180, 0.2); }
.message h1, .message h2, .message h3 { margin-top: 0.8em; margin-bottom: 0.4em; }
#scroll-down-button { position: absolute; bottom: 120px; right: 20px; background-color: #dbdbdb; color: #5e5e5e; border: none; border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0.7; transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease; z-index: 10; }
#scroll-down-button:hover { opacity: 1; }
.dark-mode #scroll-down-button { background-color: #565d63; color: #ffffff92; }
.popup {width:290px;max-width:290px;position: fixed;top: 50%;left: 50%;transform: translate(-50%, -50%);background-color: #ffffff;padding: 21px;border-radius: 20px;box-shadow: 3px 0px 8px rgba(0,0,0,0.2);z-index: 1000;display: none;}
.dark-mode .popup { background-color: #3c4248; color: white; }
.popup.show { display: block; }
.close-popup-button {position: absolute;top: 11px;right: 20px;background: none;border: none;font-size: 1.7rem;cursor: pointer;}
.setting-item {display: flex;justify-content: space-between;align-items: center;margin-bottom: 16px;}
.api-key-wrapper {margin-top: 25px;display: flex;align-items: center;gap: 10px;}
.chat-hr { border: none; border-top: 1px solid #eee; margin: 15px 0; }
.dark-mode .chat-hr { border-top-color: #495057; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; border-radius: 20px; }
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 2px; bottom: 2px; background-color: white; transition: .4s; border-radius: 50%; }
input:checked + .slider { background-color: var(--primary-color); }
input:checked + .slider:before { transform: translateX(20px); }
.slider-icon { position: absolute; top: 50%; transform: translateY(-50%); font-size: 12px; transition: opacity 0.4s ease, transform 0.4s ease; }
.slider .sun { left: 3px; opacity: 0; }
.slider .moon { right: 3px; opacity: 1; }
input:checked + .slider .sun { opacity: 1; }
input:checked + .slider .moon { opacity: 0; }
.message table { border-collapse: collapse; width: 100%; margin: 1em 0; }
.message th, .message td { border: 1px solid #ddd; padding: 8px; text-align: left; }
.dark-mode .message th, .dark-mode .message td { border-color: #555; }
.message .copy-icon {font-size: small;position: absolute;top: 10px;right: 11px;cursor: pointer;opacity: 0.5;transition: opacity 0.2s;}

.copy-icon.copied { color: var(--accent-color); }
@media (max-width: 450px) {
    
  
    .view {
       
        padding-bottom: 80px;
    }

  
    #ai-view {
        padding-bottom: 50px;
    }
    .summary-tab-content  {
        padding-bottom: 80px;
    }
    #calendar-container {
        padding-bottom: 20px;
    }

}