body {
    background-color: #1a1a1a;
    color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}
.container {
    display: flex;
    flex-direction: column;
    /* min-height: 100vh;*/
    padding: 10px 20px;
}
/* .header {
    display: flex;
    justify-content: flex-end;
    padding: 10px 20px;
    background-color: #2e2e2e;
} */

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333; 
    padding: 0 30px;
    color: #ECF0F1; /* Light text color */
    font-family: Arial, sans-serif;
    min-height: 60px;
}

/* Left side of the header */
.header-left .site-title {
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    font-size: 24px;
    font-weight: bold;
    color: #ECF0F1;
    text-decoration: none;
}

/* Right side of the header */
.header-right {
    display: flex;
    align-items: center;
}

#login-footer {
    text-align: center;
    color: #ffffff39;
    margin-top: 15px;
    font-size: 13px;

}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        filter: drop-shadow(0 0 0.75rem #ff8c00);
    }
    20%, 24%, 55% {
        filter: drop-shadow(0 0 0rem #ff8c00); /* Flicker by temporarily turning off shadow */
    }
}

@keyframes flicker-and-stay {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        filter: drop-shadow(0 0 0.75rem #ff8c00);
    }
    20%, 24%, 55% {
        filter: drop-shadow(0 0 0rem #ff8c00); /* Flicker by temporarily turning off shadow */
    }
    60%, 100% {
        filter: drop-shadow(0 0 0.75rem #ff8c00); /* Stay on after flickering */
    }
}

.login-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0;
    width: 90%;
}

.login-left img {
    max-width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 0.75rem #ff8c00);
    animation: flicker-and-stay 5s forwards; /* Apply the flicker animation */
}

.login-left {
    flex: 1;
    width: 20%;
    max-width: 20%;
}

.login-right {
    flex: 1;
    padding-left: 40px;
}

.login-right h1 {
    font-family: 'Courier New', Courier, monospace;
    color: #000;
    filter: drop-shadow(0 0 0.75rem #ff8c00);
    font-weight: 900;
    text-align: left;
    font-size: 55px;
    margin: 0px;
}
.user-info {
    margin-right: 20px;
    font-size: 13px;
}

.top-banner-c1 {
    padding: 0;
    width: 100%;
}

.top-banner-lr {
    padding-left: 15px;
}
.top-banner-lr h1 {
    font-size: 32px;

}

.top-banner-ll {
    width: 32px;
    max-width: 32px;
}

.logout-button {
    background-color: #424242; /* Red background */
    color: #FFFFFF;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.logout-button:hover {
    background-color: #C0392B; /* Darker red on hover */
}


.login-page .container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.header a {
    color: #ff8c00;
    text-decoration: none;
    font-size: 12px;
}
.content {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 20px;
}
.main {
    width: 100%;
    max-width: 800px;
}
h1 {
    text-align: center;
    color: #ff8c00;
}
label {
    display: block;
    margin-top: 15px;
    color: #cccccc;
}
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}
input[type="text"],
textarea {
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    background-color: #404040;
    border-bottom: 3px solid #555555;
    color: #fff;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    box-sizing: border-box;
}
input[type="password"] {
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    background-color: #404040;
    border-bottom: 3px solid #555555;
    color: #ffffff;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    box-sizing: border-box;
}
input[type="checkbox"] {
    margin-top: 10px;
}
textarea {
    height: 200px;
    resize: vertical;
    font-family: 'Courier New', Courier, monospace;
    font-size: 16px;
}
button {
    padding: 10px 20px;
    background-color: #ff8c00;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
}
.margin-top {
    margin-top: 20px;
}
button:hover {
    background-color: #e07b00;
}
.message {
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 4px;
}
.success {
    background-color: #4caf50;
    border: 1px solid #45a049;
    color: #ffffff;
}
.error {
    background-color: #ff4d4d;
    border: 1px solid #ff1a1a;
    color: #ffffff;
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #3a3a3a;
}
th, td {
    padding: 12px 15px;
    border: 1px solid #555555;
    text-align: left;
    color: #ffffff;
}
th {
    background-color: #2e2e2e;
}
a {
    color: #ff8c00;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.copy-command {
    cursor: pointer;
    color: #ff8c00;
}
.copy-command:hover {
    text-decoration: underline;
}
.actions {
    display: flex;
    align-items: center;
    gap: 10px;
}
.actions a, .actions button, .actions span {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    color: #ffffff;
}
.actions form {
    display: inline;
}
.actions form button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
    fill: #ffffff;
}
pre {
    background-color: #2e2e2e;
    padding: 15px;
    border-radius: 4px;
    overflow-x: auto;
    color: #ffffff;
}
select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    background-color: #404040;
    border-bottom: 3px solid #555555;
    color: #ffffff;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    box-sizing: border-box;
}
ul {
    list-style-type: none;
    padding-left: 0;
}
ul li {
    /* margin-bottom: 5px; */
}
.login-box {
    display: flex;
    width: 100%;
    max-width: 400px;
    padding: 20px;
    background-color: #2e2e2e;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.login-box p {
    font-size: 12px;
    opacity: .8;
}

.login-box form {
    width: 90%;
    padding-bottom: 30px;
}
/* Reset default browser styles for the menu */
.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; /* Makes the menu horizontal */
    border-bottom: 1px solid #2e2e2e;
    font-size: 12px;
}

.menu li {
    position: relative;
}

.menu a {
    display: flex;
    align-items: center;
    padding: 5px 20px;
    text-decoration: none;
    color: #fff;
    font-family: Arial, sans-serif;
    transition: background-color 0.3s, color 0.3s;
    box-sizing: border-box;
}

/* Icon Styling */
.menu a::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    /* Monochrome icons using inline SVGs */
}

/* 1. Existing User Scripts - Document Icon */
.menu li:nth-child(1) a::before {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23FFFFFF" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zM13 9V3.5L18.5 9H13z"/></svg>');
}

/* 2. Create User Script - Plus/Add Icon */
.menu li:nth-child(2) a::before {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23FFFFFF" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 11h-6V5h-2v6H5v2h6v6h2v-6h6v-2z"/></svg>');
}

/* 3. Group Management - Group/Users Icon */
.menu li:nth-child(3) a::before {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23FFFFFF" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5s-3 1.34-3 3 1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5z"/></svg>');
}

/* 4. User Management - User Settings Icon */
.menu li:nth-child(4) a::before {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23FFFFFF" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 12c2.7 0 5-2.3 5-5s-2.3-5-5-5-5 2.3-5 5 2.3 5 5 5zm0 2c-3.3 0-10 1.7-10 5v3h20v-3c0-3.3-6.7-5-10-5z"/></svg>');
}

/* 5. Action Log - History/Clock Icon */
.menu li:nth-child(5) a::before {
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23FFFFFF" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M13 3a9 9 0 1 0 9 9h-2a7 7 0 1 1-7-7V3zm-1 12.07V12h2v5.07l4.24 4.24-1.42 1.42L12 15.5l-3.82 3.83-1.42-1.42L11 15.07z"/></svg>');
}

.menu a:hover {
    background-color: rgba(46, 46, 46, 0.5); /* Highlight color on hover */
    color: #fff; /* Text color remains white */
    text-decoration: underline;
}
