.hero-banner {
    /*margin-top: 3rem;*/
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.login-link {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    z-index: 10;
}

.login-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.user-icon {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #3b82f6;
    font-weight: bold;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    position: relative;
}

.barcode-lines {
    display: flex;
    gap: 2px;
    align-items: flex-end;
    height: 30px;
    margin-bottom: 5px;
}

.barcode-line {
    background: #1e3a8a;
    flex: 1;
}

.barcode-line:nth-child(1) { height: 80%; }
.barcode-line:nth-child(2) { height: 100%; }
.barcode-line:nth-child(3) { height: 60%; }
.barcode-line:nth-child(4) { height: 90%; }
.barcode-line:nth-child(5) { height: 70%; }
.barcode-line:nth-child(6) { height: 100%; }
.barcode-line:nth-child(7) { height: 65%; }

.printer-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.printer-icon::before {
    content: '';
    width: 14px;
    height: 10px;
    background: white;
    border-radius: 2px;
}

.logo-text {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.logo-green {
    color: #10b981;
}

.content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 100%;
    width: 100%;
}

.display-5 {
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.lead {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
}

.btn-success {
    background: #10b981 !important;
    border: none !important;
    padding: 15px 40px !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

.btn-success:hover {
    background: #059669 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.lock-icon {
    width: 16px;
    height: 16px;
    background: #10b981;
    border-radius: 3px;
    position: relative;
}

.lock-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 3px;
    width: 10px;
    height: 8px;
    border: 2px solid #10b981;
    border-bottom: none;
    border-radius: 5px 5px 0 0;
    background: transparent;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .lead {
        font-size: 1rem;
    }

    .hero-banner {
        padding: 40px 20px;
        min-height: 400px;
    }

    .cta-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .login-link {
        top: 15px;
        right: 15px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }    
}    

/* -------------------------------------- */

.btn-social {
    position: relative;
    padding-left: 44px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.btn-facebook {
    color: #fff !important;
    background-color: #3b5998;
    border-color: rgba(0, 0, 0, 0.2);
}

.btn-facebook:focus,.btn-facebook.focus {
    color: #fff !important;
    background-color: #2d4373;
    border-color: rgba(0,0,0,0.2)
}

.btn-facebook:hover {
    color: #fff !important;
    background-color: #2d4373;
    border-color: rgba(0,0,0,0.2)
}

.btn-facebook:active,.btn-facebook.active {
    color: #fff !important;
    background-color: #2d4373;
    border-color: rgba(0,0,0,0.2)
}

.btn-facebook:active:hover,.btn-facebook.active:hover,.btn-facebook:active:focus,.btn-facebook.active:focus,.btn-facebook:active.focus,.btn-facebook.active.focus {
    color: #fff !important;
    background-color: #23345a;
    border-color: rgba(0,0,0,0.2)
}

.btn-facebook:active,.btn-facebook.active {
    background-image: none
}

.btn-facebook.disabled:hover,.btn-facebook[disabled]:hover,fieldset[disabled] .btn-facebook:hover,.btn-facebook.disabled:focus,.btn-facebook[disabled]:focus,fieldset[disabled] .btn-facebook:focus,.btn-facebook.disabled.focus,.btn-facebook[disabled].focus,fieldset[disabled] .btn-facebook.focus {
    background-color: #3b5998;
    border-color: rgba(0,0,0,0.2)
}

/* -------------------------------------- */

.swal-login {
    width: 100%;
    overflow-x: hidden;
}

.swal-input-custom {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem;
    margin: 0.5rem 0;
    font-size: 1rem;
}

/* Corrige overflow do modal em mobile */
.swal2-popup {
    overflow-x: hidden !important;
}

.swal-input-custom {
    min-height: 44px; /* Apple HIG */
}

@media (max-width: 480px) {
    .swal2-popup {
        width: 95% !important;
        margin: 0 auto;
    }
}