body{
    margin:0;
    background:var(--secondary-color);
    background-image:var(--background-image);
    background-size:cover;
    background-position:center;
    background-attachment:fixed;

    color:var(--text-color);

    font-family:Segoe UI,sans-serif;
}

.header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:20px 30px;

    background:rgba(5,20,32,.80);

    backdrop-filter:blur(10px);

    border-bottom:1px solid rgba(0,229,255,.18);

    box-shadow:
        0 0 18px rgba(0,229,255,.08);

}

.brand{display:flex;align-items:center;gap:18px}
.logo{width:60px;height:60px;object-fit:contain}
#clock{font-size:30px;font-weight:bold}
#date{color:var(--accent-color);text-align:right}
.wrap{display:grid;grid-template-columns:260px 1fr;min-height:calc(100vh - 100px)}

.sidebar{
    background:var(--secondary-color);
    padding:24px;
}
.sidebar ul{list-style:none;padding:0}
.sidebar li{padding:10px 0;color:#ccc}
main{padding:35px}

.hero{

    padding:24px;

    margin-bottom:24px;

    border-left:5px solid var(--accent-color);

}

.loginbox{

    padding:30px;

    width:380px;

}

.hero{padding:24px;margin-bottom:24px;border-left:5px solid var(--accent-color)}

.hero-content{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:40px;

    margin-top:20px;

}

.hero-left{

    width:50%;

}

.hero-right{

    width:50%;

    padding-left:30px;

    border-left:1px solid rgba(0,229,255,.20);

}

.hero-right h3{

    margin-top:0;

    color:var(--accent-color);

}

.hero-right p{

    margin:8px 0;

}

.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}

.card{

    min-height:180px;

    padding:20px;

}

.loginpage{display:flex;justify-content:center;align-items:center;height:100vh}
.loginbox{padding:30px;width:380px}

input{
    width:100%;
    padding:12px;
    margin:10px 0;
    border-radius:8px;
    border:1px solid #444;
}

button{background:var(--accent-color);color:#fff;border:none}

.sidebar li{
    padding:14px 12px;
    color:#ddd;
    cursor:pointer;
    border-radius:10px;
    transition:0.3s;
    margin-bottom:8px;
}

.sidebar li:hover{
    background:var(--accent-color);
    color:#fff;
    padding-left:22px;
}

.card h3{
    margin-top:0;
    color:var(--accent-color);
}

.card p{
    color:#ddd;
}

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

.toolbar input{
    width:280px;
}

.pilot-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
    gap:20px;
}

.pilot-card{

    padding:20px;

}

.pilot-card:hover{
    transform:translateY(-4px);
    border-color:var(--accent-color);
}

.pilot-header{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:15px;
}

.pilot-avatar{
    width:60px;
    height:60px;
    border-radius:50%;
    background:var(--accent-color);
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:30px;
}

.pilot-actions{
    display:flex;
    gap:10px;
    margin-top:20px;
}

.pilot-actions .btn{
    flex:1;
    height:48px;

    display:flex !important;
    justify-content:center;
    align-items:center;

    box-sizing:border-box;
}

.modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.75);
    justify-content:center;
    align-items:center;
    z-index:1000;
}
.modal-content{

    width:500px;

    max-width:90%;

    padding:25px;

}

.modal-content input,.modal-content select{
    width:100%;
    padding:12px;
    box-sizing:border-box;
    background:#1a2b3a;
    color:#fff;
    border:1px solid #444;
    border-radius:8px;
}
.modal-buttons{display:flex;gap:10px;margin-top:20px;}
.modal-buttons button{flex:1;}

/* ===== LOGIN DESIGN ===== */

.loginbox h1{
    color:var(--accent-color);
    text-align:center;
    margin-bottom:10px;
    text-shadow:0 0 10px rgba(0,229,255,.5);
}

.loginbox p{
    color:#8FDFFF;
    text-align:center;
}

.loginbox a{
    color:#7CFFFF;
    text-decoration:none;
    transition:.3s;
}

.loginbox a:hover{
    color:var(--accent-color);
    text-shadow:0 0 8px rgba(0,229,255,.8);
}

