/* ==========================================================================
   Neon Glass IOC Card (Search Section Specifics)
   ========================================================================== */

#search-section {
    /* Base wrapper styles for search section (from legacy tab-styles) */
    border: 1px solid transparent;
    /* Replaced specialized border with cleaner approach */
    background: transparent;
    border-radius: 16px;
    position: relative;
    /* overflow: hidden; Removed to let glow extend */
    animation: fadeInUp 0.6s var(--transition-ease);
}

/* Card Container Principal */
.ioc-search-card {
    position: relative;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 1rem;
    /* Compactado */
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    max-width: 100%;
    margin: 0 auto;
}

/* Efeito de Glow de Fundo (Aura) */
.card-glow {
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle at 50% 50%,
            rgba(0, 242, 234, 0.18) 0%,
            transparent 70%);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

/* Header Section */
.ioc-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    /* Reduzido */
    position: relative;
    z-index: 2;
    padding-bottom: 0.5rem;
    /* Reduzido */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Ícone do Escudo */
.header-icon {
    width: 40px;
    /* Reduzido */
    height: 40px;
    /* Reduzido */
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
            rgba(0, 242, 234, 0.2) 0%,
            rgba(0, 255, 157, 0.1) 100%);
    border-radius: 10px;
    margin-right: 0.75rem;
    border: 1px solid rgba(0, 242, 234, 0.5);
    box-shadow:
        0 0 35px rgba(0, 242, 234, 0.25),
        inset 0 0 25px rgba(0, 242, 234, 0.15);
}

.header-icon svg {
    width: 20px;
    /* Reduzido */
    height: 20px;
    color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(0, 255, 157, 0.8));
}

.header-content h2 {
    color: var(--bs-emphasis-color);
    font-size: 1.6rem;
    /* Levemente reduzido */
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.header-subtitle {
    color: var(--bs-secondary-color);
    font-size: 0.85rem;
    font-weight: 400;
}

/* Form Layout */
.ioc-form-content {
    position: relative;
    z-index: 2;
}

.form-group-modern {
    position: relative;
}

.form-label-modern {
    display: flex;
    margin-bottom: 0.3rem;
    margin-left: 0.2rem;
    font-size: 0.65rem;
    /* Reduzido */
    color: var(--bs-secondary-color);
    z-index: 5;
    pointer-events: none;
    margin: 0;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.form-label-modern i {
    margin-right: 0.3rem;
    font-size: 0.75rem;
    color: var(--neon-cyan);
}

/* Inputs/Selects Modernos */
.form-control-modern {
    width: 100%;
    height: 38px;
    /* Reduzido de 48px */
    padding: 0.5rem 0.75rem;
    /* Ajustado */
    background-color: var(--input-bg);
    border: 1px solid rgba(0, 242, 234, 0.3);
    border-radius: 8px;
    color: var(--input-text-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

select.form-control-modern {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2300f2ea' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 10px 8px;
    cursor: pointer;
}

select.form-control-modern option {
    background-color: #1a2327;
    color: #fff;
    padding: 10px;
}

.form-control-modern:focus {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: var(--neon-cyan);
    box-shadow:
        0 0 20px rgba(0, 242, 234, 0.25),
        inset 0 0 10px rgba(0, 242, 234, 0.05);
    outline: none;
    color: var(--input-text-color);
}

.form-control-modern::placeholder {
    color: var(--input-placeholder-color);
    font-weight: 400;
}

/* Analyze Button */
.form-actions {
    margin-top: 1rem;
    /* Reduzido */
}

.btn-analyze {
    width: 100%;
    height: 38px;
    /* Altura fixa compacta */
    padding: 0;
    /* Removendo padding para centrar com flex */
    border-radius: 8px;
    border: none;
    background: linear-gradient(90deg,
            var(--neon-cyan) 0%,
            var(--neon-primary) 100%);
    color: #0b1a15;
    font-size: 0.95rem;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-analyze:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 50px rgba(0, 255, 157, 0.6),
        0 0 20px rgba(255, 255, 255, 0.4);
}

.btn-analyze:active {
    transform: scale(0.98);
}

.btn-analyze span {
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
}

.btn-analyze i {
    font-size: 1.1rem;
    margin-right: 0.6rem;
}

/* Responsive */
@media (max-width: 768px) {
    .ioc-search-card {
        padding: 1.5rem;
    }

    .header-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .header-icon svg {
        width: 30px;
        height: 30px;
    }

    .form-control-modern {
        font-size: 1rem;
    }

    .header-content h2 {
        font-size: 1.4rem;
    }
}