/* ========================================================
   COLEPOSTE - ESTILO VISUAL PREMIUM - PARTE 1 DE 2
   ======================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background: linear-gradient(
        135deg, 
        #f4f7f9 0%, 
        #eef3f8 50%, 
        #e5edf5 100%
    );
    color: #2b303a;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 24px;
}

.container {
    width: 100%;
    max-width: 540px;
    background: #ffffff;
    padding: 35px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px rgba(0, 123, 255, 0.06);
}

header {
    text-align: center;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    border: 4px solid #D4AF37;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.logo-icon::before {
    content: '';
    width: 16px;
    height: 16px;
    background: #007BFF;
    border-radius: 50%;
}

.logo {
    color: #007BFF;
    font-size: 2.5rem;
    font-weight: 850;
    letter-spacing: -1.5px;
}

.logo span {
    color: #D4AF37;
}

.subtitle {
    font-size: 0.95rem;
    color: #6c757d;
    font-weight: 600;
}

.plan-selector {
    display: flex;
    background: #f1f3f5;
    padding: 6px;
    border-radius: 14px;
    margin-bottom: 25px;
    gap: 4px;
}

.btn-tab {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #6c757d;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-tab.active {
    background: #ffffff;
    color: #007BFF;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.main-panel {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.mode-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.d-none {
    display: none !important;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    font-weight: 700;
    font-size: 0.95rem;
    color: #495057;
}

.input-group input {
    padding: 16px;
    border: 2px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 14px;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.input-group input:focus {
    border-color: #007BFF;
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.usage-counter {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 600;
    text-align: right;
}

.usage-counter span {
    color: #007BFF;
    font-weight: 700;
}

.section-title {
    font-weight: 800;
    font-size: 0.85rem;
    color: #8a94a6;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: -4px;
}

/* Grid de Thumbnails dos Nichos */
.grid-thumbnails {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.thumb-card {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    padding: 16px;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #4a5568;
    transition: all 0.2s ease;
}

.thumb-card:hover {
    border-color: #007BFF;
    transform: translateY(-2px);
}

.thumb-card.selected {
    border-color: #007BFF;
    background: rgba(0, 123, 255, 0.05);
    color: #007BFF;
}

/* ========================================================
   COLEPOSTE - ESTILO VISUAL PREMIUM - PARTE 2 DE 2
   ======================================================== */

/* Nova Seção de Cartões de Produtos Buscados pela IA */
.results-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #fafbfc;
    padding: 15px;
    border-radius: 16px;
    border: 1px dashed #ced4da;
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.product-img-placeholder {
    width: 50px;
    height: 50px;
    background: #eef2f7;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
}

.product-prices {
    font-size: 0.8rem;
    color: #64748b;
}

.product-prices .promo {
    color: #22c55e;
    font-weight: 700;
    font-size: 0.85rem;
}

.product-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007BFF;
    cursor: pointer;
}

/* Configurações de Redes Sociais */
.grid-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.check-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
    color: #4a5568;
    transition: all 0.25s ease;
}

.check-card input {
    width: 18px;
    height: 18px;
    accent-color: #007BFF;
}

.check-card:has(input:checked) {
    border-color: #007BFF;
    background: rgba(0, 123, 255, 0.04);
    color: #007BFF;
}

/* Botão de Disparo */
.btn-main {
    background: linear-gradient(135deg, #E6C15C 0%, #D4AF37 50%, #B89224 100%);
    color: #ffffff;
    border: none;
    padding: 18px;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 16px;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    margin-top: 10px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.btn-main:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}