.loginbox button{
    background:var(--accent-color);
    color:#081015;
    font-weight:bold;
}

.loginbox button:hover{
    background:var(--accent-color);
    box-shadow:0 0 18px rgba(0,229,255,.5);
}

.loginbox input{
    background:#1a2b3a;
    color:#fff;
    border:1px solid var(--accent-color);
}

.loginbox input:focus{
    outline:none;
    border-color:var(--accent-color);
    box-shadow:0 0 10px rgba(0,229,255,.4);
}


/* ===== HUD LOOK ===== */

.hero,
.card,
.pilot-card,
.sidebar,
.header,
.modal-content{
    border-color:var(--accent-color);
    box-shadow:
        0 0 10px rgba(0,229,255,.10),
        inset 0 0 6px rgba(0,229,255,.05);
}

.sidebar{
    border-right:1px solid rgba(0,229,255,.15);
}

.sidebar li:hover{
    color:#081015;
    font-weight:bold;
}

.card h3,
.hero h2{

    color: var(--accent-color);

    text-shadow: 0 0 12px rgba(0,229,255,.55);

}

/* ===========================
   Navigation
=========================== */

.menu-section{
    margin-top:20px;
    padding:10px 15px;
    font-size:15px;
    font-weight:700;
    color:#67e8f9;
    border-top:1px solid rgba(103,232,249,.25);
    cursor:default;
}

.submenu{
    padding-left:28px !important;
}

.logout-link{
    display:block;
    width:100%;
    color:inherit;
    text-decoration:none;
}

.logout-link:hover{
    color:#67e8f9;
}

.notification{

    position:relative;

    display:inline-flex;

    align-items:center;

    cursor:pointer;

    font-size:24px;

}

#notification-count{

    position:absolute;

    top:-2px;
    right:-2px;

    background:#ff3b3b;
    color:#fff;

    border-radius:50%;

    width:18px;
    height:18px;

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:11px;
    font-weight:bold;

    line-height:18px;

    box-shadow:0 0 10px rgba(255,0,0,.6);

}

.notification-panel{

    display:none;

    position:absolute;

    top:42px;
    right:0;

    width:300px;

    background:#101722;

    border:1px solid #3ec5ff;

    border-radius:10px;

    padding:15px;

    box-shadow:0 0 20px rgba(0,255,255,.35);

    z-index:9999;

}

.notification-panel h3{

    margin:0 0 15px 0;

    color:#3ec5ff;

}

.notification-item{

    padding:10px 0;

    border-bottom:1px solid rgba(255,255,255,.15);

}

/* ===========================
   Buttons
=========================== */


    .btn{

    width:100%;

}

.btn-danger{
    background:var(--accent-color);
    color:#081015;
    border:1px solid var(--accent-color);
    border-radius:8px;
    padding:10px 20px;
    text-decoration:none;
    font-weight:bold;
    display:inline-block;
    transition:.3s;
}

.btn-warning:hover{

    background:var(--accent-color);

    box-shadow:0 0 15px rgba(0,229,255,.5);

}

.btn-primary:hover{
    background:var(--accent-color);
    box-shadow:0 0 15px rgba(0,229,255,.5);
}

.form-group textarea {

    width: 100%;
    min-height: 140px;
    padding: 12px;

    background: #1d2633;
    color: #ffffff;

    border: 1px solid #3b4b63;
    border-radius: 8px;

    resize: vertical;

    font-size: 15px;
    font-family: inherit;

    transition: all .3s ease;

}

.form-group textarea:focus {

    outline: none;

    border-color: #00d8ff;

    box-shadow: 0 0 10px rgba(0,216,255,.35);

}

/* ==========================
   Toast-Benachrichtigungen
========================== */

.toast {

    position: fixed;
    top: 25px;
    right: 25px;

    min-width: 320px;
    max-width: 420px;

    padding: 16px 20px;

    border-radius: 12px;

    color: #fff;
    font-size: 15px;

    box-shadow: 0 12px 30px rgba(0,0,0,.45);

    opacity: 0;
    transform: translateY(-20px);

    transition: all .3s ease;

    z-index: 9999;

}

