/* Icon Picker Modal - Elementor Style */

#nexus-icon-picker-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
}

.nexus-icon-picker-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.nexus-icon-picker-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    width: 800px;
    height: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

.nexus-icon-picker-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nexus-icon-picker-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

#nexus-icon-search {
    flex-grow: 1;
    margin: 0 20px;
    padding: 8px 12px;
}

.nexus-icon-picker-close {
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.nexus-icon-picker-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    overflow: hidden;
}

.nexus-icon-picker-nav {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    border-bottom: 1px solid #eee;
    background: #fcfcfc;
}

.nexus-icon-picker-nav li {
    padding: 15px 20px;
    cursor: pointer;
    font-weight: 500;
    border-right: 1px solid #eee;
    transition: background 0.2s;
}

.nexus-icon-picker-nav li:hover {
    background: #f1f1f1;
}

.nexus-icon-picker-nav li.active {
    background: #fff;
    border-bottom: 2px solid #0073aa;
    margin-bottom: -1px;
    color: #0073aa;
}

.nexus-icon-grid {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    padding: 20px;
    overflow-y: auto;
    height: 100%;
}

.nexus-icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    margin: 5px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 24px;
    color: #555;
    background: #fff;
}

.nexus-icon-box:hover {
    border-color: #0073aa;
    background: #f0f7fc;
    color: #0073aa;
    transform: scale(1.05);
}

.nexus-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nexus-image-preview-container img {
    border: 1px solid #ccc;
    padding: 2px;
    background: #eee;
}

/* Field Layout Fixes for Menu Editor */
.nexus-menu-custom-fields p {
    margin-top: 10px;
}

.nexus-icon-type-selector {
    margin-top: 5px;
    max-width: 200px;
}

/* =========================================
   Nexus Menu Settings Page / User Guide
   ========================================= */

.nexus-settings-wrap {
    max-width: 1200px;
    margin: 20px auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.nexus-header {
    background: linear-gradient(135deg, #0073aa 0%, #005177 100%);
    color: #fff;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 115, 170, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nexus-header-content h1 {
    font-size: 32px;
    margin: 0 0 10px 0;
    color: #fff;
    font-weight: 700;
}

.nexus-header-content p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
    max-width: 600px;
    line-height: 1.5;
}

.nexus-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 10px;
}

.nexus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.nexus-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid #eee;
}

.nexus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.nexus-card-header {
    padding: 25px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.nexus-card-icon {
    width: 40px;
    height: 40px;
    background: #f0f7fc;
    color: #0073aa;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.nexus-card-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.nexus-card-body {
    padding: 25px;
    color: #555;
    line-height: 1.6;
}

.nexus-card-body ul {
    margin: 0;
    padding-left: 20px;
}

.nexus-card-body li {
    margin-bottom: 10px;
}

.nexus-step {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.nexus-step-number {
    width: 28px;
    height: 28px;
    background: #0073aa;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.nexus-step-text strong {
    display: block;
    color: #333;
    margin-bottom: 4px;
}

.nexus-cta-button {
    display: inline-block;
    background: #0073aa;
    color: #fff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
    margin-top: 20px;
}

.nexus-cta-button:hover {
    background: #005177;
    color: #fff;
}

.nexus-helper-box {
    background: #fdf2f2;
    border-left: 4px solid #d63638;
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 30px;
}

.nexus-helper-box.info {
    background: #f0f7fc;
    border-left-color: #0073aa;
}

.nexus-helper-title {
    font-weight: 700;
    display: block;
    margin-bottom: 8px;
    color: #333;
}

.nexus-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.nexus-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nexus-check {
    color: #46b450;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nexus-grid {
        grid-template-columns: 1fr;
    }

    .nexus-feature-list {
        grid-template-columns: 1fr;
    }
}