/* Dexter Morgan Vibe UI/UX */

/* Fonts and Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400;700&family=Roboto:wght@300;400;700&display=swap');

:root {
    --dexter-red: #8A0707;
    --dexter-dark: #0a0a0a;
    --dexter-mid: #1a1a1a;
    --dexter-light: #f5f5f5;
    --dexter-grey: #888;
    --dexter-blue: #0c5f7a; /* Clinical blue accent */
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dexter-dark);
    background-image: 
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
    color: var(--dexter-light);
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 700px;
    background: rgba(5, 5, 5, 0.9);
    border: 1px solid #222;
    padding: 30px;
    border-radius: 2px; /* Sharp corners */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    text-align: center;
    backdrop-filter: blur(8px);
    margin-top: 20px;
    margin-bottom: 20px;
}

h1, h2 {
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    color: var(--dexter-red);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(138, 7, 7, 0.7);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

h2::before {
    content: '■';
    margin-right: 15px;
    font-size: 0.8em;
    color: var(--dexter-blue);
}

p {
    font-weight: 300;
    line-height: 1.8;
}

/* Header */
.main-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #222;
    margin-bottom: 30px;
}

.logo-container {
    margin-bottom: 20px;
    filter: grayscale(50%) contrast(150%);
}

.logo-container img {
    max-width: 100%;
    height: auto;
    max-height: 70px;
}

.intro-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.1em;
    font-style: italic;
    color: var(--dexter-grey);
    margin-bottom: 25px;
}

/* News Section - "Case Files" */
.news {
    margin-top: 30px;
    text-align: left;
    border-top: 1px solid #222;
    padding-top: 10px;
}

.news article {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid #222;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.news article::after {
    content: '';
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background-image: radial-gradient(circle, var(--dexter-red) 20%, transparent 70%);
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
}

.news h3 {
    font-family: 'Roboto Mono', monospace;
    color: var(--dexter-light);
    margin-top: 0;
    border-bottom: 1px solid var(--dexter-red);
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    border-top: 1px solid #222;
    padding-top: 10px;
}

.read-more {
    font-family: 'Roboto Mono', monospace;
    color: var(--dexter-blue);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.read-more:hover {
    color: var(--dexter-red);
}

.read-more i {
    margin-left: 5px;
}

/* Full News Article Styles */
.full-news h1 {
    text-align: left;
}

.news-date {
    display: block;
    text-align: left;
    color: var(--dexter-grey);
    margin-bottom: 20px;
    font-style: italic;
}

.news-content {
    text-align: left;
    line-height: 1.8;
    font-size: 1.1em;
}


/* Buttons - "Tools" */
.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.button, input[type="submit"] {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--dexter-light);
    border: 1px solid var(--dexter-blue);
    border-radius: 2px;
    text-decoration: none;
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.1s ease-in-out;
    text-align: center;
}

.button:hover, input[type="submit"]:hover {
    background-color: var(--dexter-red);
    color: var(--dexter-light);
    border-color: var(--dexter-red);
    box-shadow: 0 0 15px rgba(138, 7, 7, 0.7);
}

.button.button-secondary {
    border-color: #444;
    color: var(--dexter-grey);
}

.button.button-secondary:hover {
    background-color: #444;
    color: var(--dexter-light);
    border-color: #444;
    box-shadow: 0 0 10px rgba(150, 150, 150, 0.5);
}

.button.disabled {
    background-color: #2a2a2a;
    border-color: #222;
    color: #555;
    cursor: not-allowed;
}

.button.disabled:hover {
    background-color: #2a2a2a;
    border-color: #222;
    color: #555;
    box-shadow: none;
}

/* Forms - "Analysis Input" */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--dexter-grey);
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
}

input[type="text"], input[type="password"], textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #333;
    background-color: var(--dexter-dark);
    color: var(--dexter-light);
    border-radius: 2px;
    font-size: 16px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
    outline: none;
    border-color: var(--dexter-red);
    box-shadow: 0 0 10px rgba(138, 7, 7, 0.5);
}

/* HUD Stats Display */
.stats-container {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222;
}

