/* WordPress-like Backend Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    margin: 0;
    padding: 0;
    background: #f1f1f1;
    color: #23282d;
    font-size: 13px;
    line-height: 1.4em;
}

#wpwrap {
    height: auto;
    min-height: 100%;
}

#wpcontent {
    margin-left: 160px;
    padding: 20px;
}

#wpbody {
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0,0,0,.04);
    margin: 0;
    min-height: 500px;
}

#wpbody-content {
    padding: 20px;
}

/* Sidebar Navigation */
#adminmenumain {
    position: fixed;
    top: 0;
    left: 0;
    width: 160px;
    height: 100%;
    background: #23282d;
    z-index: 1000;
}

#adminmenu {
    margin: 0;
    padding: 0;
    list-style: none;
}

#adminmenu li {
    margin: 0;
}

#adminmenu a {
    display: block;
    padding: 8px 12px;
    color: #eee;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: all 0.2s;
}

#adminmenu a:hover, #adminmenu .current a {
    background: #007cba;
    border-left-color: #00a0d2;
    color: #fff;
}

#adminmenu .wp-submenu {
    background: #32373c;
    list-style: none;
    margin: 0;
    padding: 0;
}

#adminmenu .wp-submenu a {
    padding-left: 24px;
    font-size: 12px;
}

/* Menu Icons */
.menu-icon {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

/* Toolbar */
.toolbar {
    background: #fff;
    border-bottom: 1px solid #e1e1e1;
    padding: 10px;
    margin-bottom: 20px;
}

.toolbar button {
    background: #007cba;
    color: #fff;
    border: none;
    padding: 6px 12px;
    margin-right: 10px;
    cursor: pointer;
    border-radius: 4px;
}

.toolbar button:hover {
    background: #005a87;
}

/* User List */
.user-list {
    width: 100%;
    border-collapse: collapse;
}

.user-list th, .user-list td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #e1e1e1;
}

.user-list th, table th {
    background: rgb(132, 240, 204);
    font-weight: bold;
}

.user-list tbody tr:nth-child(even) {
    background: #f9f9f9;
}

.user-list tbody tr:nth-child(odd) {
    background: #fff;
}

.user-list tr:hover {
    background: #f1f1f1;
}

.user-list .selected {
    background: #e6f7ff;
}

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

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #007cba;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background-color: #005a87;
}

/* Messages */
.message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.error ul {
    margin: 0;
    padding-left: 20px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px;
    border-radius: 4px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: black;
}

/* Logout Menu */
.logout-menu {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: 1px solid #444;
}
