#mmrm-category-sortable {
    list-style-type: none;
    margin: 0;
    padding: 0;
    width: 300px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding-bottom: 30px;
}

#mmrm-category-sortable li {
    margin: 5px;
    padding: 5px;
    font-size: 1.2em;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
    border-radius: 3px;
    cursor: move;
}

#mmrm-filter-options {
    width: 300px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 10px;

}

#mmrm-filter-options option {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.mmrm-tabs-container {
    display: flex;
    /* background-color: #fff; */
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-height: 500px;
}

.mmrm-tabs {
    background-color: #f7f9fb;
    border-right: 1px solid #e1e4e8;
    width: 200px;
    padding: 20px;
}

.mmrm-tab-button {
    display: block;
    padding: 12px;
    margin-bottom: 8px;
    background-color: #f7f9fb;
    border: none;
    color: #444;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.mmrm-tab-button:hover, .mmrm-tab-button.active {
    background-color: #2c7be5;
    color: #fff;
}

.mmrm-tab-content {
    flex-grow: 1;
    padding: 20px;
}

.mmrm-tab-panel {
    display: none;
    padding: 20px;
    border: 1px solid #e1e4e8;
    border-radius: 6px;
    background-color: #fff;
}

.mmrm-tab-panel.active {
    display: block;
}

h2 {
    color: #2c7be5;
}

/* The switch - the box around the mmrm-slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The mmrm-slider */
.mmrm-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.mmrm-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

/* When the checkbox is checked, change the background color */
input:checked + .mmrm-slider {
    background-color: #2c7be5;
}

/* Move the mmrm-slider to the right when checked */
input:checked + .mmrm-slider:before {
    transform: translateX(26px);
}

/* Rounded mmrm-slider style */
.mmrm-slider.round {
    border-radius: 34px;
}

.mmrm-slider.round:before {
    border-radius: 50%;
}

.mmrm-input-wrapper{
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.mmrm-input-label{
    font-size: 14px;
    font-weight: 600;
}

/* Container for custom radio buttons */
.mmrm-custom-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mmrm-custom-radio {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    padding-left: 35px;
}

/* Hide the default radio button */
.mmrm-custom-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Create custom radio button mark */
.mmrm-custom-radio-mark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #f4f4f4;
    border: 2px solid #ccc;
    border-radius: 50%;
    transition: background-color 0.3s, border-color 0.3s;
}

/* When the radio button is checked, change the style */
.mmrm-custom-radio input:checked + .mmrm-custom-radio-mark {
    background-color: #2c7be5;
    border-color: #2c7be5;
}

/* Add a dot in the center when checked */
.mmrm-custom-radio-mark:after {
    content: "";
    position: absolute;
    display: none;
    top: 5px;
    left: 5px;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
}

/* Show the dot when the radio is checked */
.mmrm-custom-radio input:checked + .mmrm-custom-radio-mark:after {
    display: block;
}

/* Add hover effect */
.mmrm-custom-radio:hover .mmrm-custom-radio-mark {
    border-color: #888;
}

/* Optional custom styling for the select2 dropdown */
.mmrm-filter-option-wrapper .select2-container .select2-selection--multiple {
    border: 1px solid #ccc;
    padding: 6px;
    border-radius: 4px;
    min-height: 38px;
}

.mmrm-filter-option-wrapper .select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #2c7be5;
    border: 1px solid #2c7be5;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    margin-top: 5px;
    margin-right: 5px;
    font-size: 14px;
    padding-left: 20px;
}

.mmrm-filter-option-wrapper .select2-container .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
    margin-right: 5px;
    height: 100%;
}

.mmrm-filter-option-wrapper .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background-color: #e14a4a;
    border-color: #e14a4a;
    color: white;
}

/* Adjusting the dropdown arrow */
.mmrm-filter-option-wrapper .select2-container--default .select2-selection--multiple .select2-selection__rendered {
    padding-right: 10px;
}

