body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f1f1f1;
}
.admin-bar {
    background: #23282d;
    color: #fff;
    padding: 10px;
    text-align: right;
}
.wp-admin {
    display: flex;
}
.sidebar {
    width: 200px;
    background: #23282d;
    color: #fff;
    padding-top: 10px;
    height: 100vh;
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar ul li {
    padding: 10px 20px;
    cursor: pointer;
}
.sidebar ul li.active, .sidebar ul li:hover {
    background-color: #0073aa;
}
.main-area {
    flex-grow: 1;
    padding: 20px;
}
header nav {
    margin-top: 10px;
}
header nav button {
    margin-right: 10px;
    padding: 6px 12px;
    cursor: pointer;
}
.plugin-tab {
    display: none;
    margin-top: 20px;
}
.plugin-tab.active {
    display: block;
}

.admin-bar {
    background: #23282d;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-bar .site-name {
    font-weight: bold;
    padding-left: 10px;
}

.admin-bar .howdy {
    padding-right: 10px;
}

.wrap {
    background: #fff;
    padding: 30px;
    margin: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 5px;
}

.form-group input[type="text"] {
    width: 100%;
    max-width: 800px;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.email-rule {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.email-rule input[type="text"] {
    flex: 1;
}

.btn {
    background: #0073aa;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 5px;
}

.btn:hover {
    background: #006799;
}

.btn-remove {
    background: #dc3232;
}

.btn-remove:hover {
    background: #a00;
}

.btn-deactivate {
    background: #0073aa;
    padding: 8px 16px;
    margin-left: 10px;
}

.btn-add {
    background: #46b450;
    margin-top: 5px;
}

.btn-add:hover {
    background: #398e3d;
}

.btn-save {
    background: #0085ba;
}

.btn-save:hover {
    background: #0073aa;
}

.toggles label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 30px;
    font-weight: bold;
    margin-top: 10px;
    cursor: pointer;
}

/* Toggle Switch (reused from previous) */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
    vertical-align: middle;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 24px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .4s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #46b450;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}

/* License field */
.license {
    display: flex;
    align-items: center;
    gap: 10px;
}

.license input[type="text"] {
    flex: 1;
}

/* Demo note */
.outdated-demo-wrapper {
    margin-top: 40px;
    background: #fff3cd;
    padding: 15px;
    border-left: 5px solid #ffecb5;
    font-size: 14px;
    border-radius: 6px;
}

/* Fix Host input alignment */
.host-inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Toggle section tweaks */
.toggles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.toggles label {
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Make toggles act like previous Web Runner toggle */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 24px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .4s;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #46b450;
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(22px);
}