.monisys-enterprise-shell {
    background:
        radial-gradient(circle at top left, rgba(99, 102, 241, 0.10), transparent 34rem),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.08), transparent 32rem);
}
.enterprise-hero {
    background: linear-gradient(135deg, #312e81 0%, #4f46e5 48%, #0f172a 100%);
    box-shadow: 0 24px 80px rgba(79, 70, 229, 0.28);
}
.enterprise-orb {
    position: absolute;
    border-radius: 9999px;
    filter: blur(2px);
    opacity: 0.35;
    pointer-events: none;
}
.enterprise-orb-a {
    width: 18rem;
    height: 18rem;
    right: -5rem;
    top: -6rem;
    background: rgba(255, 255, 255, 0.38);
}
.enterprise-orb-b {
    width: 12rem;
    height: 12rem;
    right: 10rem;
    bottom: -5rem;
    background: rgba(16, 185, 129, 0.55);
}
.enterprise-input {
    width: 100%;
    margin-top: 0.4rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.9rem;
    padding: 0.75rem 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}
.enterprise-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.14);
}
.enterprise-code {
    background: #0f172a;
    color: #dbeafe;
    border-radius: 1rem;
    padding: 1rem;
    overflow: auto;
    max-height: 32rem;
    font-size: 0.78rem;
    line-height: 1.55;
    white-space: pre-wrap;
}
@media (max-width: 768px) {
    .monisys-enterprise-shell { padding: 1rem; }
    .enterprise-hero { padding: 1.5rem; }
}

/* KPI Cards Premium */
.enterprise-kpi-card {
    background: white;
    border-radius: 1.5rem;
    padding: 1.5rem;
    border: 1px solid #f3f4f6;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.enterprise-kpi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    border-color: #e5e7eb;
}

.enterprise-kpi-icon {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
}

.enterprise-kpi-progress {
    height: 4px;
    width: 100%;
    background: #f3f4f6;
    border-radius: 2px;
    margin-top: 1.2rem;
    overflow: hidden;
}

.enterprise-kpi-progress-bar {
    height: 100%;
    border-radius: 2px;
    transition: width 1s ease-out;
}

/* ===== INTEGRAÇÃO OMNICHANNEL — ESTILOS ===== */

/* Animação de entrada suave */
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 0.3s ease-in-out;
}

/* Animação de slide para toast */
@keyframes slideIn {
    from { opacity: 0; transform: translateX(100px); }
    to   { opacity: 1; transform: translateX(0); }
}

.animate-slideIn {
    animation: slideIn 0.3s ease-out;
}

/* Animação de entrada do toast */
@keyframes toastSlideIn {
    from { opacity: 0; transform: translateX(100px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* Transição do modal Vue */
.modal-fade-enter-active,
.modal-fade-leave-active {
    transition: opacity 0.2s ease;
}
.modal-fade-enter-from,
.modal-fade-leave-to {
    opacity: 0;
}

/* Input com ícone de senha */
.enterprise-input-password-wrapper {
    position: relative;
}

.enterprise-input-password-wrapper .enterprise-input {
    padding-right: 2.75rem;
}

/* Botão toggle de senha */
.enterprise-password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    transition: color 0.15s ease;
    padding: 0.25rem;
    line-height: 1;
}

.enterprise-password-toggle:hover {
    color: #6b7280;
}

/* Campo de input com borda verde quando preenchido */
.enterprise-input.is-filled {
    border-color: #86efac;
}

.enterprise-input.is-filled:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

/* Toggle switch personalizado */
.enterprise-toggle-track {
    width: 2.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    border: 2px solid;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    position: relative;
}

.enterprise-toggle-thumb {
    width: 1rem;
    height: 1rem;
    border-radius: 9999px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.2s ease, background-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Barra de progresso do formulário */
.integration-progress-bar {
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
    background: rgba(0,0,0,0.1);
}

.integration-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Badge de status da plataforma */
.platform-badge-configured {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.platform-badge-pending {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.625rem;
    font-weight: 700;
    background: #fef3c7;
    color: #b45309;
    border: 1px solid #fde68a;
}

/* Indicador de campo preenchido */
.field-fill-indicator {
    height: 2px;
    border-radius: 1px;
    overflow: hidden;
    background: #f3f4f6;
    margin-top: 0.25rem;
}

.field-fill-bar {
    height: 100%;
    background: #4ade80;
    border-radius: 1px;
    transition: width 0.3s ease;
}

/* Responsividade do modal */
@media (max-width: 640px) {
    .integration-modal-container {
        max-height: 95vh;
        border-radius: 1.25rem 1.25rem 0 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0;
        width: 100%;
        max-width: 100%;
    }
}
