*{margin:0;padding:0;box-sizing:border-box}body,html{font-family:Poppins,sans-serif;background-color:#f9f9f9;color:#333;scroll-behavior:smooth}.home-container{display:flex;flex-direction:column;min-height:100vh;background-color:#fff}.home-header{background:linear-gradient(90deg,#76b852,#8dc26f);color:#fff;padding:2rem 4rem;display:flex;justify-content:space-between;align-items:center;box-shadow:0 2px 10px #0000001a}.home-header h1{font-size:2.5rem;font-weight:700}.login-button{background-color:#fff;color:#ff5e62;padding:12px 25px;border-radius:30px;font-weight:600;text-decoration:none;border:2px solid #fff;transition:all .3s ease}.login-button:hover{background-color:#ff5e62;color:#fff}.hero-section{position:relative;width:100%;overflow:hidden;height:60vh;margin-bottom:2rem}.hero-image-container{display:flex;width:300%;animation:slideImages 15s linear infinite}.hero-image{width:100vw;height:60vh;object-fit:cover;flex-shrink:0}@keyframes slideImages{0%{transform:translate(0)}33%{transform:translate(-100vw)}66%{transform:translate(-200vw)}to{transform:translate(0)}}.about-section{background-color:#f0f8ff;padding:4rem 2rem;text-align:center}.about-section h2{font-size:2.2rem;color:#333;margin-bottom:1.2rem}.about-section p{max-width:700px;margin:0 auto 2rem;font-size:1.1rem;line-height:1.6}.about-section ul{display:flex;flex-wrap:wrap;justify-content:center;list-style:none;gap:1.5rem;padding:0}.about-section li{background-color:#fff;border:2px dashed #ff9966;padding:1rem 2rem;border-radius:15px;width:240px;font-weight:500;transition:transform .3s ease}.about-section li:hover{transform:scale(1.05)}.features-section{padding:4rem 2rem;background:linear-gradient(120deg,#f6d365,#fda085);color:#333;text-align:center}.features-section h2{font-size:2rem;margin-bottom:2rem;color:#222}.feature-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2rem;max-width:1000px;margin:auto}.feature-card{background:#fff;padding:2rem;border-radius:15px;box-shadow:0 0 15px #0000001a}.feature-card h3{color:#ff5e62;margin-bottom:1rem;font-size:1.3rem}.feature-card p{color:#555;font-size:1rem}.cta-section{background:linear-gradient(90deg,#76b852,#8dc26f);color:#fff;padding:4rem 2rem;text-align:center}.cta-section h2{font-size:2.2rem;margin-bottom:1rem}.cta-section p{font-size:1.1rem;margin-bottom:2rem}.cta-section a{background-color:#fff;color:#76b852;padding:12px 28px;font-weight:700;border-radius:30px;text-decoration:none;transition:all .3s ease;border:2px solid white}.cta-section a:hover{background-color:transparent;color:#fff}.home-footer{background-color:#333;color:#fff;text-align:center;padding:1rem;font-size:.9rem;margin-top:auto}@media (max-width: 768px){.home-header{flex-direction:column;align-items:flex-start;padding:1.5rem 2rem}.home-header h1{font-size:2rem;margin-bottom:1rem}.hero-image{height:40vh}.about-section ul{flex-direction:column;gap:1rem}}.health-card{padding:16px;border-radius:12px;box-shadow:0 2px 8px #0000001a;background:#fff;transition:.3s ease;width:100%;max-width:400px}.health-fit{border-left:6px solid #28a745}.health-underweight{border-left:6px solid #ffc107}.health-overweight{border-left:6px solid #dc3545}.health-card h3{margin-bottom:12px;color:#333}.health-card p{margin:6px 0;color:#555}.CircularProgressbar{width:100%;vertical-align:middle}.CircularProgressbar .CircularProgressbar-path{stroke:#3e98c7;stroke-linecap:round;-webkit-transition:stroke-dashoffset .5s ease 0s;transition:stroke-dashoffset .5s ease 0s}.CircularProgressbar .CircularProgressbar-trail{stroke:#d6d6d6;stroke-linecap:round}.CircularProgressbar .CircularProgressbar-text{fill:#3e98c7;font-size:20px;dominant-baseline:middle;text-anchor:middle}.CircularProgressbar .CircularProgressbar-background{fill:#d6d6d6}.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-background{fill:#3e98c7}.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-text{fill:#fff}.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-path{stroke:#fff}.CircularProgressbar.CircularProgressbar-inverted .CircularProgressbar-trail{stroke:transparent}.dashboard-container{padding:2rem;background:#f9f9f9;min-height:100vh;box-sizing:border-box}.dashboard-content{max-width:1200px;margin:0 auto;transition:filter .3s ease}.dashboard-header{text-align:center;margin-bottom:2rem}.dashboard-title{font-size:2.5rem;font-weight:700;color:#2c3e50}.dashboard-subtitle{font-size:1.2rem;color:#555}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}.dashboard-card{background:#fff;border-radius:12px;padding:1.5rem;box-shadow:0 6px 12px #00000014}.dashboard-card.wide{grid-column:span 2}@media (max-width: 768px){.dashboard-card.wide{grid-column:span 1}}.auth-container{width:100%;min-height:100vh;background:linear-gradient(135deg,#ece9e6,#fff);display:flex;justify-content:center;align-items:center}.auth-box{background-color:#fff;padding:2rem 3rem;border-radius:16px;box-shadow:0 4px 20px #0000001a;width:90%;max-width:400px}.auth-box h1{font-size:2rem;margin-bottom:1.5rem;text-align:center;color:#333}.auth-box input{padding:12px 16px;margin-bottom:1rem;border:1px solid #ccc;border-radius:8px;font-size:1rem;width:100%;transition:.3s}.auth-box input:focus{border-color:#007bff;outline:none}.auth-box button{width:100%;padding:12px;background-color:#007bff;color:#fff;font-weight:700;border:none;border-radius:8px;font-size:1rem;cursor:pointer;transition:background-color .3s ease}.auth-box button:hover{background-color:#0056b3}.google-button{background-color:#db4437;margin-top:.5rem}.google-button:hover{background-color:#c33d2e}.or-line{text-align:center;margin:16px 0;color:#888;font-size:.9rem;position:relative}.or-line:before,.or-line:after{content:"";height:1px;background:#ccc;position:absolute;top:50%;width:40%}.or-line:before{left:0}.or-line:after{right:0}.switch-auth{text-align:center;margin-top:1rem;font-size:.9rem}.switch-auth span{color:#007bff;cursor:pointer;font-weight:700}.forgot-password{text-align:right;font-size:.9rem;color:#007bff;cursor:pointer;margin:5px 0 15px}.forgot-password:hover{text-decoration:underline}.tracker-page{max-width:1200px;margin:40px auto;padding:0 20px;font-family:Segoe UI,sans-serif}.tracker-page h2{text-align:center;font-size:2rem;color:#2e7d32;margin-bottom:30px}.summary-box{background-color:#e8f5e9;padding:20px;border-radius:10px;margin-bottom:40px;box-shadow:0 2px 8px #0000001a}.summary-box h3{margin-bottom:10px;font-size:1.3rem;color:#1b5e20}.meal-section{margin-bottom:40px}.meal-title{font-size:1.5rem;color:#388e3c;margin-bottom:16px}.meal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:20px}.food-card{background-color:#fff;border-radius:10px;box-shadow:0 3px 10px #0000001a;padding:15px;transition:.3s}.food-card:hover{transform:translateY(-5px);box-shadow:0 6px 20px #00000026}.food-img{width:100%;height:140px;object-fit:cover;border-radius:8px;margin-bottom:10px}.food-card h4{font-size:1.1rem;margin-bottom:6px;color:#2e7d32}.food-card p{font-size:.9rem;color:#555;margin:4px 0}.empty{font-style:italic;color:#999}.user-profile-btn{position:relative;display:inline-block;z-index:100}.user-profile-btn{cursor:pointer;background-color:#f0f0f0;padding:0 10px;border-radius:20px;font-weight:500;font-size:14px;transition:background .2s ease}.user-profile-btn :hover{background-color:#e2e2e2}.user-profile-container{position:absolute;right:0;top:110%;width:250px;background-color:#fff;border:1px solid #ccc;box-shadow:0 4px 12px #00000014;border-radius:10px;padding:12px;box-sizing:border-box;transition:all .2s ease-in-out}.profile-details p{margin:4px 0;font-size:15px;color:#333;line-height:1.3;display:flex;justify-content:space-between}.profile-header{align-items:center;font-size:18px;font-weight:700;border-bottom:2px solid #ddd}.logout-sec{margin-top:10px;text-align:center}@media (max-width: 780px){.user-profile-toggel{right:5%}}.nav-container{display:flex;justify-content:center;align-items:center}.nav-left{display:flex;justify-content:center;align-items:center;text-align:center}.form-page{background:linear-gradient(to right,#b7ecf3,#fff);width:100%;padding:40px;box-sizing:border-box;font-family:Segoe UI,sans-serif;display:flex;flex-direction:column;align-items:center}.form-title{font-size:28px;margin-bottom:30px;color:#00796b;font-weight:600}.register-form{width:100%;max-width:1200px;background-color:#fff;padding:30px;border-radius:12px;box-shadow:0 8px 20px #0000001a}.form-row{display:flex;gap:20px;margin-bottom:20px}.register-form input,.register-form select{flex:2;padding:12px 14px;font-size:15px;border-radius:8px;border:1px solid #ccc;background:#f9f9f9;transition:border-color .3s ease}.register-form input:focus,.register-form select:focus{border-color:#00796b;outline:none}.form-action{text-align:right}button[type=submit]{padding:12px 24px;background-color:#00796b;color:#fff;font-size:16px;border:none;border-radius:6px;cursor:pointer;transition:background-color .3s ease}button[type=submit]:hover{background-color:#004d40}@media (max-width: 768px){.form-row{flex-direction:column}.form-action{text-align:center}}.bmi-page{max-width:800px;margin:20px auto;padding:20px;font-family:Segoe UI,sans-serif;background:#f9f9f9;border-radius:12px}.bmi-card{background:#fff;padding:20px;margin-top:20px;border-radius:10px;box-shadow:0 2px 5px #0000001a}.bmi-card p,.bmi-card li{margin:8px 0}.bmi-card h3{margin-bottom:12px;color:#333}.user-name{font-weight:700;margin-bottom:10px;font-size:16px;color:#444}.pdf-download-btn{margin:10px 0;padding:8px 14px;background-color:#4caf50;color:#fff;border:none;border-radius:6px;cursor:pointer}.pdf-download-btn:hover{background-color:#45a049}.food-history-table{width:100%;border-collapse:collapse;margin-top:1rem;font-size:14px}.food-history-table th,.food-history-table td{border:1px solid #ccc;padding:8px;text-align:left}.food-history-table th{background-color:#f0f0f0}.total-row td{background-color:#e9f5e9;font-weight:700}.add-food-page{width:100%;padding:40px;box-sizing:border-box;background:linear-gradient(to right,#d2ebcd,#fff);font-family:Segoe UI,sans-serif;display:flex;flex-direction:column;align-items:center}.form-title{font-size:32px;color:#2e7d32;margin-bottom:30px;font-weight:600}.add-food-form{width:100%;max-width:1200px;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px;background-color:#fff;padding:30px;border-radius:12px;box-shadow:0 8px 24px #00000014}.add-food-form input,.add-food-form select{padding:12px 14px;font-size:15px;border:1px solid #ccc;border-radius:8px;background-color:#f9f9f9;width:100%;transition:all .3s ease;box-sizing:border-box}.add-food-form input:focus,.add-food-form select:focus{outline:none;border-color:#66bb6a;background-color:#fff}.add-food-form button[type=submit]{grid-column:span 3;padding:14px;font-size:16px;background-color:#2e7d32;color:#fff;border:none;border-radius:8px;cursor:pointer;transition:background-color .3s ease}.add-food-form button[type=submit]:hover{background-color:#1b5e20}@media (max-width: 868px){.add-food-form{grid-template-columns:1fr;display:block}.add-food-form input,.add-food-form select{margin-bottom:14px}.add-food-form button[type=submit]{width:100%}.tags-checkboxes{display:flex;flex-wrap:wrap}}.tags-checkboxes{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px;margin-bottom:10px;grid-column:span 3}.tags-checkboxes label{display:flex;align-items:center;gap:6px;background:#f0f0f0;padding:6px 10px;border-radius:6px;font-size:14px;width:fit-content}.food-list-page{padding:1rem;max-width:1200px;margin:auto;font-family:Segoe UI,sans-serif}.food-list-title{text-align:center;font-size:1.8rem;color:#333;margin-bottom:.5rem}.bmi-info{text-align:center;font-size:1rem;color:#555;margin-bottom:1rem}.filter-bar{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-bottom:1rem}.fit-selector select,.search-bar,.recommend-btn{padding:.5rem;font-size:1rem;border-radius:8px;border:1px solid #ccc}.recommend-btn{background-color:#28a745;color:#fff;border:none;cursor:pointer;transition:.3s ease}.recommend-btn:hover{background-color:#218838}.search-bar{flex:1 1 200px;max-width:300px}.filters,.category-filters{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-bottom:1rem}.filters button,.category-filters button{padding:.4rem .8rem;border:1px solid #ccc;background-color:#fff;border-radius:6px;cursor:pointer;font-size:.9rem;transition:all .3s ease}.filters button.active,.category-filters button.active{background-color:#007bff;color:#fff;border-color:#007bff}.filters button:hover,.category-filters button:hover{background-color:#e9ecef}.food-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.2rem;margin-top:1rem}.food-card{background:#fff;border-radius:12px;padding:1rem;box-shadow:0 0 10px #0000000d;transition:transform .2s}.food-card:hover{transform:translateY(-3px)}.food-image{width:100%;height:150px;object-fit:cover;border-radius:8px;margin-bottom:.5rem}.food-card h3{margin-top:0;margin-bottom:.5rem;font-size:1.1rem}.food-card p{margin:.2rem 0;font-size:.9rem;color:#333}.meal-buttons{display:flex;justify-content:space-between;margin-top:.5rem;gap:.3rem}.meal-buttons button{flex:1;padding:.4rem;font-size:.85rem;border:none;border-radius:6px;background-color:#ffc107;color:#333;cursor:pointer;transition:.3s ease}.meal-buttons button:hover{background-color:#e0a800}@media screen and (max-width: 600px){.food-list-title{font-size:1.4rem}.fit-selector,.recommend-btn,.search-bar{width:100%}.filter-bar{flex-direction:column;align-items:center}.filters button,.category-filters button{font-size:.85rem;padding:.3rem .6rem}.meal-buttons button{font-size:.75rem}}.tracker-page{padding:1rem;max-width:900px;margin:auto;font-family:Segoe UI,sans-serif}.title{text-align:center;margin-bottom:1rem;font-size:1.75rem}.date-control{display:flex;justify-content:center;gap:.5rem;margin-bottom:1.5rem}.fetch-btn{padding:.4rem .8rem;background:#333;color:#fff;border:none;border-radius:6px;font-size:.9rem;cursor:pointer}.meal-history-card{padding:1rem;border-radius:16px;margin-bottom:1.5rem;color:#333;box-shadow:0 8px 24px #00000014}.gradient-0{background:linear-gradient(120deg,#fdfbfb,#ebedee)}.gradient-1{background:linear-gradient(120deg,#e0c3fc,#8ec5fc)}.gradient-2{background:linear-gradient(120deg,#fbc2eb,#a6c1ee)}.gradient-3{background:linear-gradient(120deg,#d4c5a4,#d1fdff)}.gradient-4{background:linear-gradient(120deg,#b4caef,#c2e9fb)}.summary-box{margin-bottom:.75rem;padding:.75rem;background:#ffffffd9;border-radius:10px;font-size:.9rem}.meal-section{padding:.75rem;margin-top:1rem;border-radius:12px;color:#181717;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:#ffffff26}.meal-breakfast{background:#c3f0d3ee}.meal-lunch{background:#f4f4cae0}.meal-dinner{background:#f5c7f4eb}.meal-section h4{margin-bottom:.5rem;font-size:1rem;text-transform:uppercase}.meal-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.75rem}.food-card{background:#fffffff2;color:#333;border-radius:12px;padding:.75rem;text-align:center;transition:transform .2s ease;font-size:.85rem}.food-card:hover{transform:translateY(-4px)}.food-img{width:100%;max-height:100px;object-fit:cover;border-radius:8px;margin-bottom:.4rem}.meal-time{font-weight:400;font-size:.85em;color:#555}.meal-planner-wrapper{padding:20px;font-family:Arial,sans-serif}.meal-planner-title{text-align:center;font-size:24px;font-weight:700;margin-bottom:30px;color:#333}.meal-planner-layout{display:flex;flex-direction:column;gap:20px}@media (min-width: 768px){.meal-planner-layout{display:grid;grid-template-columns:200px 1fr}}.available-meals{background-color:#f0f4f8;border-radius:10px;padding:15px;box-shadow:0 2px 5px #0000001a}.available-meals-title{font-size:18px;margin-bottom:10px;font-weight:600;color:#444}.meal-item{background-color:#fff;padding:10px;border-radius:6px;margin-bottom:8px;box-shadow:0 1px 3px #0000001a;cursor:grab;transition:transform .2s}.meal-item:active{transform:scale(1.02)}.weekly-days-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:15px}.day-column{background-color:#e0e3e8;padding:10px;border-radius:10px;min-height:180px;box-shadow:0 2px 5px #0000001a}.day-header{text-align:center;font-weight:600;color:#1a3e72;margin-bottom:8px}.meal-assigned{background-color:#d4edda;padding:8px;margin-bottom:6px;border-radius:6px;font-size:14px;box-shadow:0 1px 2px #0000001a}.contact-container{max-width:600px;margin:50px auto;background:#fff;padding:30px;border-radius:12px;box-shadow:0 5px 20px #0000001a;font-family:Segoe UI,sans-serif}.contact-container h2{margin-bottom:10px;font-size:26px;color:#333}.contact-container p{margin-bottom:20px;font-size:16px;color:#555}.contact-form input,.contact-form textarea{width:100%;padding:12px 15px;margin-bottom:15px;border:1px solid #ccc;border-radius:8px;font-size:15px}.contact-form button{width:100%;background:#4caf50;color:#fff;padding:12px;font-size:16px;border:none;border-radius:8px;cursor:pointer;transition:background .3s}.contact-form button:hover{background:#388e3c}.status-message{margin-top:15px;padding:12px;border-radius:6px;font-weight:500;text-align:center}.status-message.success{background-color:#e6f4ea;color:#2e7d32}.status-message.error{background-color:#fdecea;color:#c62828}@media (max-width: 500px){.contact-container{margin:20px;padding:20px}}.about-container{font-family:Segoe UI,sans-serif;color:#333;line-height:1.6;padding:0;margin:0;background:#f9f9f9}.about-hero{background:linear-gradient(to right,#58c6a0,#4aa2ff);padding:3rem 1rem;text-align:center;color:#fff;border-radius:0 0 40px 40px}.about-hero h1{font-size:2.8rem;margin-bottom:.5rem}.about-hero p{font-size:1.2rem}.about-content{padding:2rem 1.5rem;max-width:900px;margin:auto}.about-section{margin-bottom:2rem;background:#fff;padding:1.5rem;border-radius:20px;box-shadow:0 2px 10px #0000000d}.about-section h2{color:#4aa2ff;margin-bottom:.8rem}.about-section ul{list-style:none;padding-left:1rem}.about-section ul li{margin-bottom:.5rem;position:relative;padding-left:1.5rem}.about-section ul li:before{content:"✔️";position:absolute;left:0;color:#58c6a0}.about-footer{text-align:center;padding:1rem;font-size:.9rem;color:#777}
