.mo-sps-copilot-top-premium-banner {
    background: linear-gradient(135deg, #1b99a0 0%, #113e40 100%);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    flex-wrap: wrap;
    gap: 16px;
}

.mo-sps-copilot-banner-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mo-sps-copilot-crown-icon {
    font-size: 28px;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.mo-sps-copilot-banner-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mo-sps-copilot-premium-tag {
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.mo-sps-copilot-banner-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.mo-sps-copilot-banner-upgrade-btn {
    background: #1b9ba1;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mo-sps-copilot-banner-upgrade-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background: #1b9ba1;
    color: #ffffff;
}

/* Intro Section Styles */
.mo-sps-copilot-intro-section {
    margin-bottom: 2rem;
}

.mo-sps-copilot-intro-header {
    text-align: left;
    margin-bottom: 1.5rem;
}

.mo-sps-copilot-intro-title {
    font-size: 22px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 10px;
}

.mo-sps-copilot-sparkle {
    font-size: 25px;
    animation: sparkle 2s ease-in-out infinite;
}

.mo-sps-copilot-intro-description {
    color: #555;
    max-width: 800px;
    padding-left: 10px;
    border-left: 2px solid #1b9ba1;
}

/* Compact Features List */
.mo-sps-copilot-features-list {

}

.mo-sps-copilot-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 4px 0;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.mo-sps-copilot-feature-check {
    color: #667eea;
    font-weight: 900;
    font-size: 18px;
    flex-shrink: 0;
}

.mo-sps-copilot-feature-text {
    flex: 1;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) rotate(10deg);
        opacity: 0.8;
    }
}

.mo-sps-copilot-demo-wrapper {
    max-width: 100%;
    margin: 0 auto;
}

.mo-sps-copilot-demo-container {
    background:rgb(234, 234, 234);
    border-radius: 12px;
    padding: 24px;
}

.mo-sps-copilot-search-bar {
    background: #2b2d35;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.mo-sps-copilot-search-input {
    flex: 1;
    color: #e0e0e0 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    font-size: 16px !important;
}

.mo-sps-copilot-search-input::placeholder {
    color:rgb(255, 255, 255) !important;
}

.mo-sps-copilot-search-btn {
    background: #0d8fdb;
    border: none;
    outline: none;
    color: #fff;
    border-radius: 8px;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.mo-sps-copilot-search-btn:hover {
    background: #0b7bc4;
}

.mo-sps-copilot-loading {
    display: none;
    justify-content: center;
    margin-top: 24px;
}

.mo-sps-copilot-dot {
    height: 10px;
    width: 10px;
    background: #0d8fdb;
    border-radius: 50%;
    display: inline-block;
    margin: 0 4px;
    animation: hop 1.3s infinite;
}

.mo-sps-copilot-dot-2 {
    animation-delay: 0.22s;
}

.mo-sps-copilot-dot-3 {
    animation-delay: 0.44s;
}

.mo-sps-copilot-results {
    margin-top: 24px;
    display: none;
    animation: fadein 0.8s;
    border-radius: 12px;
    padding: 20px;
    background: #2b2d35;
}

.mo-sps-copilot-summary-card {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.mo-sps-copilot-summary-title {
    color: #0d8fdb;
    font-size: 18px;
    margin: 0 0 12px 0;
}

.mo-sps-copilot-summary-text {
    color: #e0e0e0;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.mo-sps-copilot-summary-count {
    color: #808080;
    font-size: 14px;
    margin: 0;
}

.mo-sps-copilot-result-card {
    margin-bottom: 0;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mo-sps-copilot-result-card:first-child {
    padding-top: 0;
}

.mo-sps-copilot-result-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mo-sps-copilot-result-title {
    color: #0d8fdb;
    font-size: 16px;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.mo-sps-copilot-result-content {
    color: #c0c0c0;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.mo-sps-copilot-show-more-btn {
    background: #17a2b8;
    border: none;
    color: #fff;
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: background 0.2s;
}

.mo-sps-copilot-show-more-btn:hover {
    background: #138a9e;
}

.mo-sps-copilot-ai-analysis {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    padding: 16px;
    margin-top: 12px;
}

.mo-sps-copilot-ai-title {
    color: #fff;
    font-size: 15px;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.mo-sps-copilot-ai-text {
    color: #f0f0f0;
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.mo-sps-copilot-ai-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0;
}

.mo-sps-copilot-ai-dot {
    height: 8px;
    width: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: inline-block;
    margin: 0 3px;
    animation: hop 1.3s infinite;
}

.mo-sps-copilot-ai-dot-2 {
    animation-delay: 0.22s;
}

.mo-sps-copilot-ai-dot-3 {
    animation-delay: 0.44s;
}

@keyframes hop {
    0%, 80%, 100% { 
        transform: translateY(0);
    }
    40% { 
        transform: translateY(-9px);
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mo-sps-copilot-button-active-anim {
    box-shadow: 0 0 0 3px rgba(13, 143, 219, 0.4);
    transform: scale(1.05);
    transition: box-shadow 0.2s, transform 0.18s;
}

/* Copilot configuration css */
/* START */
/* Modern Admin Styles for Azure Copilot Search Plugin */

.mo-sps-copilot-search-wrap {
    padding-top: 15px;
}

.mo-sps-copilot-admin-content {
    max-width: 1200px;
    margin: 0 auto;
}

.mo-sps-copilot-admin-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.mo-sps-copilot-admin-card {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e8eaed;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.mo-sps-copilot-admin-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.mo-sps-copilot-admin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c0c0c0ff, #e9e9e9ff);
}

.mo-sps-copilot-admin-card-large {
    grid-column: 1 / -1;
}

.mo-sps-copilot-admin-card-header {
    padding: 25px 20px;
    border-bottom: 1px solid #e8eaed;
    position: relative;
}

.mo-sps-copilot-admin-card-header h2,
.mo-sps-copilot-admin-card-header h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1d2327;
    display: flex;
    align-items: center;
    letter-spacing: -0.3px;
}

.mo-sps-copilot-admin-card-header h2 .dashicons,
.mo-sps-copilot-admin-card-header h3 .dashicons {
    margin-right: 12px;
    color: #3498db;
    font-size: 22px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mo-sps-copilot-admin-card-header p {
    margin: 0;
    color: #646970;
    font-size: 14px;
}

.mo-sps-copilot-admin-card-body {
    padding: 20px;
}

.mo-sps-copilot-admin-form {
    margin: 0;
}

.mo-sps-copilot-form-section {
    margin-bottom: 30px;
}

.mo-sps-copilot-form-section h3 {
    margin: 0 0 25px 0;
    font-size: 18px;
    font-weight: 700;
    color: #1d2327;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    position: relative;
}

.mo-sps-copilot-form-section h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    border-radius: 2px;
}

.mo-sps-copilot-form-row {
    margin-bottom: 20px;
}

.mo-sps-copilot-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mo-sps-copilot-form-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #1d2327;
}

.mo-sps-copilot-form-field .required {
    color: #d63638;
}

.mo-sps-copilot-input,
.mo-sps-copilot-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.mo-sps-copilot-input:focus,
.mo-sps-copilot-select:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
    background: #ffffff;
}

.mo-sps-copilot-input:hover,
.mo-sps-copilot-select:hover {
    border-color: #bdc3c7;
}

.mo-sps-copilot-form-field .description {
    margin: 5px 0 0 0;
    font-size: 13px;
    color: #646970;
}

.mo-sps-copilot-info-box {
    background: #f0f6fc;
    border: 1px solid #0073aa;
    border-radius: 4px;
    padding: 10px;
    margin-top: 10px;
    font-size: 13px;
}

.mo-sps-copilot-info-box code {
    background: #fff;
    padding: 2px 4px;
    border-radius: 3px;
    font-size: 12px;
}

.mo-sps-copilot-form-actions {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.mo-sps-copilot-form-actions .button {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mo-sps-copilot-form-actions .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mo-sps-copilot-form-actions .button .dashicons {
    margin-right: 8px;
}

.mo-sps-copilot-status-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f1;
}

.mo-sps-copilot-status-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mo-sps-copilot-status-item label {
    display: block;
    font-weight: 600;
    color: #1d2327;
    margin-bottom: 5px;
}

.mo-sps-copilot-status-value {
    font-size: 14px;
}

.mo-sps-copilot-status-success {
    color: #00a32a;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.mo-sps-copilot-status-error {
    color: #d63638;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.mo-sps-copilot-status-success .dashicons,
.mo-sps-copilot-status-error .dashicons {
    margin-right: 5px;
}

.mo-sps-copilot-auth-action {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f1;
}

.mo-sps-copilot-auth-action .button {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
}

.mo-sps-copilot-auth-action .button .dashicons {
    margin-right: 8px;
}

.mo-sps-copilot-test-results {
    margin-top: 15px;
    display: none;
}

.mo-sps-copilot-instruction-section {
    margin-bottom: 30px;
}

.mo-sps-copilot-instruction-section h4 {
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
}

.mo-sps-copilot-instruction-section h5 {
    margin: 20px 0 10px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1d2327;
}

.mo-sps-copilot-code-block {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    padding: 12px;
    margin: 10px 0;
}

.mo-sps-copilot-code-block code {
    background: none;
    padding: 0;
    font-size: 13px;
    color: #1d2327;
}

.mo-sps-copilot-param-list {
    margin: 10px 0;
    padding-left: 20px;
}

.mo-sps-copilot-param-list li {
    margin-bottom: 5px;
}

.mo-sps-copilot-setup-list {
    margin: 10px 0;
    padding-left: 20px;
}

.mo-sps-copilot-setup-list li {
    margin-bottom: 8px;
}

.mo-sps-copilot-setup-list ul {
    margin: 5px 0 5px 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .copilot-admin-grid {
        grid-template-columns: 1fr;
    }
    
    .copilot-form-row-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .copilot-admin-header {
        padding: 20px;
    }
    
    .copilot-admin-title h1 {
        font-size: 24px;
    }
    
    .copilot-admin-card-body {
        padding: 15px;
    }
}