.hud-display {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: rgba(12, 95, 122, 0.1); /* Faint blue background */
    border: 1px solid var(--dexter-blue);
    border-radius: 2px;
    padding: 10px;
    font-family: 'Roboto Mono', monospace;
}

.hud-item {
    text-align: center;
    padding: 10px;
    position: relative;
}

.hud-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    bottom: 15%;
    width: 1px;
    background-color: rgba(12, 95, 122, 0.5);
}

.hud-value {
    display: block;
    font-size: 1.2em; /* Smaller font size for all values */
    color: var(--dexter-grey);
    font-weight: 700;
}

.hud-display .hud-item:last-child .hud-value {
    font-size: 1.2em; /* Keep it consistent */
}

.hud-display .hud-item .hud-value.pulsing-value {
    font-size: 2em; /* Make online value bigger */
    color: var(--dexter-red);
}

.hud-value {
    display: block;
    font-size: 1.2em;
    color: var(--dexter-light);
    font-weight: 700;
}

.hud-label {
    display: block;
    font-size: 0.8em;
    color: var(--dexter-grey);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pulsing-value {
    color: var(--dexter-red);
    animation: pulse 1.5s infinite;
}

.pulsing-value {
    color: var(--dexter-red);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); text-shadow: 0 0 5px rgba(138, 7, 7, 0.5); }
    50% { transform: scale(1.05); text-shadow: 0 0 15px rgba(138, 7, 7, 1); }
    100% { transform: scale(1); text-shadow: 0 0 5px rgba(138, 7, 7, 0.5); }
}

/* Responsive HUD */
@media (max-width: 768px) {
    .hud-display {
        grid-template-columns: 1fr;
        padding: 0;
        background: none;
        border: none;
    }
    .hud-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0;
        border-bottom: 1px solid #222;
    }
    .hud-item:not(:last-child)::after {
        display: none;
    }
    .hud-value {
        font-size: 1.2em;
    }
}



