*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial,Helvetica,sans-serif;
}

body{
background:#eef8ff;
color:#1d2b38;
overflow-x:hidden;
}

a{
text-decoration:none;
}

.wrap{
width:min(1300px,92%);
margin:auto;
}

.login-page{
min-height:100vh;
display:flex;
justify-content:center;
align-items:center;
position:relative;
overflow:hidden;
background:linear-gradient(180deg,#f8fdff,#dff3ff);
}

.login-bg{
position:absolute;
width:100%;
height:100%;
background:
radial-gradient(circle at top left,rgba(0,183,255,.25),transparent 30%),
radial-gradient(circle at bottom right,rgba(0,100,255,.2),transparent 30%);
}

.login-box{
position:relative;
z-index:10;
width:min(450px,92%);
background:rgba(255,255,255,.95);
padding:40px;
border-radius:35px;
box-shadow:0 30px 70px rgba(0,120,255,.15);
text-align:center;
}

.logo-badge{
width:90px;
height:90px;
margin:auto;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
font-size:40px;
background:linear-gradient(135deg,#00c6ff,#006eff);
box-shadow:0 15px 40px rgba(0,120,255,.3);
margin-bottom:25px;
}

.login-box h1{
font-size:55px;
font-weight:900;
}

.login-box span{
color:#008cff;
}

.login-sub{
color:#607b91;
margin-bottom:30px;
line-height:1.7;
}

label{
display:block;
text-align:left;
font-weight:800;
margin-top:15px;
margin-bottom:7px;
}

input,textarea,select{
width:100%;
padding:16px;
border:none;
background:#f2f9ff;
border-radius:15px;
margin-bottom:12px;
font-size:15px;
outline:none;
border:2px solid transparent;
}

input:focus,textarea:focus{
border-color:#009dff;
background:white;
}

button,.btn{
display:inline-block;
width:100%;
padding:16px;
border:none;
border-radius:15px;
font-size:16px;
font-weight:900;
cursor:pointer;
color:white;
background:linear-gradient(135deg,#00b7ff,#006eff);
box-shadow:0 12px 30px rgba(0,100,255,.25);
transition:.3s;
}

button:hover,.btn:hover{
transform:translateY(-3px);
}

.error{
background:#ffe0e0;
padding:14px;
margin-bottom:20px;
border-radius:15px;
font-weight:bold;
color:#d00000;
}

.top{
background:white;
padding:18px 0;
border-bottom:1px solid #dbeeff;
position:sticky;
top:0;
z-index:1000;
}

.nav{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
}

.logo{
font-size:30px;
font-weight:900;
color:#008cff;
}

.links{
display:flex;
gap:10px;
flex-wrap:wrap;
}

.links a{
padding:12px 16px;
background:#eef8ff;
border-radius:999px;
font-weight:800;
color:#0077dd;
}

.links .danger{
background:#ff3030;
color:white;
}

.hero{
padding:60px 0;
background:linear-gradient(180deg,#ffffff,#eef8ff);
}

.hero h1{
font-size:65px;
font-weight:900;
}

.hero p{
color:#678096;
margin-top:10px;
font-size:19px;
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:20px;
margin:25px 0;
}

.card{
background:white;
padding:25px;
border-radius:28px;
box-shadow:0 15px 40px rgba(0,100,255,.08);
}

.stat{
font-size:45px;
font-weight:900;
color:#008cff;
}

.msg{
background:#f5fbff;
padding:15px;
margin-bottom:15px;
border-radius:18px;
}

.chatbox{
height:420px;
overflow:auto;
padding:15px;
border-radius:20px;
background:#f5fbff;
}

table{
width:100%;
background:white;
border-collapse:collapse;
border-radius:20px;
overflow:hidden;
}

th{
background:#eef8ff;
padding:14px;
}

td{
padding:14px;
border-bottom:1px solid #edf3f7;
vertical-align:middle;
}

.done{
opacity:.5;
text-decoration:line-through;
}

footer{
padding:60px;
text-align:center;
color:#8da2b6;
}

.red-btn{
background:linear-gradient(135deg,#ff2b2b,#a00000)!important;
}

/* Futterplan Checkboxen klein */
table input[type="checkbox"]{
width:24px!important;
height:24px!important;
padding:0!important;
margin:0 auto!important;
display:block;
accent-color:#008cff;
}

/* NOTFALL */
.emergency-section{
display:none;
margin-top:40px;
background:linear-gradient(180deg,#550000,#170000);
color:white;
padding:35px;
border-radius:35px;
box-shadow:0 20px 70px rgba(255,0,0,.35);
}

.emergency-section h1{
text-align:center;
font-size:42px;
margin-bottom:10px;
}

.emergency-section p{
text-align:center;
color:#ffd0d0;
font-weight:800;
margin-bottom:25px;
}

.emergency-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
gap:14px;
margin-top:25px;
}

.emergency-btn{
background:linear-gradient(135deg,#ff2b2b,#a00000)!important;
color:white!important;
border:0!important;
border-radius:20px!important;
padding:20px!important;
font-size:17px!important;
font-weight:900!important;
cursor:pointer!important;
width:100%!important;
box-shadow:0 12px 35px rgba(255,0,0,.35)!important;
}

.emergency-card{
margin-top:30px;
background:#650000;
padding:28px;
border-radius:28px;
border:2px solid rgba(255,255,255,.15);
}

.emergency-card h2{
font-size:38px;
margin-bottom:20px;
}

.em-info{
background:#ffd7d7;
color:#8d0000;
padding:16px;
font-weight:900;
border-radius:15px;
margin-bottom:20px;
}

.emergency-step{
display:flex;
gap:15px;
align-items:flex-start;
background:rgba(255,255,255,.12);
padding:18px;
margin-bottom:14px;
border-radius:18px;
}

.number{
width:42px;
height:42px;
border-radius:50%;
background:white;
color:#c00000;
font-size:18px;
font-weight:900;
display:flex;
justify-content:center;
align-items:center;
flex-shrink:0;
}

.step-text{
font-size:18px;
font-weight:700;
line-height:1.7;
}

.fish-helper{
position:fixed;
right:20px;
bottom:20px;
z-index:9999;
animation:swim 3s infinite ease-in-out;
}

.fish{
font-size:60px;
text-align:center;
}

.fish-speech{
background:white;
color:#b00000;
padding:14px 18px;
border-radius:18px;
margin-bottom:10px;
font-weight:900;
box-shadow:0 10px 35px rgba(0,0,0,.3);
line-height:1.4;
}

@keyframes swim{
0%{transform:translateX(0)}
50%{transform:translateX(-15px)}
100%{transform:translateX(0)}
}

@media(max-width:700px){
.hero h1{
font-size:40px;
}

.nav{
flex-direction:column;
align-items:flex-start;
}

.links{
justify-content:center;
}

.login-box{
padding:30px;
}

.fish-helper{
right:10px;
bottom:10px;
}

.fish{
font-size:45px;
}

.fish-speech{
font-size:13px;
}
}
.task-row{
display:flex;
justify-content:space-between;
align-items:center;
gap:15px;
background:#f5fbff;
padding:14px;
border-radius:15px;
margin-bottom:12px;
}

.task-row label{
display:flex;
align-items:center;
gap:10px;
margin:0;
}

.task-row input[type="checkbox"]{
width:22px!important;
height:22px!important;
margin:0!important;
padding:0!important;
}

.done{
text-decoration:line-through;
opacity:.6;
}

.delete-btn{
background:#ff3030!important;
width:auto!important;
padding:10px 14px!important;
border-radius:12px;
color:white;
border:none;
cursor:pointer;
}

table input{
padding:10px!important;
margin:0!important;
}

.card form .delete-btn{
width:auto!important;
}