.toast.show {

    opacity: 1;
    transform: translateY(0);

}

.toast.success {

    background: linear-gradient(135deg,#00b894,#00cec9);

}

.toast.error {

    background: linear-gradient(135deg,#d63031,#e17055);

}

.toast.warning {

    background: linear-gradient(135deg,#f39c12,#f1c40f);
}

/* ===================================
   Berechtigungen
=================================== */

.permissions-layout{

    display:grid;

    grid-template-columns:280px 1fr;

    gap:25px;

}

.permissions-sidebar{

    padding:20px;

}

.permissions-content{

    padding:20px;

}

.role-item{

    padding:12px 15px;

    border-radius:10px;

    cursor:pointer;

    margin-bottom:8px;

    transition:.25s;

}

.role-item:hover{

    background:var(--accent-color);

    color:#081015;

}

.permission-role-select{

    margin-bottom:25px;

}

.permission-role-select label{

    display:block;

    margin-bottom:10px;

    color:var(--accent-color);

    font-weight:bold;

}

.permission-role-select select{

    width:100%;

    padding:12px;

    background:#132331;

    color:#fff;

    border:1px solid var(--accent-color);

    border-radius:10px;

}

/* ===================================
   Berechtigungen
=================================== */

.permissions-card{

    padding:25px;

}

.permissions-card hr{

    border:none;

    border-top:1px solid rgba(255,255,255,.15);

    margin:25px 0;

}

.permission-footer{

    margin-top:30px;

    display:flex;

    justify-content:flex-end;

}

/* ===================================
   Berechtigungsgruppen
=================================== */

.permission-group{

    margin-bottom:15px;

    border:1px solid rgba(0,229,255,.15);

    border-radius:12px;

    overflow:hidden;

}

.permission-group summary{

    list-style:none;

    cursor:pointer;

    padding:15px 18px;

    background:#10202d;

    font-weight:bold;

    color:var(--accent-color);

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.permission-group summary::-webkit-details-marker{

    display:none;

}

.permission-list{

    padding:18px;

    background:#132331;

}

.permission-item{

    display:block;

    padding:8px 0;

    color:#ddd;

}

.permission-item input{

    margin-right:10px;

}

.permission-count{

    color:#8FDFFF;

}

/* ===================================
   Dashboard Layout
=================================== */

.dashboard-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));

    gap:25px;

    margin-top:25px;

}

.dashboard-stats{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(180px,1fr));

    gap:20px;

    margin-bottom:30px;

}

/* ===================================
   Roadrunner UI
=================================== */

.rr-panel{

    background:rgba(17,24,39,var(--card-opacity));

    backdrop-filter:blur(var(--glass-blur));
    -webkit-backdrop-filter:blur(var(--glass-blur));

    border:1px solid var(--accent-color);

    border-radius:18px;

    box-shadow:
        0 0 10px rgba(0,0,0,.15);

    transition:.25s;

}

/* ===================================
   Roadrunner Button
=================================== */

.rr-button{

    display:inline-flex;

    justify-content:center;

    align-items:center;

    gap:8px;

    min-height:48px;

    padding:0 20px;

    border-radius:10px;

    border:1px solid var(--accent-color);

    background:var(--accent-color);

    color:#081015;

    text-decoration:none;

    font-weight:600;

    cursor:pointer;

    transition:.25s;

    box-sizing:border-box;

}

.rr-button:hover{

    box-shadow:0 0 15px rgba(0,229,255,.35);

    transform:translateY(-1px);

}

.rr-panel:hover{

    box-shadow:
        0 0 20px rgba(0,0,0,.25);

}

/* ===========================
   Glocken-Animation
=========================== */

@keyframes bellShake {

    0%   { transform: rotate(0deg); }
    20%  { transform: rotate(-15deg); }
    40%  { transform: rotate(15deg); }
    60%  { transform: rotate(-10deg); }
    80%  { transform: rotate(10deg); }
    100% { transform: rotate(0deg); }

}

.bell-shake {
    animation: bellShake .8s ease;
}