/* Minimaler Start-Stil für das Login-Milestone. Wird erweitert, sobald weitere Seiten
   dazukommen - siehe mitarbeiter-app-legacy/app.css für das volle Design als Referenz. */

:root{
  --cyan:#10d7e6;--cyan2:#36f2ff;--dark:#031522;
  --glass:rgba(0,35,51,.74);--line:rgba(170,240,250,.42);
  --text:#f7ffff;--muted:#d7f6f8;
  --sidebar-w:240px;
}

*{box-sizing:border-box}
html{background:#031522}
body{
  margin:0;min-height:100vh;color:var(--text);
  font-family:Arial,Helvetica,sans-serif;line-height:1.45;
  background:
    radial-gradient(
      circle at 15% 10%,
      rgba(16, 215, 230, 0.22),
      transparent 33%
    ),
    radial-gradient(
      circle at 85% 85%,
      rgba(18, 88, 99, 0.32),
      transparent 38%
    ),
    linear-gradient(
      135deg,
      #031522 0%,
      #032a36 38%,
      #0a3a47 68%,
      #031522 100%
    );
  background-attachment:fixed;
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

.glass{
  border:1px solid var(--line);border-radius:22px;
  background:linear-gradient(145deg,rgba(0,35,51,.78),rgba(8,105,122,.28));
  box-shadow:0 22px 70px rgba(0,0,0,.28);
  backdrop-filter:blur(16px);
}

.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;border:1px solid rgba(255,255,255,.24);border-radius:13px;
  background:linear-gradient(135deg,#25e2e9,#079aaa);
  color:#fff;font-weight:900;padding:14px 18px;cursor:pointer;
  box-shadow:0 14px 38px rgba(0,215,230,.18);font:inherit;
}

form{display:grid;gap:14px}
label{display:grid;gap:7px;font-weight:800;color:#fff}
input,select,textarea{
  width:100%;border:1px solid rgba(170,240,250,.36);border-radius:12px;
  padding:14px;background:rgba(2,11,22,.54);color:#fff;font:inherit;
}
textarea{resize:vertical;min-height:90px}

.error{
  padding:12px 14px;border:1px solid rgba(255,130,130,.45);
  border-radius:12px;background:rgba(255,0,0,.13);color:#fff;
}
.hint{color:var(--muted);font-size:.9rem}

.login-page{display:grid;place-items:center;min-height:100vh;padding:26px}
.login-card{width:min(100%,450px);padding:30px}

.dashboard-layout{
  display:grid;
  grid-template-columns:1fr;
  padding-left:var(--sidebar-w);
  min-height:100vh;
}

.sidebar{
  position:fixed;top:0;left:0;width:var(--sidebar-w);height:100vh;overflow-y:auto;
  display:flex;flex-direction:column;gap:0;
  border-radius:0;border-top:none;border-bottom:none;border-left:none;
  padding:0;
}
.sidebar-brand{padding:22px 20px 16px;border-bottom:1px solid rgba(170,240,250,.18)}
.sidebar-brand img{width:160px;height:auto}
.sidebar-app-name{
  display:block;margin-top:6px;
  color:var(--cyan2);text-transform:uppercase;
  letter-spacing:.16em;font-size:.74rem;font-weight:900;
}
.sidebar-user{
  display:grid;grid-template-columns:40px 1fr;gap:12px;
  align-items:center;padding:16px 20px;
  border-bottom:1px solid rgba(170,240,250,.12);
}
.sidebar-avatar{
  width:40px;height:40px;display:grid;place-items:center;
  border-radius:50%;background:linear-gradient(135deg,#20e1ea,#078fa3);
  font-weight:900;font-size:1.1rem;color:#fff;
}
.sidebar-user b{display:block;font-size:.92rem}
.sidebar-user small{display:block;color:var(--muted);font-size:.78rem;margin-top:2px}

.sidebar-nav{padding:16px 12px 0;flex:1}
.sidebar-nav a{
  display:flex;align-items:center;gap:10px;
  border-radius:13px;padding:11px 12px;
  color:#ebfdff;font-weight:800;font-size:.92rem;
  border:1px solid transparent;margin-bottom:4px;
}
.sidebar-nav a.active{
  background:linear-gradient(135deg,rgba(32,225,234,.22),rgba(7,143,163,.18));
  border-color:rgba(54,242,255,.45);
  color:#fff;
}
.nav-icon{font-size:1rem;opacity:.85}

.sidebar-footer{padding:16px 20px;border-top:1px solid rgba(170,240,250,.12);margin-top:auto}
.sidebar-logout{
  display:block;text-align:center;
  border:1px solid rgba(170,240,250,.28);
  border-radius:13px;padding:11px;
  background:rgba(255,255,255,.06);
  font-weight:900;font-size:.88rem;
}

.main-content{overflow-y:auto;padding:48px 40px;min-height:100vh}
.main-inner{max-width:860px}
.main-title{font-size:2.4rem;line-height:1;margin:0 0 12px;color:#fff}
.main-title span{color:var(--cyan)}
.main-sub{color:var(--muted);font-size:1.05rem;margin:0}

.split-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  align-items:start;
}

@media(max-width:860px){
  .dashboard-layout{grid-template-columns:1fr;padding-left:0}
  .sidebar{position:static;width:100%;height:auto}
  .main-content{padding:20px 16px}
  .split-layout{grid-template-columns:1fr}
}
