<br />
<b>Notice</b>:  Undefined index: version in <b>C:\xampp\htdocs\screen.php</b> on line <b>47</b><br />
@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Roboto:wght@300;400;700&display=swap');

:root {
    --primary-blue: #007bff;
    --primary-yellow: #ffcc00;
    --primary-orange: #ff6600;
    --bg-dark: #050510;
    --panel-bg: rgba(10, 15, 30, 0.85);
    --border-glow: rgba(0, 123, 255, 0.3);
    --text-main: #e0e0f0;
    --text-dim: #8090a0;
}

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

html {
    overflow-y: scroll;
}

body {
    background: var(--bg-dark) url('skins/background.png') no-repeat fixed center center;
    background-size: cover;
    font-family: 'Roboto', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
}

a {
    color: var(--primary-yellow);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #fff;
    text-shadow: 0 0 10px var(--primary-blue);
}

/* Layout */
#container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    grid-template-areas: 
        "header header"
        "left-panel main"
        "footer footer";
    gap: 20px;
}

/* AJAX IOBox */
#iobox {
    z-index: 9999;
    position: fixed;
    background: var(--panel-bg);
    backdrop-filter: blur(15px);
    border: 2px solid var(--primary-yellow);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 0 50px rgba(0,0,0,0.8), 0 0 20px var(--primary-blue);
    min-width: 450px;
    color: #fff;
}

#iobox fieldset {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px;
    border-radius: 8px;
    background: rgba(0,0,0,0.4);
}

#iobox legend {
    font-family: 'Bangers', cursive;
    font-size: 1.4rem;
    color: var(--primary-yellow);
    padding: 0 15px;
    text-shadow: 1px 1px 2px #000;
}

#header {
    grid-area: header;
    height: 380px;
    background: url('skins/logo.png') no-repeat center center;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border: 2px solid var(--primary-blue);
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 123, 255, 0.4);
    overflow: hidden;
    animation: kiPulse 4s infinite ease-in-out;
}

#server_name {
    display: none;
}

/* Panels */
#panel, #panel2, #content {
    min-width: 0; /* Prevents grid break */
}

#panel, #panel2 {
    background: var(--panel-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

#panel { grid-area: left-panel; }
#panel2 { grid-area: right-panel; }

.top {
    font-family: 'Bangers', cursive;
    font-size: 1.5rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 2px solid var(--primary-blue);
    margin-bottom: 15px;
    padding-bottom: 5px;
    text-align: center;
    text-shadow: 1px 1px 0px #000;
}

/* Buttons / Links */
#panel a, #panel2 a {
    display: block;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border-left: 3px solid transparent;
    font-weight: 500;
}

#panel a:hover, #panel2 a:hover {
    background: linear-gradient(90deg, rgba(0, 123, 255, 0.2), transparent);
    border-left: 3px solid var(--primary-blue);
    padding-left: 20px;
    color: #fff;
}

/* Account Task Menu Fix */
.task-menu {
    list-style: none;
    margin: 10px 0;
}

.task-menu li {
    cursor: pointer;
    padding: 12px 15px 12px 45px;
    background-color: rgba(255, 255, 255, 0.05);
    background-repeat: no-repeat;
    background-position: 10px center;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    color: var(--text-main);
    font-weight: 500;
}

.task-menu li:hover {
    background-color: var(--primary-yellow);
    color: #000;
    border: 1px solid var(--primary-orange);
    transform: translateX(5px);
}

/* Content Area */
#content {
    grid-area: main;
    background: var(--panel-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-glow);
    border-radius: 12px;
    padding: 25px;
    min-height: 600px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.7);
}

#content h2, #content h3 {
    font-family: 'Bangers', cursive;
    font-size: 2.2rem;
    color: var(--primary-yellow);
    margin-bottom: 20px;
    text-shadow: 2px 2px 0px #000;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
}

.color0 { background: rgba(255,255,255,0.05); }
.color1 { background: rgba(255,255,255,0.02); }
.color2 { background: rgba(255,255,255,0.05); }

tr:hover {
    background: rgba(0, 123, 255, 0.15);
}

/* Forms */
input[type="text"], input[type="password"], select {
    background: rgba(0,0,0,0.6);
    border: 1px solid var(--primary-blue);
    border-radius: 4px;
    color: #fff;
    padding: 8px 12px;
    margin: 5px 0;
}

input[type="submit"], button, .button, .btn, .btn-submit, .btn-cancel {
    background: linear-gradient(135deg, var(--primary-yellow), #e6b800);
    border: none;
    border-radius: 6px;
    color: #000;
    padding: 10px 20px;
    font-family: 'Bangers', cursive;
    font-size: 1.2rem;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.3);
    margin: 5px; /* Adds spacing between buttons */
}

input[type="submit"]:hover, button:hover, .btn:hover, .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.5);
    color: #fff;
    background: linear-gradient(135deg, var(--primary-blue), #0056b3);
}

.btn-cancel {
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    color: #fff;
    box-shadow: 0 4px 15px rgba(204, 0, 0, 0.3);
}

.btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(204, 0, 0, 0.5);
    background: linear-gradient(135deg, #ff6666, #e60000);
    color: #fff;
}

/* Footer */
#footer {
    grid-area: footer;
    text-align: center;
    padding: 40px;
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-yellow);
}

/* Character/Account specific */
#account-image {
    display: block;
    background: url('skins/beastie.png') no-repeat center center;
    background-size: contain;
    width: 250px;
    height: 350px;
    float: right;
    margin: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.2));
}

#error {
    background: rgba(100, 0, 0, 0.8);
    border: 2px solid #f00;
    border-radius: 8px;
    color: #fff;
    padding: 15px;
    margin: 20px 0;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    cursor: pointer;
}

.percent_bar {
    background: var(--primary-blue);
    height: 10px;
    border-radius: 5px;
    box-shadow: 0 0 5px var(--primary-blue);
}

/* Animations */
@keyframes kiPulse {
    0% { box-shadow: 0 0 5px var(--primary-blue); }
    50% { box-shadow: 0 0 20px var(--primary-blue); }
    100% { box-shadow: 0 0 5px var(--primary-blue); }
}

#header {
    animation: kiPulse 4s infinite ease-in-out;
}

/* Server Status Card */
.status-card {
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-glow);
}

.status-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px rgba(0,0,0,0.5);
}

.status-dot.online {
    background: #00ff00;
    box-shadow: 0 0 10px #00ff00;
    animation: pulse-green 2s infinite;
}

.status-dot.offline {
    background: #ff0000;
    box-shadow: 0 0 10px #ff0000;
}

.status-label {
    color: var(--text-dim);
}

.status-value {
    color: var(--primary-yellow);
    font-weight: bold;
    font-family: 'Bangers', cursive;
    font-size: 1.1rem;
}

@keyframes pulse-green {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}