/* Messenger-like Guest Book */
.messenger-view {
    background-color: #050505;
    border: 1px solid #222;
    border-radius: 4px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-row {
    display: flex;
    max-width: 80%;
}

.message-content {
    padding: 12px 18px;
    border-radius: 18px;
    line-height: 1.5;
}

.message-header {
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #bbb;
}

.message-header strong {
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
}

.message-header small {
    font-size: 0.8em;
    color: #888;
    margin-left: 10px;
}

/* User message alignment */
.user-message {
    align-self: flex-start;
}

.user-message .message-content {
    background-color: #2a2a2a;
    color: #f5f5f5;
    border-bottom-left-radius: 4px;
}

/* Admin message alignment */
.admin-message {
    align-self: flex-end;
}

.admin-message .message-content {
    background-color: var(--dexter-blue);
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.admin-message .message-header strong {
    color: #fff;
}

.no-entries {
    text-align: center;
    color: #888;
    padding: 20px;
    font-family: 'Roboto Mono', monospace;
}

/* Site Footer */
.site-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 0.9em;
    color: var(--dexter-grey);
    font-family: 'Roboto Mono', monospace;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.site-footer a {
    color: var(--dexter-blue);
    text-decoration: none;
    font-weight: bold;
}

.site-footer a:hover {
    text-decoration: underline;
    color: var(--dexter-red);
}

.mobile-nav {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .content-wrapper {
        padding-bottom: 70px; /* Height of the mobile nav bar */
    }
    body {
        padding: 0; /* Remove body padding for full-screen layout */
        font-size: 14px;
    }
    .container {
        width: 100%;
        min-height: 100vh;
        margin: 0;
        padding: 15px; /* Remove bottom padding from here */
        border-radius: 0; /* No rounded corners on full screen */
        border: none; /* No border on full screen */
        box-sizing: border-box;
        backdrop-filter: none;
        box-shadow: none;
    }
    h1, h2 {
        font-size: 1.4em;
        letter-spacing: 2px;
        text-shadow: none;
    }
    .news h3 {
        font-size: 1.2em;
    }
    .main-header .button-group {
        display: none;
    }
    .message-row {
        max-width: 95%;
    }

    /* Stats Section Mobile - List View */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stat-item {
        display: flex;
        align-items: center;
        text-align: left;
        padding: 10px 0;
        background-color: transparent;
        border: none;
    }

    .stat-item i {
        font-size: 1.6em;
        margin-right: 15px;
        margin-bottom: 0;
    }

    .stat-value {
        font-size: 1.4em;
    }

.stat-label {
        margin-top: 0;
    }

    /* Make last stat item smaller on mobile */
    .stats-grid .stat-item:last-child i {
        font-size: 1.4em;
    }
    .stats-grid .stat-item:last-child .stat-value {
        font-size: 1.1em;
    }

    .site-footer {
        display: none; /* Hide footer on mobile */
    }

    .site-footer {
        display: none;
    }

    /* Mobile Navigation Bar */
    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: var(--dexter-dark);
        border-top: 1px solid #222;
        box-shadow: 0 -5px 15px rgba(0,0,0,0.5);
        z-index: 1100;
    }

    .mobile-nav-link {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10px 5px;
        color: var(--dexter-grey);
        text-decoration: none;
        font-size: 11px;
        transition: color 0.2s ease;
    }

    .mobile-nav-link i {
        font-size: 18px;
        margin-bottom: 4px;
    }

    .mobile-nav-link:hover,
    .mobile-nav-link.active {
        color: var(--dexter-light);
        background-color: var(--dexter-red);
    }
}


.container {
    width: 100%;
    max-width: 700px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid #8A0707;
    padding: 30px;
    border-radius: 4px;
    box-shadow: 0 0 25px rgba(138, 7, 7, 0.5);
    text-align: center;
    backdrop-filter: blur(5px);
    margin-top: 20px;
    margin-bottom: 20px;
}

h1, h2 {
    font-weight: 700;
    color: #8A0707;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 8px rgba(255, 0, 0, 0.6);
    margin-bottom: 25px;
}

p {
    font-weight: 300;
    line-height: 1.7;
}

.story {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px;
    margin-bottom: 25px;
    border-left: 3px solid #8A0707;
    text-align: left;
    font-size: 1.1em;
}

.news {
    margin-top: 30px;
    text-align: left;
    border-top: 1px solid #333;
    padding-top: 10px;
}

.news article {
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid #333;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.news h3 {
    color: #f5f5f5;
    margin-top: 0;
    border-bottom: 1px solid #8A0707;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.news small {
    color: #888;
    font-style: italic;
}

/* Buttons */
.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.button, input[type="submit"] {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: #f5f5f5;
    border: 1px solid #8A0707;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.button:hover, input[type="submit"]:hover {
    background-color: #8A0707;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(138, 7, 7, 0.7);
}

.button.button-secondary {
    border-color: #555;
    color: #aaa;
}

.button.button-secondary:hover {
    background-color: #555;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(150, 150, 150, 0.5);
}

.button.disabled {
    background-color: #4a4a4a;
    border-color: #333;
    color: #888;
    cursor: not-allowed;
}

.button.disabled:hover {
    background-color: #4a4a4a;
    border-color: #333;
    color: #888;
    box-shadow: none;
}

/* Forms */
.form-group {
    margin-bottom: 15px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #ccc;
    font-weight: 700;
}

input[type="text"], input[type="password"], textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    background-color: #1a1a1a;
    color: #f5f5f5;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
    outline: none;
    border-color: #8A0707;
    box-shadow: 0 0 10px rgba(138, 7, 7, 0.5);
}

.errors, .success {
    border: 1px solid;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: left;
}

.errors {
    background-color: rgba(138, 7, 7, 0.3);
    border-color: #8A0707;
}

.success {
    background-color: rgba(7, 138, 7, 0.3);
    border-color: #078a07;
}

/* Guest Book Styles */
.guest-book {
    margin-top: 30px;
    text-align: left;
}

.guest-book-form {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #333;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
}

.guest-book-form .button {
    width: auto;
    margin-top: 10px;
    align-self: flex-end;
}

