/* assets/css/limite-saldo-modal.css */

.limite-saldo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    z-index: 10002;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.limite-saldo-overlay.show {
    opacity: 1;
    visibility: visible;
}

/* Usar o CSS original fornecido pelo usuário */
.limite-saldo-overlay .modal {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    z-index: inherit;
    font-family: sans-serif;
}

.limite-saldo-overlay .modal-content {
    background: #111;
    border-radius: 10px;
    max-width: 420px;
    width: 90%;
    color: #fff;
    padding-top: 30px;
    position: relative;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.limite-saldo-overlay .close-btn {
    position: absolute;
    top: 12px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ccc;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.limite-saldo-overlay .close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: scale(1.05);
}

.limite-saldo-overlay .modal-image {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #061243 0%, #0A1A5F 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white;
    isolation: isolate;
}

.limite-saldo-overlay .modal-image::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.09) 0%, transparent 70%);
    transform: rotate(45deg);
    z-index: 0;
    animation: lightSweep 3s linear infinite;
    pointer-events: none;
}

@keyframes lightSweep {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.limite-saldo-overlay .modal-title {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 1;
    position: relative;
    margin-bottom: 8px;
    text-align: center;
}

.limite-saldo-overlay .modal-icon {
    z-index: 2;
    position: relative;
    animation: iconFloat 2s ease-in-out infinite;
    margin-bottom: 8px;
}

.limite-saldo-overlay .modal-icon svg.lucide {
    width: 32px;
    height: 32px;
    stroke-width: 2;
    color: #fff;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.limite-saldo-overlay .modal-body {
    padding: 25px;
    margin-top: 0;
}

.limite-saldo-overlay .modal-body h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: 600;
    color: #ccc;
}

.limite-saldo-overlay .alert-text {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
    color: #ffc107;
    font-weight: 600;
    font-size: 14px;
}

.limite-saldo-overlay .processing-text {
    text-align: center;
    margin-bottom: 20px;
    color: #ccc;
    font-size: 15px;
    line-height: 1.4;
}

.limite-saldo-overlay .processing-text .highlight {
    color: #ff4757;
    font-weight: 700;
}

.limite-saldo-overlay .offer-container {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2) !important;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.limite-saldo-overlay .offer-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: shimmer 5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.limite-saldo-overlay .offer-title {
    color: #00c853;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.limite-saldo-overlay .offer-price {
    color: #ccc;
    font-size: 14px;
}

.limite-saldo-overlay .price-highlight {
    color: #00c853;
    font-weight: 700;
    font-size: 16px;
}

.limite-saldo-overlay .submit-btn {
    width: 100%;
    background: linear-gradient(90deg, #32cd32, #00c853);
    border: none;
    padding: 16px;
    color: #070b2d;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    margin: 0px 0 15px 0px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.limite-saldo-overlay .submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.limite-saldo-overlay .submit-btn:hover::before {
    left: 100%;
}

.limite-saldo-overlay .submit-btn:hover {
    background: linear-gradient(90deg, #2eb82e, #00b34d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(50, 205, 50, 0.3);
}
