@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

* {
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body {
    height:100vh;
    background: radial-gradient(circle at 30% 20%, #0a0f1c, #0b0f19 80%);
    font-family:'Poppins', sans-serif;
    display:flex;
    justify-content:center;
    align-items:flex-start;
    color:#e2e8f0;
    overflow-y:auto;
    padding:20px;
}

.bg-glow {
    position:absolute;
    width:400px; height:400px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    filter: blur(120px); opacity:0.25;
    top: 10%; left:15%;
    animation: float 10s ease-in-out infinite alternate;
    z-index:-1;
}
.bg-glow:nth-child(2) {
    background: radial-gradient(circle, #8b5cf6 0%, transparent 70%);
    top:auto; bottom:10%; right:20%; left:auto;
    animation-delay: 3s;
}
@keyframes float {
    0% {transform:translate(0,0);}
    100% {transform:translate(40px,30px);}
}

.window, .dashboard-fullscreen {
    display:flex;
    flex-direction:column;
    width:90%; max-width:1000px;
    border-radius:16px;
    overflow:hidden;
    border:1px solid rgba(99,102,241,0.25);
    box-shadow:0 0 40px rgba(99,102,241,0.15);
    background:rgba(17,24,39,0.9);
    padding:30px;
    gap: 20px;
    backdrop-filter: blur(8px);
}

.titlebar {
    display:flex;
    align-items:center;
    justify-content:flex-start;
    height:42px;
    background:#111827;
    padding:0 14px;
    border-radius:10px;
    margin-bottom:20px;
    box-shadow:inset 0 0 8px rgba(99,102,241,0.15);
}
.dot {
    width:14px; height:14px; border-radius:50%; margin-right:8px;
    box-shadow:0 2px 6px rgba(0,0,0,0.5);
    transition: transform 0.2s, box-shadow 0.2s;
}
.dot.red { background:#ef4444; }
.dot.yellow { background:#facc15; }
.dot.green { background:#22c55e; }
.dot:hover { transform:scale(1.2); box-shadow:0 0 8px #fff; cursor:pointer; }
.filename { color:#a1a1aa; font-size:0.9rem; margin-left:auto; margin-right:10px; }

form {
    display:flex;
    flex-direction:column;
    gap:15px;
}
input, textarea {
    padding:12px;
    border-radius:10px;
    border:1px solid rgba(99,102,241,0.3);
    background:#0f172a;
    color:#e2e8f0;
    font-family:'Poppins', sans-serif;
    font-size:0.95rem;
    transition:0.3s;
}
input:focus, textarea:focus {
    border-color:#6366f1;
    box-shadow:0 0 12px rgba(99,102,241,0.4);
    outline:none;
}

button, .button {
    padding:12px 20px;
    border:none;
    border-radius:10px;
    background:linear-gradient(90deg,#3b82f6,#6366f1);
    color:white;
    cursor:pointer;
    transition:0.3s;
    text-align:center;
    font-size:1rem;
    font-weight:500;
}
button:hover, .button:hover {
    transform: scale(1.02);
    box-shadow:0 0 20px rgba(99,102,241,0.5);
}

.section {
    display:block;
    margin-top:15px;
    background:rgba(15,23,42,0.9);
    padding:20px;
    border-radius:10px;
    border:1px solid rgba(99,102,241,0.3);
    box-shadow:0 0 20px rgba(99,102,241,0.08);
}
h3 {
    margin-bottom:10px;
    font-weight:500;
    color:#c7d2fe;
}

.order-list { border-radius:10px; overflow:hidden; border:1px solid rgba(99,102,241,0.25); }
.order-item {
    padding:12px 15px;
    border-bottom:1px solid rgba(99,102,241,0.25);
    cursor:pointer;
    transition:0.2s;
}
.order-item:hover { background:rgba(37, 41, 63, 0.9); }
.order-content {
    display:none;
    padding:15px;
    background:#0f172a;
    white-space:pre-wrap;
    border-top:1px solid rgba(99,102,241,0.25);
}
.order-item.active .order-content { display:block; }

.log-section {
    max-height:300px;
    overflow:auto;
    padding:10px;
    border-radius:10px;
    background:#0f172a;
    border:1px solid rgba(99,102,241,0.3);
    font-family:'Poppins', sans-serif;
    font-size:0.9rem;
    color:#60a5fa;
}

.role-form input,
.role-form select {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border:1px solid rgba(99,102,241,0.3);
    background:#0f172a;
    color:#e2e8f0;
    font-family:'Poppins', sans-serif;
    margin-bottom:10px;
}

.custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #0f172a url("data:image/svg+xml;utf8,<svg fill='%23e2e8f0' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>") no-repeat right 12px center;
    background-size: 16px;
    cursor: pointer;
}

.role-form select:focus {
    border-color:#6366f1;
    box-shadow: 0 0 10px rgba(99,102,241,0.4);
    outline: none;
}

.role-form .button {
    width: 100%;
    padding:12px;
    border:none;
    border-radius:10px;
    background:linear-gradient(90deg,#3b82f6,#6366f1);
    color:white;
    cursor:pointer;
    transition:0.3s;
}
.role-form .button:hover {
    transform: scale(1.02);
    box-shadow:0 0 20px rgba(99,102,241,0.5);
}

.error {
    color:#f87171;
    text-align:center;
    margin-top:8px;
    font-weight:500;
}

a {
    color:#60a5fa;
    text-decoration:none;
    transition:0.2s;
}
a:hover {
    text-decoration:underline;
    color:#93c5fd;
}
