@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');

body {
    background-color: #0c0b0e;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    display: flex;
    min-height: 100vh;  /* Ensures the body fills the entire screen */
    flex-direction: column;  /* Ensures the content below is aligned */
}
    .sidebar a.active {
        color: #19384d; /* Active icon color */
        position: relative; /* For positioning the indicator */
    }

    .sidebar a.active::after {
        content: '';
        position: absolute;
        width: 4px; /* Width of the indicator line */
        height: 100%; /* Full height of the sidebar */
        background-color: #19384d; /* Color of the indicator line */
        top: 0; /* Align to the top */
        right: 0px; /* Adjust position to the right */
    }

.sidebar {
    position: fixed; /* Keep the sidebar fixed on the screen */
    top: 0; 
    left: 0;
    width: 140px; /* Sidebar width */
    background-color: #09090b;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    height: 100%; /* Ensures it fills the entire height of the viewport */
    max-height: 100vh; /* Avoid exceeding the viewport height */
    z-index: 100; /* Keeps the sidebar on top */
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

    .sidebar a {
        text-decoration: none;
        color: white;
        margin: 10px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 60px; /* Increased button height */
        transition: color 0.3s; /* Transition for color */
        font-size: 24px; /* Increased font size */
    }

    .sidebar a:hover {
        color: #26516e; /* Change icon color on hover */
    }

    .sidebar i {
        font-size: 30px; /* Increased icon size */
        transition: color 0.3s; /* Transition for icon color */
    }

    .sidebar a:hover i {
        color: #26516e; /* Change icon color on hover */
    }

    .dashboard {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }
    

    .card {
        background-color: #09090b;
        border-radius: 10px;
        padding: 20px;
        margin: 10px;
        width: 90%;
        max-width: 600px;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    }

    .card h1, .card h2, .card p {
        font-family: Arial, sans-serif;
        margin: 0 0 10px 0;
    }

    .card h2 {
        color: #26516e;
        border-bottom: 2px solid #26516e;
        padding-bottom: 10px;
    }

    .card ul {
        list-style-type: none;
        padding: 0;
    }

    .card ul li {
        padding: 10px;
        background-color: #141414;
        margin: 5px 0;
        border-radius: 5px;
    }

    .card form {
        margin-top: 20px;
    }
    
    
/* Hall of Fame Section Styles */
.hall-of-fame {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hof-user {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.hof-profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 0%;
    object-fit: cover;
}

.hof-user-info {
    display: flex;
    flex-direction: column;
}

.hof-username {
    font-size: 1.2em;
    font-weight: bold;
}

.hof-credits {
    font-size: 1em;
    color: lime;
}

.registered-members {
    position: fixed; /* Fixes the section at a specific position */
    bottom: 0;       /* Aligns it to the bottom of the viewport */
    left: 0;         /* Aligns it to the left of the viewport */
    width: 100%;     /* Ensures it spans the full width of the page */
    background-color: #f4f4f4; /* Optional: Adds a background color */
    text-align: center; /* Centers the content horizontally */
    padding: 10px 0; /* Adds some padding for better spacing */
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); /* Optional: Adds a slight shadow for a floating effect */
    z-index: 100; /* Ensures it stays on top of other content */
}

.username-container {
    position: relative;
    display: inline-block; /* Keeps the username in line */
}

.admin-gif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Make GIF match the width of the username */
    height: 100%; /* Make GIF match the height of the username */
    object-fit: cover; /* Ensures the GIF covers the area without distortion */
    pointer-events: none; /* Allows clicking through the GIF */
}

.motd-box {
    position: absolute;
    top: 20px; /* Adjust this value for more or less spacing */
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    width: auto;
    max-width: 80%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

.online-members {
    margin-top: 20px; /* Adds space below the last card */
    background-color: transparent; /* Ensure the background is transparent */
    text-align: center;
    padding: 10px 0;
    box-shadow: none; /* Remove any shadow if it's causing a box */
}

.online-members ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center; /* Center the usernames */
    flex-wrap: wrap;
    background-color: transparent; /* Ensure the background is transparent */
}

.online-members li {
    margin: 0 10px; /* Space between usernames */
    background-color: transparent; /* Ensure list items don't have a background */
}

.online-members a {
    text-decoration: none;
    color: inherit; /* Inherit color from PHP logic */
    font-size: 16px;
    transition: color 0.3s; /* Smooth transition for hover effect */
}

.online-members a:hover {
    text-decoration: underline; /* Underline on hover */
}





.shoutbox-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.shoutbox-messages {
    max-height: 500px;
    overflow-y: auto;
    border: 1px solid #09090b;
    padding: 10px;
    background-color: #09090b;
}