/* Main container for the shortcode documentation page */
.mmrm-shortcode-documentation-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.mmrm-shortcode-documentation-wrapper h1 {
    font-size: 28px;
    text-align: center;
    margin-bottom: 20px;
    color: #2c7be5;
}

.mmrm-shortcode-documentation-wrapper .description {
    font-size: 16px;
    text-align: center;
    margin-bottom: 40px;
    color: #666;
}

.mmrm-shortcode-item {
    background-color: #ffffff;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.mmrm-shortcode-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.mmrm-shortcode-item .shortcode-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.mmrm-toggle-arguments {
    background-color: #2c7be5;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.mmrm-toggle-arguments:hover {
    background-color: #1a66c1;
}

.mmrm-arguments-wrapper {
    display: none;
    margin-top: 10px;
}

.mmrm-arguments-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

.mmrm-arguments-list li {
    padding: 5px 0;
    border-bottom: 1px solid #e0e0e0;
}

.mmrm-arguments-list li:last-child {
    border-bottom: none;
}

.mmrm-shortcode-example {
    margin-top: 15px;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 4px;
    font-family: monospace;
}

.mmrm-shortcode-example pre {
    margin: 0;
}

.mmrm-shortcode-example code {
    font-size: 14px;
    color: #333;
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .mmrm-shortcode-documentation-wrapper {
        padding: 10px;
    }

    .mmrm-shortcode-item {
        padding: 10px;
    }
}

/* Main wrapper for the settings page */
.mmrm-modern-settings-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: 'Roboto', sans-serif;
}

.mmrm-modern-settings-wrapper h1 {
    font-size: 28px;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.mmrm-modern-form .settings-section {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mmrm-modern-form h2 {
    font-size: 22px;
    color: #2c7be5;
    margin-bottom: 15px;
}

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

.mmrm-modern-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.mmrm-modern-form input,
.mmrm-modern-form select {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 16px;
    color: #333;
}

.mmrm-color-picker {
    width: 100px;
}

input[type="file"] {
    display: inline-block;
    margin-top: 10px;
}

.mmrm-uploaded-image {
    margin-top: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.mmrm-menu-image-container {
    margin-bottom: 20px;
}

.mmrm-menu-image-container img {
    display: block;
    max-width: 150px;
    margin-bottom: 10px;
}

.mmrm-settings input, .mmrm-settings select {
    width: 300px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 16px;
    color: #333;
}
/* General button styles */
.mmrm-settings input[type="submit"], .mmrm-button {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    border: none;
    border-radius: 8px;
    padding: 6px 12px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
}

/* Primary button (Blue) */
.mmrm-settings input[type="submit"], .mmrm-button-primary {
    background-color: #007BFF; /* Blue */
    color: #fff;
}

.mmrm-settings input[type="submit"]:hover, .mmrm-button-primary:hover {
    background-color: #0069D9; /* Darker blue */
    color: #fff;
}

.mmrm-settings input[type="submit"]:focus, .mmrm-button-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.5); /* Focus state with blue shadow */
}

.mmrm-settings input[type="submit"]:active, .mmrm-button-primary:active {
    background-color: #0056b3; /* Even darker blue */
}

/* Secondary button (Gray) */
.mmrm-button-secondary {
    background-color: #f0f0f0;
    color: #333;
    border: 2px solid #ccc;
}

.mmrm-button-secondary:hover {
    background-color: #e0e0e0;
    border-color: #bbb;
}

.mmrm-button-secondary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(150, 150, 150, 0.3); /* Focus state */
}

.mmrm-button-secondary:active {
    background-color: #d0d0d0;
    border-color: #aaa;
}

/* Disabled button styling */
.mmrm-button:disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    border: none;
}