.char-counter {
    text-align: right;
    font-size: 0.8em;
    color: #888;
    margin-top: 5px;
}


/* Messenger-like Guest Book */
.messenger-view {
    background-color: #0e0e0e;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-row {
    display: flex;
    max-width: 80%;
}

.message-content {
    padding: 12px 18px;
    border-radius: 18px;
    line-height: 1.5;
}

.message-header {
    margin-bottom: 5px;
    font-size: 0.9em;
    color: #bbb;
}

.message-header strong {
    font-weight: 700;
}

.message-header small {
    font-size: 0.8em;
    color: #888;
    margin-left: 10px;
}

/* User message alignment */
.user-message {
    align-self: flex-start;
}

.user-message .message-content {
    background-color: #2a2a2a;
    color: #f5f5f5;
    border-bottom-left-radius: 4px;
}

/* Admin message alignment */
.admin-message {
    align-self: flex-end;
}

.admin-message .message-content {
    background-color: #8A0707;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.admin-message .message-header strong {
    color: #fff;
}

.no-entries {
    text-align: center;
    color: #888;
    padding: 20px;
}




/* Auth Form Styles */
.auth-form {
    margin-top: 20px;
}

.form-footer {
    margin-top: 30px;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.form-footer p {
    margin-bottom: 15px;
}

.form-footer a {
    color: #8A0707;
    font-weight: bold;
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* Character Selection */
.character-selection {
    margin-top: 30px;
}

.character-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.character-card {
    display: block;
    background: var(--dexter-dark);
    border: 1px solid #222;
    border-radius: 2px;
    padding: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.character-card input[type="radio"] {
    display: none; /* Hide the actual radio button */
}

.character-card .card-content i {
    font-size: 2.5em;
    color: var(--dexter-blue);
    margin-bottom: 10px;
    transition: color 0.2s ease;
}

.character-card .card-content strong {
    display: block;
    font-family: 'Roboto Mono', monospace;
    margin-bottom: 5px;
}

.character-card .card-content p {
    font-size: 0.9em;
    color: var(--dexter-grey);
    line-height: 1.4;
}

.character-card:hover {
    border-color: var(--dexter-blue);
}

.character-card input[type="radio"]:checked + .card-content {
    border-color: var(--dexter-red);
    box-shadow: 0 0 15px rgba(138, 7, 7, 0.5);
}

.character-card input[type="radio"]:checked + .card-content i {
    color: var(--dexter-red);
}


/* Admin Panel Styles */
.admin-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 20px auto;
    background: #1a1a1a;
    min-height: calc(100vh - 40px);
    border-radius: 4px;
    border: 1px solid #333;
}

.admin-sidebar {
    width: 240px;
    background: #111;
    padding: 20px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #333;
}

.admin-sidebar h3 {
    color: #8A0707;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 30px;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-nav a {
    color: #f5f5f5;
    text-decoration: none;
    padding: 12px 15px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.admin-nav a:hover {
    background-color: #2a2a2a;
}

.admin-nav a.active {
    background-color: #8A0707;
    color: #fff;
    font-weight: bold;
}

.admin-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-content {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

.admin-content h1 {
    border-bottom: 1px solid #444;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

.admin-section {
    background: rgba(0,0,0,0.2);
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #333;
    margin-bottom: 30px;
}

.admin-section h2 {
    margin-top: 0;
    color: #f5f5f5;
    border-bottom: 1px solid #8A0707;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.admin-form .form-group {
    margin-bottom: 20px;
}

.admin-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #2a2a2a;
    padding: 10px 15px;
    border-radius: 4px;
}

.button-delete {
    background: transparent;
    border: 1px solid #8A0707;
    color: #8A0707;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button-delete:hover {
    background: #8A0707;
    color: #fff;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #2a2a2a;
    border-radius: 4px;
}

.setting-item strong {
    color: #8A0707;
}

.guest-message {
    border: 1px solid #444;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.guest-message .message-text {
    background: #111;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
    font-style: italic;
}

.admin-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.guest-message.answered {
    background-color: rgba(0,0,0,0.1);
}

.admin-reply-text {
    border-top: 1px solid #444;
    margin-top: 15px;
    padding-top: 15px;
    color: #ccc;
}


.dashboard-stat {
    background: #8A0707;
    color: #fff;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    max-width: 300px;
}

.dashboard-stat h2 {
    font-size: 4em;
    margin: 0;
    color: #fff;
    border: none;
}

.dashboard-stat p {
    margin: 0;
    font-size: 1.2em;
}

.choices {
    margin-top: 20px;
}

.choices .button {
    margin-bottom: 10px;
}

.admin-nav .nav-text {
    margin-left: 10px;
}

.admin-content h1 i,
.admin-sidebar h3 i {
    margin-right: 10px;
}

.button i {
    margin-right: 8px;
}

.button-delete i {
    margin: 0;
}

.avatar i {
    font-size: 24px;
}


@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    .container {
        padding: 20px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    h1 {
        font-size: 1.8em;
    }
    .button-group {
        flex-direction: column;
    }
    .button, input[type="submit"] {
        width: 100%;
        box-sizing: border-box;
    }

    /* Admin Panel Mobile Styles */
    .admin-container {
        flex-direction: column;
        margin: 0;
        padding: 0;
        border: none;
        min-height: 100vh;
        padding-bottom: 70px; /* Atitraukimas apačioje dėl fiksuotos navigacijos */
    }

    .admin-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 70px;
        background: #111;
        border-top: 1px solid #333;
        z-index: 1000;
        display: flex;
        align-items: center;
        padding: 0;
        border-right: none;
    }

    .admin-sidebar h3, .admin-footer, .admin-nav .nav-text {
        display: none; /* Paslepiame tekstą mob. versijoje */
    }

    .admin-nav {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        width: 100%;
        gap: 5px;
    }

    .admin-nav a {
        flex: 1;
        text-align: center;
        padding: 15px 5px;
        font-size: 18px; /* Padidiname piktogramas */
        border-radius: 0;
    }
    
    .admin-nav a i {
        margin: 0;
    }
    
    .admin-nav a.active {
        background-color: #8A0707;
    }

    .admin-content {
        width: 100%;
        box-sizing: border-box;
        padding: 20px;
    }
}

/* Statistics Block */
.stats-container {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    text-align: center;
}

.stat-item {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border: 1px solid #333;
    border-radius: 4px;
}

.stat-item i {
    font-size: 2.5em;
    color: #8A0707;
    margin-bottom: 10px;
}

.stat-value {
    display: block;
    font-size: 1.8em;
    font-weight: bold;
    color: #f5f5f5;
}

.stat-label {
    display: block;
    font-size: 0.9em;
    color: #888;
    margin-top: 5px;
}

/* Site Footer */
.site-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    text-align: center;
    font-size: 0.9em;
    color: #888;
}

.site-footer p {
    margin: 0;
    padding: 0;
}

.site-footer a {
    color: #8A0707;
    text-decoration: none;
    font-weight: bold;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Header and Navigation */
.site-header {
    background: rgba(10, 10, 10, 0.85);
    border-bottom: 1px solid #8A0707;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

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

.logo-container img {
    max-height: 40px;
    height: auto;
}

.main-nav {
    display: flex;
    gap: 15px;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #f5f5f5;
    font-size: 24px;
    cursor: pointer;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Intro Section */
.intro {
    text-align: center;
    margin: 30px 0;
}

.intro p {
    font-size: 1.2em;
    font-style: italic;
    color: #ccc;
}

/* Header */
.main-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 1px solid #333;
    margin-bottom: 30px;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-container img {
    max-width: 100%;
    height: auto;
    max-height: 80px; /* Adjust as needed */
}

.intro-text {
    font-size: 1.1em;
    font-style: italic;
    color: #ccc;
    margin-bottom: 25px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
    }

    .button, input[type="submit"] {
        width: 100%;
        box-sizing: border-box;
    }
}



/* Page Intro Header Style */
.page-intro {
    border: none;
    background: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-intro p {
    font-size: 0.9em;
    font-style: italic;
    color: #888;
    line-height: 1.6;
    text-align: center;
}






