/* Simplo Atualização de Edição - Frontend Style
   Based on Simplo Manuais visual identity */

/* Container Global */
.sae-frontend-app {
    display: grid;
    grid-template-columns: 3fr 7fr; /* Aprox 30/70 ratio requested */
    gap: 20px;
    font-family: "Sora Local", Sans-serif;
    font-weight: 300;
    max-width: 100%;
    margin: 20px 0;
    color: #333;
}

/* Responsividade */
@media (max-width: 800px) {
    .sae-frontend-app {
        grid-template-columns: 1fr;
    }
}

/* Sidebar (Coluna 1) */
.sae-sidebar {
    background: #f7f9fb;
    border: 1px solid #e1e5ea;
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: fit-content;
}

/* Labels */
.sae-sidebar label {
    display: block;
    font-weight: 900;
    margin-bottom: 6px;
    font-size: 1rem;
    color: #333;
}

/* Inputs & Selects */
.sae-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #d5dbe3;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    color: #333;
}

.sae-input:focus {
    outline: none;
    border-color: #a0a0a0;
}

.sae-input:disabled {
    background-color: #f0f0f0;
    color: #999;
    cursor: not-allowed;
}

/* Main Content (Coluna 2) */
/* Main Content (Coluna 2) */
.sae-main-content {
    /* No generic background, just container for results */
    max-height: 600px;
    overflow-y: auto;
    padding-right: 5px; /* Prevent scrollbar from overlapping content */
}

/* Custom Scrollbar for Main Content */
.sae-main-content::-webkit-scrollbar {
    width: 8px;
}
.sae-main-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}
.sae-main-content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}
.sae-main-content::-webkit-scrollbar-thumb:hover {
    background: #bbb;
}

/* Results Area */
.sae-results {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sae-placeholder, .sae-msg-initial, .sae-msg-empty {
    padding: 16px;
    color: #666;
    background: #f8fbff;
    border: 1px solid #dfe5ec;
    border-radius: 10px;
    text-align: center;
}

/* Brand Group (mimicking .svv-table) */
.sae-brand-group {
    border: 1px solid #dfe5ec;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fbff;
}

/* Brand Title (mimicking .svv-thead) */
.sae-brand-title {
    background: #eef3f8;
    border-bottom: 1px solid #dfe5ec;
    margin: 0;
    padding: 12px 14px;
    font-weight: 900;
    font-size: 1rem;
    color: #333;
    text-transform: uppercase;
}

/* Model List (mimicking .svv-tbody) */
.sae-model-list {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #fff;
}

.sae-model-list li {
    padding: 12px 14px;
    border-bottom: 1px solid #eaeff5;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

.sae-model-list li:last-child {
    border-bottom: none;
}

.sae-model-list li:hover {
  gap: 8px 15px;
}

.sae-model-list li {
  padding: 5px 0;
  font-size: 14px;
  color: #444;
  border-bottom: 1px dashed #f0f0f0;
}

.sae-model-list li:before {
  content: "•";
  color: #ccc;
  font-weight: bold;
  display: inline-block;
  width: 15px;
  margin-left: -1em;
}
/* Adjust bullet */
.sae-model-list li {
  padding-left: 15px;
}
