/* css/style.css */

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: radial-gradient(circle at center, #0b0f1a 0%, #02040a 100%);
    color: #e5e7eb;
    overflow-x: hidden;
}

/* 🌌 Background stars */
body::before {
    content: "";
    position: fixed;
    width: 200%;
    height: 200%;
    background: url("https://www.transparenttextures.com/patterns/stardust.png");
    animation: moveStars 60s linear infinite;
    z-index: -1;
    opacity: 0.3;
}

@keyframes moveStars {
    from { transform: translate(0,0); }
    to { transform: translate(-500px,-500px); }
}

/* 🔥 NAVBAR */
.navbar {
    background: rgba(10, 15, 25, 0.9);
    padding: 15px 30px;
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #1f2937;
    backdrop-filter: blur(10px);
}

.navbar a {
    color: #6b7280;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    transition: 0.3s;
}

.navbar a:hover {
    color: #60a5fa;
}

.navbar a.active {
    color: #60a5fa;
}

.navbar a.active::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
}

/* 📦 CONTENT */
.container {
    padding: 40px;
    max-width: 900px;
    margin: auto;
    transition: opacity 0.3s ease;
}

/* 🧊 PANEL STYLE */
.container > * {
    background: rgba(17, 24, 39, 0.8);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid #1f2937;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}

/* 🟦 TITLES */
h1 {
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

/* 🔘 BUTTON STYLE (pentru viitor) */
button {
    background: #1f2937;
    color: #fff;
    border: 1px solid #3b82f6;
    padding: 10px 20px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
}

/* ✨ FADE */
.fade {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.admin-link {
    margin-left: auto;
    color: #374151;
    font-size: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.admin-link:hover {
    color: #3b82f6;
    transform: scale(1.5);
}
/* 🔐 ADMIN STEALTH BUTTON */
.admin-link {
    margin-left: auto; /* împinge în dreapta */
    color: #111827;
    font-size: 12px;
    text-decoration: none;
    transition: 0.3s;
    opacity: 0.4;
}

.admin-link:hover {
    color: #3b82f6;
    transform: scale(1.6);
    opacity: 1;
    text-shadow: 0 0 10px #3b82f6;
}
.admin-link {
    color: transparent;
}
.admin-link:hover {
    color: #3b82f6;
}
/* 🔐 LOGIN BOX */

.login-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 300px;
}

.login-box input {
    padding: 10px;
    background: #020617;
    border: 1px solid #1f2937;
    color: #fff;
    outline: none;
    transition: 0.3s;
}

.login-box input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 10px #3b82f6;
}
.login-box input::placeholder {
    color: #374151;
}