#ibsec-validacao {
    max-width: 600px;
    margin: 50px auto;
    background: #ffffff0f;
    color: #fff;
    padding: 20px;
    border-radius: 16px;
}

.ibsec-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0;
}

.ibsec-item {
    background: #1a1a1a;
    padding: 16px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ibsec-item span {
    font-size: 14px;
}

.status {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #555;
}

.status.ok {
    background: #2ecc71;
    border-color: #2ecc71;
}

.status.error {
    background: #e74c3c;
    border-color: #e74c3c;
}

#ibsec-testar, #ibsec-iniciar {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    background: #3b82f6;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
}

.ibsec-item {
    flex-direction: column;
    align-items: stretch;
    cursor: pointer;
}

.ibsec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ibsec-detail {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    margin-top: 0;
}

.ibsec-item.active .ibsec-detail {
    max-height: 200px;
    opacity: 1;
    margin-top: 12px;
}

.ibsec-detail .mensagem {
    font-size: 13px;
    color: #ccc;
    margin-bottom: 10px;
}

.ibsec-detail button {
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    background: #333;
    color: #fff;
    cursor: pointer;
}

.status {
    width: 22px;
    height: 22px;
    min-width: 22px;   
    min-height: 22px;  
    border-radius: 50%;
    border: 2px solid #555;
    display: inline-flex; 
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-sizing: border-box; 
}

.status.load {
    border: 2px solid #3b82f6;
    border-top: 2px solid transparent;
    background: transparent;
    animation: spin 0.8s linear infinite;
}

.status.ok {
    background: #2ecc71;
    border-color: #2ecc71;
}

.status.error {
    background: #e74c3c;
    border-color: #e74c3c;
}

#ibsec-iniciar {
    margin-top:20px;
    background:var(--yellow);
    color:black;
}

#ibsec-iniciar:disabled {
    background: #555;
    color:white;
    cursor: not-allowed;
    opacity: 0.6;
}

#ibsec-resumo {
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}