/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Space Mono', serif;
}

/* BACKGROUND */
body {
    background: url('chicken.png') no-repeat center center/cover;
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
    position: relative;
}

/* OVERLAY */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 0;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 20px;

    background: rgba(10, 0, 0, 0.7);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255,0,0,0.3);

    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
}

.nav-left,
.nav-middle,
.nav-right {
    flex: 1;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-middle {
    text-align: center;
}

.nav-right {
    text-align: right;
}

.navbar h2 {
    color: #ff2e2e;
    text-shadow: 0 0 10px red;
}

/* MENU BUTTON */
#menuBtn {
    background: transparent;
    border: 1px solid rgba(255,0,0,0.5);
    color: #ff4d4d;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

/* DROPDOWN */
.dropdown {
    position: fixed;
    top: 60px;
    left: 20px;

    background: rgba(10, 0, 0, 0.9);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,0,0,0.3);
    border-radius: 10px;

    padding: 10px;
    width: 180px;

    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;

    transition: 0.25s ease;
    z-index: 999;
}

.dropdown.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* LINKS */
.dropdown a {
    display: block;
    padding: 10px;
    color: #ccc;
    text-decoration: none;
    border-radius: 6px;
}

.dropdown a:hover,
.dropdown a.active {
    background: rgba(255,0,0,0.2);
    color: #fff;
}

/* MAIN */
.main {
    padding: 100px 30px 30px;
    position: relative;
    z-index: 1;
}

/* PAGES */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* TITLE */
.page-title {
    margin-bottom: 20px;
    color: #ff3b3b;
    text-shadow: 0 0 10px red;
}

.crime-title {
    color: #ff3b3b;
    text-shadow: 0 0 10px red;
}

/* FILTER */
.filter-bar {
    margin-bottom: 20px;
}

.filter-bar button {
    margin-right: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(255,0,0,0.4);
    background: transparent;
    color: #ccc;
    border-radius: 6px;
    cursor: pointer;
}

.filter-bar button:hover,
.filter-bar .active {
    background: rgba(255,0,0,0.3);
    color: #fff;
}

/* TABLE */
.table-container {
    background: rgba(10,10,10,0.7);
    border: 1px solid rgba(255,0,0,0.3);
    border-radius: 10px;
    overflow: hidden;
}

.wolf-table {
    width: 100%;
    border-collapse: collapse;
}

.wolf-table th {
    background: linear-gradient(#2a0000, #550000);
    padding: 12px;
    color: #ff4d4d;
}

.wolf-table td {
    padding: 4px;
    border-bottom: 1px solid rgba(255,0,0,0.1);
}

.wolf-table tr:hover {
    background: rgba(255,0,0,0.1);
}

/* STATUS */
.status {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.status.active {
    background: rgba(255,0,0,0.3);
    color: #ff4d4d;
}

.status.idle {
    background: rgba(255,255,255,0.3);
    color: #aaa;
}

.status.true {
    background: rgba(0,255,0,0.3);
    color: #aaa;
}

.status.fly {
    background: rgba(74, 177, 234, 0.3)
}

/* IMPACT */
.impact {
    width: 100%;
    height: 8px;
    background: rgba(255,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.impact span {
    display: block;
    height: 100%;
    background: linear-gradient(to right, #ff0000, #ff4d4d);
}

.impact.low span { width: 30%; }
.impact.medium span { width: 60%; }
.impact.high span { width: 90%; }
.impact.none span { width: 0%; }

/* Member Display */

.namelink{
    color: white;
    text-decoration: none;
}

.ocstatus{
    text-align: center;
}

/* Input field */
.input-group{
    text-align: center;
}

.input-group input {
    width: 300px;
    padding: 6px 6px 6px 6px;
    border: 1px solid rgba(255, 0, 0, 0.6);
    border-radius: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    outline: none;
    font-size: 14px;
    text-align: center;
    box-shadow: 0 0 10px rgba(255,0,0,0.3);
}

.btn {
    width: 200px;
    padding: 12px;
    border: 1px solid #ff0000;
    background: linear-gradient(180deg, #330000, #660000);
    color: #fff;
    font-size: 18px;
    letter-spacing: 2px;
    cursor: pointer;
    border-radius: 6px;
    text-shadow: 0 0 10px red;
    box-shadow: 0 0 15px rgba(255,0,0,0.4);
    transition: all 0.3s ease;
}

#settings{
    text-align: center;
}

#error-msg{
    text-shadow: 0 0 10px red;
}

.member {
    text-decoration: none;
    color: white;
}

.member:hover{
    font-style: italic;
}

.mem_energy{
    color: greenyellow;
}

.mem_drug{
    color: lightgreen;
}

.mem_medical{
    color: lightblue;
}

.mem_booster{
    color: lightcoral;
}

#members{
    text-align: center;
}

#footnote{
    padding-top: 10px;
    width: 100%;
}

#span_left{
    margin: 0 auto;
    color: rgba(255,255,255,0.3);
}

#span_right{
    float: right;
}