.shoutbox-message {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.shoutbox-profile-pic {
    width: 30px;
    height: 30px;
    border-radius: 0%;
    object-fit: cover;
}

.shoutbox-username {
    font-weight: bold;
}

.shoutbox-text {
    font-size: 14px; /* Adjust this value as needed */
    flex-grow: 1;
    word-wrap: break-word;
}

.shoutbox-form {
    display: flex;
    gap: 10px;
}

.shoutbox-form input {
    flex-grow: 1;
    padding: 5px;
}

.shoutbox-form button {
    height: 35px;
    padding: 5px 10px;
    background-color: #19384d;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px; /* Adjusted for better visibility */
}

    /* Highlight mentioned users */
.mention {
    color: #ff6600; /* Change the color of the mention */
    font-weight: bold;
}

/* Highlight the message with mentions */
.mention-highlight {
    background-color: #753b0c; /* Light background for the entire message */
}

.delete-btn {
    padding: 0px 5px;
    background-color: #d9534f; /* Red color */
    border: none;
    border-radius: 0px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.delete-btn:hover {
    background-color: #c9302c; /* Darker red on hover */
}


    .buy-button {
        background-color: #4CAF50; /* Green background */
        color: white; /* White text */
        border: none; /* Remove border */
        padding: 8px 16px; /* Padding for size */
        border-radius: 4px; /* Rounded corners */
        cursor: pointer; /* Pointer cursor on hover */
        font-size: 14px; /* Font size */
        transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth effects */
    }

    .buy-button:hover {
        background-color: #45a049; /* Slightly darker green on hover */
        transform: scale(1.05); /* Slightly enlarge on hover */
    }

    .buy-button:active {
        background-color: #3e8e41; /* Darker green on click */
        transform: scale(0.95); /* Shrink slightly on click */
    }
    
        .emoji {
            width: 20px;
            height: 20px;
            vertical-align: middle;
        }
        
        
            .news-list {
        margin-top: 16px;
    }

    .news-item {
        margin-bottom: 16px;
        padding: 12px;
        border: 1px solid #ddd;
    }

    .news-item h3 {
        margin: 0;
        font-size: 18px;
        color: #0056b3;
    }

    .news-item .date {
        font-size: 12px;
        color: #999;
        margin: 4px 0;
    }

    .news-item p {
        margin: 8px 0;
        font-size: 14px;
        color: #ccc;
    }
    

    input[type="text"] {
        width: calc(100% - 22px);
        padding: 10px;
        border-radius: 5px;
        border: none;
        margin-bottom: 10px;
        background-color: #141414;
        color: white;
    }

    input[type="submit"] {
        padding: 10px 20px;
        background-color: #19384d;
        border: none;
        border-radius: 5px;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-size: 16px; /* Adjusted for better visibility */
    }

    input[type="submit"]:hover {
        background-color: #26516e;
    }

    .message {
        background-color: #444;
        border-radius: 5px;
        padding: 10px;
        margin: 10px 0;
        color: #26516e;
    }

    .exit-icon {
    margin-top: bottom; /* Push the exit icon to the bottom */
    margin-bottom: 20px; /* Adds space from the bottom */
    text-decoration: none;
    color: white;
    width: 100%;
    height: 60px; /* Same height as other sidebar links */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s; /* Transition for color */
}

.exit-icon:hover {
    color: #e64dd1; /* Change color on hover */
}

.exit-container {
    margin-top: auto; /* This will push the exit icon to the bottom */
    margin-bottom: 20px; /* Adds space from the bottom */
    width: 100%; /* Ensure it spans the full width */
}

.sidebar-logo {
    width: 100%; /* Adjust this to fit the sidebar width */
    height: auto; /* Keep aspect ratio */
    margin-bottom: 20px; /* Space between the image and the first link */
    border-radius: 5px; /* Optional: adds rounded corners */
}


.anime-girl-container {
    position: fixed;      /* Stays in the same spot when scrolling */
    right: 0;             /* Align to the right of the page */
    bottom: -10px;        /* Push the image down by 20px, adjust as needed */
    z-index: 1000;        /* Make sure it's above other elements */
    margin: 0;            /* Remove any default margins */
    padding: 0;
}

.anime-girl {
    max-height: 40vh;     /* Adjust size relative to the viewport height */
    object-fit: contain;  /* Ensure the image fits nicely without stretching */
}

/* For WebKit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;           /* Width of the scrollbar */
}

::-webkit-scrollbar-track {
    background: #0c0b0e;   /* Background of the scrollbar track */
    border-radius: 10px;    /* Make the track rounded */
}

::-webkit-scrollbar-thumb {
    background-color: #26516e; /* Scrollbar color (your pink accent) */
    border-radius: 10px;       /* Make the scrollbar thumb rounded */
    border: 3px solid #26516e; /* Adds a border to make it look semi-rounded */
}

/* Hover effect for the scrollbar */
::-webkit-scrollbar-thumb:hover {
    background-color: #26516e; /* A lighter pink on hover for better UX */
}

/* For Firefox */
* {
    scrollbar-width: thin;               /* Thin scrollbar */
    scrollbar-color: #26516e #0c0b0e;    /* Thumb color and track color */
}

/* For Internet Explorer/Edge (old versions) */
.scrollbar {
    scrollbar-face-color: #26516e;    /* Thumb color */
    scrollbar-track-color: #26516e;   /* Track color */
}