.ibsc-wrap {
    margin: 18px 0;
    padding: 22px;
    border: 1px solid #628bb4;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
    color: #1f2937;
    font-size: 16px;
    line-height: 1.6;
}

.ibsc-badge {
    display: inline-block;
    margin-bottom: 10px;
    padding: 7px 12px;
    background: #628bb4;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.ibsc-note {
    margin-bottom: 18px;
    color: #475569;
}

.ibsc-form {
    padding: 16px;
    background: #f8fbfe;
    border: 1px solid #628bb4;
}

.ibsc-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ibsc-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.ibsc-label {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
}

.ibsc-field input,
.ibsc-field select {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border: 1px solid #b8c9db;
    background: #fff;
    color: #111827;
    font-size: 15px;
    box-sizing: border-box;
}

.ibsc-field input:focus,
.ibsc-field select:focus {
    outline: none;
    border-color: #628bb4;
    box-shadow: 0 0 0 3px rgba(98, 139, 180, 0.16);
}

.ibsc-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.ibsc-submit,
.ibsc-reset,
.ibsc-link {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 12px 18px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-sizing: border-box;
}

.ibsc-submit,
.ibsc-reset {
    border: 1px solid #000000;
    background: #000000;
}

.ibsc-submit:hover,
.ibsc-reset:hover,
.ibsc-submit:focus,
.ibsc-reset:focus {
    background: #111111;
    color: #ffffff !important;
}

.ibsc-link,
.ibsc-link:link,
.ibsc-link:visited,
.ibsc-link:hover,
.ibsc-link:focus,
.ibsc-link:active {
    border: 1px solid #4d759c;
    background: #4d759c;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.ibsc-link:hover,
.ibsc-link:focus {
    filter: brightness(0.96);
}

.ibsc-error {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #b91c1c;
    font-weight: 700;
}

.ibsc-results {
    margin-top: 18px;
}

.ibsc-summary {
    margin-bottom: 14px;
    padding: 16px;
    border: 1px solid #628bb4;
    background: #edf5fc;
    color: #31597f;
    font-weight: 700;
}

.ibsc-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.ibsc-card {
    border: 1px solid #cedae6;
    background: #fff;
    padding: 16px;
}

.ibsc-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.ibsc-title {
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.ibsc-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 86px;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: 800;
}

.ibsc-status.ok {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.ibsc-status.later {
    background: #edf5fc;
    color: #31597f;
    border: 1px solid #bfd3e6;
}

.ibsc-status.no {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.ibsc-line + .ibsc-line {
    margin-top: 8px;
}

.ibsc-line strong {
    display: inline-block;
    margin-right: 6px;
    color: #111827;
}

.ibsc-cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.ibsc-footnote {
    margin-top: 14px;
    color: #64748b;
    font-size: 14px;
}

@media (max-width: 768px) {
    .ibsc-wrap {
        padding: 16px;
    }

    .ibsc-grid {
        grid-template-columns: 1fr;
    }

    .ibsc-card-top {
        flex-direction: column;
        align-items: flex-start;
    }
}
