:root{font-family:system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#fdf6ec;color:#000;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}html,body,#root{height:100%;width:100%}body{margin:0;display:flex;place-items:center;min-width:300px;min-height:100vh;box-sizing:border-box;padding:2rem 1.5rem}h1{font-size:3em;line-height:1.1}@media (max-width: 600px){h1{font-size:2em}}a{font-weight:500;color:#e76f51;text-decoration:inherit}a:hover{color:#bc4c2e}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#f4a261;color:#fff;cursor:pointer;transition:border-color .25s}button:hover{background-color:#e76f51;color:#fff}input,textarea{padding:10px;margin:10px;background:#f8e8d6;color:#000;border:1px solid #ccc;border-radius:8px;font-size:1rem}@media (max-width: 1124px){html{font-size:95%}body{padding:1.5rem 1rem}button{font-size:.95em;padding:.55em 1.1em}input,textarea,p{font-size:.95em}}@media (max-width: 480px){html{font-size:90%}h1{font-size:1.8em}input,textarea,p{font-size:.9em}}#root{max-width:100%;margin:0 auto auto 0}input,textarea{font-family:monospace}header nav{font-size:1.3rem;color:#f4a261;display:flex;justify-content:space-between}header nav button{display:inline-block;padding:.6rem 1.1rem;border-radius:6px;text-decoration:none;font-weight:700;transition:background-color .2s ease}head nav button:hover{background-color:#e76f51}header nav div{display:flex;gap:.5rem;flex-wrap:wrap;align-items:center}.hamburger{display:none;background:none;border:none;cursor:pointer;background:#f4a261}.mobile-menu{display:flex;flex-direction:column;gap:12px;padding:16px;margin-top:10px;background:#f8e8d6;border-radius:12px;box-shadow:0 4px 10px #0000001a}@media (max-width: 820px){.nav-desktop{display:none}.hamburger{display:block;margin-right:auto}header nav div{margin-bottom:.5rem;gap:.3rem}}.recipes-container{display:grid;grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:1rem;padding:1rem}@media (max-width: 480px){.recipe-card{padding:1rem;margin:.5rem}.recipes-container{grid-template-columns:1fr;padding:.5rem}}.login{align-content:center;text-align:center;border-radius:12px;margin:10px;width:auto}.login input{padding-right:30px}.show-password{position:absolute;right:30px;top:0;bottom:0;display:flex;align-items:center;background:none;border:none;cursor:pointer;color:#e76f51;font-weight:500;padding:0 4px}.show-password:hover{color:#bc4c2e;background:none;border:none}.login-field{text-align:left;margin:0 auto .5rem;width:fit-content}.login-field label{display:block;margin-bottom:.3rem;font-weight:500}.homepage-container{padding:1vw;text-align:center}.homepage-title{font-size:2.5rem;margin-bottom:.5rem}.homepage-subtitle{font-size:1.25rem;color:#666;margin-bottom:2rem}.homepage-sections{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin:0 auto;padding:1rem;gap:2rem}.homepage-button{padding:.5rem 1rem;background-color:#f4a261;color:#fff;border-radius:6px;text-decoration:none;font-weight:700;transition:background-color .2s ease;margin-top:auto;display:block;width:fit-content}.homepage-button:hover{background-color:#e76f51;color:#fff}.card{background-color:#f8e8d6;border-radius:12px;padding:1.5rem;box-shadow:0 4px 12px #d1c8c4;text-align:left;transition:transform .2s ease;display:flex;flex-direction:column;justify-content:space-between}.card:hover{transform:translateY(-4px)}.card h2{margin-bottom:.5rem;color:#1a1a1a}.card p{color:#1a1a1a}.recipe-card-scrollbar{max-height:600px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#c4b5aa transparent;word-break:break-word;overflow-wrap:anywhere;white-space:pre-wrap}.recipe-card,.recipe-card-scrollbar{background-color:#f8e8d6;border-radius:12px;padding:1.5rem;box-shadow:0 4px 12px #d1c8c4;text-align:left;transition:transform .2s ease;margin:1vw;display:flex;flex-direction:column;justify-content:space-between;border:1px solid #ddd;word-break:break-word;overflow-wrap:anywhere;white-space:pre-wrap;max-width:100%;box-sizing:border-box}.recipe-card:hover{transform:translateY(-2px)}.recipe-card-name{display:block;text-align:right;padding-right:10px}.favorites-button{padding:6px 12px;background-color:#f8e8d6;color:#000;border:1px solid #ccc;border-radius:4px;cursor:pointer}.favorites-button:hover{background-color:#f8e0d6;color:#000}.cookbook-card{background-color:#fdf6ec;border-radius:12px;padding:1.5rem;margin:1vw;box-shadow:0 6px 15px #0000001a,0 0 0 4px #f8e8d6 inset;transition:transform .2s ease,box-shadow .2s ease;cursor:pointer;position:relative;overflow:hidden;font-family:Georgia,serif}.cookbook-card:before{content:"";position:absolute;top:0;left:0;width:8px;height:100%;background-color:#e76f51;border-top-left-radius:12px;border-bottom-left-radius:12px}.cookbook-card:hover{transform:translateY(-5px);box-shadow:0 12px 25px #00000026,0 0 0 4px #f8e8d6 inset}.cookbook-card h2{margin-top:0;margin-bottom:.5rem;font-size:1.5rem;color:#bc4c2e}.cookbook-page{background-color:#fdf6ec;border-radius:12px;padding:1.5rem;margin:1rem;box-shadow:0 6px 15px #0000001a,0 0 0 4px #f8e8d6 inset;transition:transform .2s ease,box-shadow .2s ease;cursor:pointer;position:relative;overflow:hidden}.cookbook-page:before{content:"";position:absolute;top:0;left:0;width:8px;height:100%;background-color:#e76f51;border-top-left-radius:12px;border-bottom-left-radius:12px}.recipe-form{display:flex;gap:40px;padding:20px;font-family:Arial,sans-serif;justify-content:center;align-items:flex-start;box-sizing:border-box;flex-direction:row}.recipe-form form{flex:1 1 100%;max-width:650px;display:flex;flex-direction:column;min-width:400px}.recipe-form input:not(.ingredient-input){margin-bottom:15px;padding:8px;font-size:16px;box-sizing:border-box;width:100%}.ingredient-input{flex:1 1 150px;padding:8px;font-size:16px;color:#000;width:auto}.recipe-form textarea{margin-bottom:15px;padding:8px;font-size:16px;min-height:80px;width:100%;box-sizing:border-box;resize:none}.form-button{padding:10px 20px;font-size:16px;cursor:pointer}.cancel-button{background:#e67e51}.delete-button{background:#e76f51}.delete-button:hover,.cancel-button:hover{background:#f4a261}.add-button{align-self:flex-start;cursor:pointer}.error{color:#e76f51;margin-top:15px}.ingredient-row{display:flex;align-items:center;gap:10px;margin-bottom:10px;flex-wrap:wrap}.ingredient-label{min-width:50px}.tags-container{display:flex;flex-wrap:wrap;gap:15px;margin-bottom:20px}.tag-label{cursor:pointer;-webkit-user-select:none;user-select:none}.sidebar{flex:1 1 300px;max-width:500px;min-width:250px;border-left:1px solid #ccc;border-top:none;padding:0 0 0 20px;box-sizing:border-box}@media (max-width: 1124px){.sidebar{max-width:100%;min-width:100%;border-left:none;border-top:1px solid #ccc;margin-top:15px;padding:15px 0 0}.recipe-form{flex-direction:column;gap:20px;padding:15px}}@media (max-width: 768px){.ingredient-row{flex-direction:column;gap:6px}.recipe-form form{min-width:100%;max-width:100%}.ingredient-row{gap:6px;align-items:flex-start;width:100%}.recipe-form input,.recipe-form textarea,.ingredient-input{font-size:14px;padding:6px}.form-button,.add-button{font-size:.95em;padding:.55em 1.1em}}@media (max-width: 480px){.ingredient-row{gap:4px}}img{width:150px;height:150px;object-fit:cover;border-radius:50%}input[type=file]{display:block;margin-bottom:.5rem;padding:.4rem .6rem;color:#000;cursor:pointer}input[type=file]::-webkit-file-upload-button{background-color:#f4a261;color:#fff;border:none;padding:.4rem .6rem;border-radius:6px;cursor:pointer;transition:background-color .2s ease}input[type=file]::-webkit-file-upload-button:hover{background-color:#e76f51}button{margin:5px}label{display:block;font-weight:500}
