.imgEmpresa {
    border: none !important;
    border-radius: 10px;
}

.btn-logout {
    display: none;
}

/*@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');*/

    :root {
        --glass-bg: rgba(255, 255, 255, 0.05);
        --glass-border: rgba(255, 255, 255, 0.1);
        --primary-gradient: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
        --accent-color: #ffffff;
        --modal-gradient: linear-gradient(135deg, #1e1b4b 0%, #020617 50%, #4c1d95 100%);
        --bg-premium: #0f172a;
        --accent-purple: #a855f7;
        --corp-blue: #3b82f6;
        --glass-input: rgba(255, 255, 255, 0.05);
        --border-glass: rgba(255, 255, 255, 0.1);
    }

    /* Reset básico para garantir que o gradiente ocupe tudo */
    html, body {
        height: 100%;
        margin: 0;
        overflow-x: hidden;
    }

    .gateway-body {
        /* Fundo: Preto, Roxo Escuro, Azul Marinho */
        background: linear-gradient(135deg, #000000 0%, #2d0b5a 40%, #001f3f 100%);
        background-size: 400% 400%;
        animation: gradientBG 15s ease infinite;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Inter', sans-serif;
        color: white;
        padding: 40px 20px;
    }

    @keyframes gradientBG {
        0% { background-position: 0% 50%; }
        50% { background-position: 100% 50%; }
        100% { background-position: 0% 50%; }
    }

    .wrapper-container {
        width: 100%;
        max-width: 1100px;
        z-index: 10;
    }

    .header-section {
        text-align: center;
        margin-bottom: 60px;
        animation: fadeInDown 1s ease-out;
    }

    .main-logo {
        max-height: 100px;
        margin-bottom: 25px;
        filter: drop-shadow(0 8px 15px rgba(0,0,0,0.5));
    }

    .main-title {
        font-size: 3rem;
        font-weight: 800;
        letter-spacing: -1.5px;
        margin-bottom: 10px;
        background: linear-gradient(to right, #ffffff, #b0b0b0);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 10px 30px rgba(0,0,0,0.4);
    }

    .main-subtitle {
        font-size: 1.1rem;
        opacity: 0.6;
        font-weight: 300;
        letter-spacing: 1.5px;
        text-transform: uppercase;
    }

    .selection-grid {
        display: flex;
        gap: 35px;
        justify-content: center;
        flex-wrap: wrap;
    }

    .company-box {
        flex: 1;
        min-width: 320px;
        max-width: 480px;
        background: var(--glass-bg);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border: none; /* Removendo bordas conforme solicitado */
        border-radius: 40px;
        padding: 60px 40px;
        text-decoration: none !important;
        transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: white !important;
        box-shadow: 0 20px 50px rgba(0,0,0,0.5);
        position: relative;
        overflow: hidden;
        animation: fadeInUp 1s ease-out;
    }

    .company-box::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
        transition: 0.5s;
    }

    .company-box:hover::before {
        left: 100%;
    }

    .company-box:hover {
        transform: translateY(-20px) scale(1.02);
        background: rgba(255, 255, 255, 0.08);
        box-shadow: 0 40px 80px rgba(0,0,0,0.7);
    }

    .logo-container {
        height: 200px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 40px;
        border: none !important; /* Garantindo que não haja bordas no container do logo */
    }

    .logo-container img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        transition: all 0.5s ease;
        border: none !important; /* Removendo bordas da imagem */
    }

    .company-box:hover .logo-container img {
        transform: scale(1.1);
        filter: drop-shadow(0 15px 25px rgba(0,0,0,0.3));
    }

    .company-text {
        font-size: 1.8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 2px;
        position: relative;
        padding-bottom: 15px;
    }

    .company-text::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 3px;
        background: white;
        border-radius: 10px;
        transition: width 0.3s ease;
    }

    .company-box:hover .company-text::after {
        width: 80px;
    }

    @keyframes fadeInDown {
        from { opacity: 0; transform: translateY(-50px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(50px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 768px) {
        .main-title { font-size: 2.22rem; }
        .company-box { padding: 40px 20px; min-width: 100%; }
        .logo-container { height: 160px; }
    }
    
    .glass-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}
    
    /* Modal Redesign - Deep Space Gradient */
#modalLoginEmpresa .modal-content,
#modalConfirmAgbe .modal-content {
    background: var(--modal-gradient);
    border: 1px solid var(--border-glass);
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: white;
}

#modalLoginEmpresa .modal-header,
#modalConfirmAgbe .modal-header {
    border-bottom: 1px solid var(--border-glass);
    padding: 1.5rem 2rem;
}

#modalLoginEmpresa .modal-title,
#modalConfirmAgbe .modal-title {
    color: white !important;
    letter-spacing: 0.02em;
}

#modalLoginEmpresa .btn-close-custom,
#modalConfirmAgbe .btn-close-custom {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    width: 40px;
    height: 40px;
    transition: all 0.3s;
}

#modalLoginEmpresa .btn-close-custom:hover,
#modalConfirmAgbe .btn-close-custom:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: rotate(90deg);
}

/* Form Styling - Premium Glassmorphism */
#modalLoginEmpresa .premium-form-label,
#modalConfirmAgbe .premium-form-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

#modalLoginEmpresa .input-group-text,
#modalConfirmAgbe .input-group-text {
    background: var(--glass-input) !important;
    border: 1px solid var(--border-glass) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    border-right: none !important;
    border-radius: 16px 0 0 16px !important;
}

#modalLoginEmpresa .premium-form-control,
#modalConfirmAgbe .premium-form-control {
    background: var(--glass-input) !important;
    border: 1px solid var(--border-glass) !important;
    border-left: none !important;
    color: white !important;
    border-radius: 0 16px 16px 0 !important;
    padding: 0.85rem 1rem;
    transition: all 0.3s ease;
}

#modalLoginEmpresa .premium-form-control::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

#modalLoginEmpresa .input-group:focus-within {
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.2);
}

#modalLoginEmpresa .input-group:focus-within .input-group-text,
#modalLoginEmpresa .input-group:focus-within .premium-form-control {
    border-color: var(--accent-purple) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* Button & Actions */
.premium-btn-save {
    background: linear-gradient(135deg, var(--accent-purple) 0%, #4c1d95 100%);
    color: white;
    border: none;
    border-radius: 16px;
    padding: 1.2rem;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 15px -3px rgba(139, 92, 246, 0.3);
}

.premium-btn-save:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.4);
    filter: brightness(1.1);
}

#loginErrorMessage {
    background: rgba(220, 53, 69, 0.1);
    color: #f87171;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(220, 53, 69, 0.2);
    margin-bottom: 2rem;
    display: none;
}
