.ibc-fb-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 20, 0.95);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.ibc-fb-card {
    max-width: 500px;
    width: 100%;
    background: #151528;
    border-radius: 14px;
    padding: 32px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    color: #fff;
    position: relative;
    text-align: center;
}

.ibc-fb-card h3 {
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 600;
}

.ibc-fb-card p {
    margin: 0 0 20px 0;
    opacity: 0.9;
    font-size: 15px;
    line-height: 1.5;
}

.ibc-fb-form-link {
    display: block;
    margin-bottom: 20px;
    padding: 12px 20px;
    background: rgba(124, 77, 255, 0.15);
    border: 1px solid rgba(124, 77, 255, 0.3);
    border-radius: 8px;
    color: #a78bfa;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.ibc-fb-form-link:hover {
    background: rgba(124, 77, 255, 0.25);
    border-color: rgba(124, 77, 255, 0.5);
    color: #c4b5fd;
}

.ibc-fb-form-link i {
    margin-right: 6px;
}

.ibc-fb-divider {
    margin: 20px 0;
    text-align: center;
    position: relative;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.ibc-fb-divider::before,
.ibc-fb-divider::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.ibc-fb-divider::before {
    left: 0;
}

.ibc-fb-divider::after {
    right: 0;
}

.ibc-fb-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: stretch;
}

.ibc-fb-card input {
    flex: 1;
    max-width: 280px;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: all 0.2s;
}

.ibc-fb-card input:focus {
    border-color: rgba(124, 77, 255, 0.6);
    background: rgba(255, 255, 255, 0.12);
}

.ibc-fb-card input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.ibc-fb-card button[type="submit"] {
    padding: 12px 24px;
    border-radius: 8px;
    border: 0;
    background: #7c4dff;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.ibc-fb-card button[type="submit"]:hover {
    background: #6c3de6;
    transform: translateY(-1px);
}

.ibc-fb-err {
    margin-top: 12px;
    color: #ffb4b4;
    font-size: 14px;
    display: none;
}

.ibc-fb-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
    line-height: 1;
    padding: 4px 8px;
    transition: opacity 0.2s;
}

.ibc-fb-close:hover {
    opacity: 1;
}

.ibc-fb-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.78);
    z-index: 2147483647;
    /* peste absolut orice */
    padding: 16px;
}

.ibc-fb-card {
    width: min(560px, 100%);
    background: #fff;
    color: #111;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    padding: 20px 20px 16px;
    position: relative;
}

.ibc-fb-card h3 {
    margin: 0 0 10px;
    font-size: 22px;
}

.ibc-fb-lead {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.5;
}

.ibc-fb-sub {
    margin: 0 0 14px;
    font-size: 14px;
    opacity: .85;
}

.ibc-fb-form-link {
    display: block;
    margin: 10px 0 6px;
    padding: 12px 12px;
    border-radius: 12px;
    background: #f3f4f6;
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

.ibc-fb-divider {
    margin: 10px 0;
    text-align: center;
    opacity: .6;
    font-size: 13px;
}

.ibc-fb-close {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 0;
    background: rgba(0, 0, 0, 0.06);
    cursor: pointer;
    font-size: 22px;
    line-height: 36px;
}