.mmrm-error-notice {
    background-color: #f2dede;
    border: 1px solid #ebccd1;
    color: #a94442;
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.mmrm-existing-page-section table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.mmrm-existing-page-section table th,
.mmrm-existing-page-section table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}
.mmrm-existing-page-section table th {
    background-color: #f2f2f2;
    font-weight: bold;
}
.mmrm-existing-page-section table td {
    background-color: #fff;
}

/* Dashboard AI BotKit banner */
.mmrm-ai-botkit-banner {
    padding: 0;
    /* Rich, smoother gradient with subtle highlight overlay */
    background: radial-gradient(120% 180% at 15% 0%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.00) 60%),
                linear-gradient(135deg, #0e5a48 0%, #0a7f62 55%, #14a37a 100%);
    border-left-color: #008858; /* primary */
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    color: #ffffff;
}
/* custom close button */
.mmrm-ai-botkit-banner .mmrm-ai-banner-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    border: 0;
    width: 28px;
    height: 28px;
    line-height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    text-align: center;
}
.mmrm-ai-botkit-banner .mmrm-ai-banner-close:hover {
    background: rgba(255,255,255,0.25);
}
.mmrm-ai-botkit-banner .mmrm-ai-banner-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.mmrm-ai-botkit-banner .mmrm-ai-banner-left {
    display: flex;
    gap: 16px;
    flex: 1 1 auto;
}
.mmrm-ai-botkit-banner .mmrm-ai-banner-logo {
    background: rgba(255,255,255,0.95);
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 100px;
}
.mmrm-ai-botkit-banner .mmrm-ai-banner-logo img {
    width: 96px;
    height: 40px;
    object-fit: contain;
    display: block;
}
.mmrm-ai-banner-text{
    padding: 26px 0 28px 0; /* extra breathing room */
}
.mmrm-ai-botkit-banner .mmrm-ai-banner-text h2 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.3;
    color: #ffffff;
    font-weight: 600;
}
.mmrm-ai-botkit-banner .mmrm-ai-banner-text h2 strong {
    color: #b9f5e9;
    font-weight: 700;
}
.mmrm-ai-botkit-banner .mmrm-ai-banner-text p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #e6fff6;
}
.mmrm-ai-botkit-banner .mmrm-ai-banner-text p strong {
    font-weight: 700; /* emphasize brand in paragraph */
}
.mmrm-ai-botkit-banner .mmrm-ai-banner-right {
    display: flex;
    align-items: flex-end; /* anchor to bottom */
}
.mmrm-ai-botkit-banner .mmrm-ai-banner-right img {
    max-height: 150px;
    width: auto;
    display: block;
    filter: drop-shadow(0 6px 18px rgba(0,0,0,0.15));
}

/* Trust badge text */
.mmrm-ai-banner-trust {
    margin-top: 6px;
    color: #d7fff2;
}

.mmrm-ai-banner-trust a {
    color: #d7fff2;
    text-decoration: none;
}
/* CTA button in banner */
.mmrm-ai-banner-cta.button-primary {
    background-color: #ffffff;
    border-color: #ffffff;
    color: #008858;
    padding: 10px 18px;
    height: auto;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.mmrm-ai-banner-cta.button-primary:hover,
.mmrm-ai-banner-cta.button-primary:focus {
    background-color: #f6fffb;
    border-color: #f6fffb;
    color: #00724a;
}
/* Position the dismiss cross nicely */
.mmrm-ai-botkit-banner .notice-dismiss {
    top: 10px;
    right: 10px;
}

@media (max-width: 960px) {
    .mmrm-ai-botkit-banner .mmrm-ai-banner-inner {
        flex-direction: column;
        gap: 12px;
    }
    .mmrm-ai-botkit-banner .mmrm-ai-banner-right img {
        max-height: 150px;
    }
    .mmrm-ai-banner-left{
        flex-direction: column;
    }
    .mmrm-ai-banner-text{
        padding: 0 24px;
    }
    .mmrm-ai-botkit-banner .mmrm-ai-banner-right{
        justify-content: center;
    }
}
