.aivista-form-row { margin-bottom: 15px; }
.aivista-form-row label { display: block; margin-bottom: 5px; font-weight: bold; }
.aivista-form-row input { width: 100%; padding: 8px; }
.aivista-scoring-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.aivista-scoring-table th, .aivista-scoring-table td { border: 1px solid #eee; padding: 8px 12px; text-align: center; }
.aivista-scoring-table th:first-child, .aivista-scoring-table td:first-child { text-align: left; width: 30%; }
.aivista-standouts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 15px; }
.aivista-standouts-grid ul { list-style: disc; padding-left: 20px; }
.aivista-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

.ui-autocomplete {
    background: #fff;
    border: 1px solid #ddd;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 9999;
    padding: 0;
    margin: 0;
    list-style: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    box-sizing: border-box;
}
.ui-autocomplete .ui-menu-item-wrapper {
    padding: 8px 12px;
    cursor: pointer;
    display: block;
}
.ui-autocomplete .ui-state-active {
    background-color: #f7f7f7;
    color: #0073aa;
    border: none;
}
.ui-helper-hidden-accessible { display: none; }

.aivista-affiliate-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}
.aivista-affiliate-link:hover {
    background-color: #005177;
    color: #fff;
}

.aivista-sidebar-wrapper {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}
.aivista-sidebar-title {
    margin: 0 0 6px 0;
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}
.aivista-sidebar-subtitle {
    margin: 0 0 20px 0;
    font-size: 14px;
    color: #6b7280;
}
.aivista-sidebar-row {
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
    display: block;
}
.aivista-sidebar-inputs-row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    width: 100%;
    box-sizing: border-box;
    gap: 12px;
}
.aivista-sidebar-input {
    flex: 1 1 0%;
    min-width: 0;
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 30px;
    background-color: #ffffff;
    color: #111827;
    font-size: 13px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: all 0.2s ease;
}
.aivista-sidebar-input::placeholder {
    color: #6b7280;
}
.aivista-sidebar-input:focus {
    background-color: #ffffff;
    border: 1px solid #4B5CFF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(75, 92, 255, 0.1);
}
.aivista-sidebar-vs {
    font-size: 11px;
    color: #6b7280;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0;
    flex-shrink: 0;
    background: #f3f4f6;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.aivista-sidebar-btn {
    width: 100% !important;
    padding: 12px 16px;
    background: #4B5CFF !important;
    color: #fff;
    border: 1px solid #4B5CFF !important;
    border-radius: 30px !important;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(75, 92, 255, 0.3);
}
.aivista-sidebar-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.aivista-sidebar-btn svg {
    transition: transform 0.3s ease;
}
.aivista-sidebar-btn:hover svg {
    transform: translateX(4px);
}
.aivista-sidebar-form {
    margin: 0;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}