/* admin page */

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

body {
    background: #000;
    color: #00ff00;
    font-family: 'Share Tech Mono', monospace;
    min-height: 100vh;
}

/* header */

.main-header {
    background: #111;
    border-bottom: 2px solid #526d3a;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
}

.logo {
    width: 110px;
}

.header-title h1 {
    color: #00ff00;
    font-size: 2rem;

    /* softer readable glow */
    text-shadow: 0 0 4px rgba(0,255,0,.35);
}

.nav-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 16px;
    border-top: 1px solid #333;
}

.nav-bar a {
    color: #00ff00;
    text-decoration: none;
    font-size: 1rem;
    transition: .2s;
}

.nav-bar a:hover {
    color: #39ff14;

    /* reduced glow */
    text-shadow: 0 0 4px rgba(57,255,20,.35);
}

/* main */

main {
    padding: 50px 20px;
}

.admin-container {
    max-width: 1000px;
    margin: auto;
    border: 2px solid #00ff00;
    padding: 30px;
    background: #050505;

    /* softer container glow */
    box-shadow: 0 0 14px rgba(0,255,0,.12);
}

.admin-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2rem;

    /* softer readable glow */
    text-shadow: 0 0 4px rgba(0,255,0,.3);
}

/* search */

#searchInput {
    width: 100%;
    padding: 15px;
    background: #111;
    border: 1px solid #00ff00;
    color: #00ff00;
    font-family: 'Share Tech Mono', monospace;
    margin-bottom: 25px;
    outline: none;
}

#searchInput::placeholder {
    color: #777;
}

/* users */

.users-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.user-card {
    background: #0a0a0a;
    border: 1px solid #526d3a;
    padding: 18px;
    cursor: pointer;
    transition: .2s;
}

.user-card:hover {
    border-color: #00ff00;
    transform: scale(1.01);

    /* reduced hover glow */
    box-shadow: 0 0 8px rgba(0,255,0,.18);
}

.user-name {
    font-size: 1.2rem;
    color: #39ff14;
    margin-bottom: 6px;
}

.user-email {
    color: #aaa;
    font-size: .9rem;
}

/* popup */

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.popup-box {
    width: 90%;
    max-width: 500px;
    background: #080808;
    border: 2px solid #00ff00;
    padding: 30px;

    /* softer popup glow */
    box-shadow: 0 0 14px rgba(0,255,0,.18);
}

.popup-box h2 {
    margin-bottom: 20px;
    color: #39ff14;

    /* softer title glow */
    text-shadow: 0 0 3px rgba(57,255,20,.25);
}

.popup-info p {
    margin-bottom: 14px;
    line-height: 1.6;
}

.popup-buttons {
    margin-top: 25px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* buttons */

button {
    padding: 12px 18px;
    border: none;
    cursor: pointer;
    background: #00ff00;
    color: #000;
    font-family: 'Share Tech Mono', monospace;
    transition: .2s;
}

button:hover {
    transform: scale(1.04);

    /* tiny glow */
    box-shadow: 0 0 6px rgba(0,255,0,.2);
}

.close-btn {
    background: #111;
    border: 1px solid #00ff00;
    color: #00ff00;
}

/* mobile */

@media (max-width: 700px) {

    .header-top {
        flex-direction: column;
        gap: 20px;
    }

    .header-title h1 {
        text-align: center;
        font-size: 1.5rem;
    }

    .nav-bar {
        flex-wrap: wrap;
        gap: 20px;
    }

}