*{box-sizing:border-box}:root{--cream:#f8f1e7;--cream-dark:#eee1d1;--white:#fffdf9;--terracotta:#b64a32;--terracotta-dark:#8f3525;--peach:#f1c2ae;--coffee:#30251f;--brown:#66554b;--border:#dfd1c3}html{scroll-behavior:smooth}body{color:var(--coffee);background-color:var(--cream);margin:0;font-family:Arial,Helvetica,sans-serif}button,input,textarea,select{font:inherit}button{cursor:pointer}main{width:min(1400px,100% - 48px);min-height:100vh;margin:0 auto;padding:32px 0 70px}.hero{min-height:310px;color:var(--white);background-color:var(--coffee);border-radius:30px;align-items:center;gap:35px;padding:50px 70px;display:flex;position:relative;overflow:hidden;box-shadow:0 18px 45px #30251f33}.hero:after{content:"";background-color:var(--terracotta);opacity:.65;border-radius:50%;width:320px;height:320px;position:absolute;top:-100px;right:-70px}.logo{object-fit:cover;background-color:var(--white);border:7px solid var(--peach);z-index:1;border-radius:50%;width:165px;height:165px;transition:transform .3s,box-shadow .3s;position:relative;box-shadow:0 12px 30px #00000040}.logo:hover{transform:rotate(-4deg)scale(1.04);box-shadow:0 17px 38px #00000052}.hero h1{letter-spacing:-3px;z-index:1;margin:0 0 10px;font-size:clamp(48px,7vw,88px);line-height:.95;position:relative}.hero p{color:var(--peach);letter-spacing:.5px;z-index:1;margin:0;font-size:20px;position:relative}.categories-section{padding:48px 0 30px}.category-list{flex-wrap:wrap;gap:14px;display:flex}.category-item{color:var(--terracotta-dark);border:1px solid var(--peach);letter-spacing:.3px;background-color:#fce8df;border-radius:999px;padding:13px 24px;font-size:15px;font-weight:700;transition:color .25s,background-color .25s,border-color .25s,transform .25s,box-shadow .25s;box-shadow:0 5px 12px #8f35251a}.category-item:hover{color:var(--white);background-color:var(--terracotta);border-color:var(--terracotta);transform:translateY(-4px);box-shadow:0 10px 20px #8f352540}.category-item:active{transform:translateY(-1px)scale(.97)}.recipes-section{padding:60px 0 80px}.recipes-section>h2{color:var(--coffee);letter-spacing:-2px;margin:0 0 30px;font-size:clamp(36px,5vw,56px)}.recipes-section>h2:after{content:"";background-color:var(--terracotta);border-radius:999px;width:90px;height:5px}.recipe-grid{grid-template-columns:repeat(3,1fr);align-items:stretch;gap:24px;display:grid}.recipe-card{background-color:var(--white);border:1px solid var(--border);border-radius:20px;min-width:0;padding:34px 30px;transition:transform .3s,box-shadow .3s,border-color .3s;position:relative;overflow:hidden;box-shadow:0 8px 25px #4a372c17}.recipe-card:before{content:"";background-color:var(--terracotta);width:100%;height:8px;position:absolute;top:0;left:0}.recipe-card:hover{border-color:var(--peach);transform:translateY(-9px);box-shadow:0 18px 35px #4a372c2b}.recipe-card h3{color:var(--terracotta);margin:8px 0 13px;font-size:27px;line-height:1.2}.recipe-card h4{color:var(--coffee);margin:25px 0 8px;font-size:18px}.recipe-card p{color:var(--brown);overflow-wrap:anywhere;margin:0;line-height:1.7}.recipe-information{border-bottom:1px solid var(--border);padding-bottom:18px;font-size:14px;color:#8a7467!important}.pagination{justify-content:center;gap:12px;margin-top:35px;display:flex}.pagination button{width:46px;height:46px;color:var(--coffee);background-color:var(--white);border:1px solid var(--border);border-radius:50%;padding:0;font-weight:700;transition:color .25s,background-color .25s,transform .25s,box-shadow .25s;box-shadow:0 5px 12px #4a372c1a}.pagination button:hover{color:var(--white);background-color:var(--terracotta);transform:translateY(-3px);box-shadow:0 9px 18px #8f352540}.pagination .active-page{color:var(--white);background-color:var(--coffee);border-color:var(--coffee)}.control-section{background-color:var(--cream-dark);border-radius:30px;padding:55px}.control-title{letter-spacing:-2px;align-items:center;gap:18px;margin:0 0 30px;font-size:clamp(34px,5vw,52px);display:flex}.control-title:before{content:"";background-color:var(--terracotta);border-radius:999px;width:7px;height:48px}.control-layout{grid-template-columns:1fr;gap:24px;display:grid}.add-recipe-card,.add-user-card,.user-list-card{background-color:var(--white);border:1px solid var(--border);border-radius:20px;padding:30px;box-shadow:0 8px 22px #4a372c14}.add-recipe-card{border-left:7px solid var(--terracotta)}.add-recipe-card h2,.add-user-card h2,.user-list-card h2{color:var(--coffee);margin:0 0 22px;font-size:28px}.recipe-form,.user-form{flex-direction:column;gap:15px;display:flex}.recipe-form-top{grid-template-columns:1.3fr 1fr 1fr;gap:15px;display:grid}input,textarea,select{width:100%;color:var(--coffee);border:1px solid var(--border);background-color:#fffefa;border-radius:12px;outline:none;padding:15px 17px;transition:border-color .25s,box-shadow .25s,background-color .25s}input:focus,textarea:focus,select:focus{border-color:var(--terracotta);background-color:#fff;box-shadow:0 0 0 4px #b64a3221}textarea{resize:vertical;min-height:145px}form button{color:var(--white);background-color:var(--terracotta);border:none;border-radius:999px;align-self:flex-start;padding:13px 25px;font-weight:700;transition:background-color .25s,transform .25s,box-shadow .25s;box-shadow:0 7px 16px #8f352533}form button:hover{background-color:var(--terracotta-dark);transform:translateY(-3px);box-shadow:0 11px 20px #8f35254d}form button:active{transform:translateY(0)scale(.97)}.user-column{grid-template-columns:1fr 1.4fr;align-items:start;gap:24px;display:grid}.add-user-card{border-top:7px solid var(--peach)}.user-list-card{border-top:7px solid var(--coffee)}.user-list{max-height:300px;padding-right:10px;overflow-y:auto}.user-item{border-bottom:1px solid var(--border);padding:14px 5px}.user-item:last-child{border-bottom:none}.user-item strong{color:var(--coffee);font-size:17px}.user-item p{color:var(--brown);margin:6px 0 0}.user-list::-webkit-scrollbar{width:7px}.user-list::-webkit-scrollbar-track{background-color:var(--cream);border-radius:999px}.user-list::-webkit-scrollbar-thumb{background-color:var(--terracotta);border-radius:999px}@media (width<=950px){main{width:min(100% - 30px,1400px)}.hero{padding:40px}.recipe-grid{grid-template-columns:repeat(2,1fr)}.recipe-form-top,.user-column{grid-template-columns:1fr}}@media (width<=650px){main{width:min(100% - 24px,1400px);padding-top:12px}.hero{text-align:center;border-radius:0 0 28px 28px;flex-direction:column;justify-content:center;gap:20px;min-height:390px;padding:40px 25px}.logo{width:135px;height:135px}.hero h1{letter-spacing:-2px;font-size:50px}.hero p{font-size:17px}.category-list,.recipes-section>h2{justify-content:center}.recipes-section>h2:after{display:none}.recipe-grid{grid-template-columns:1fr}.control-section{border-radius:22px;padding:25px 16px}.control-title{font-size:35px}.add-recipe-card,.add-user-card,.user-list-card{padding:22px}form button{width:100%}}
