/* Integration Options Block */

.integration-options-section {
    padding: 80px 20px;
}

.integration-options-container {
    max-width: 1320px;
    margin: 0 auto;
}

/* Header: title + tab buttons */
.integration-options-header {
    text-align: center;
    margin-bottom: 40px;
}

.integration-options-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1C355E;
    margin-bottom: 24px;
}

/* Tab toggle container */
.integration-options-tabs {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 6px 8px;
    margin: 0;
    border: 1px solid #D0D5DD;
    border-radius: 12px;
    background-color: #ffffff;
    vertical-align: middle;
    align-items: stretch;
}

.integration-options-tabs .nav-item {
    margin: 0;
    display: flex;
}

.io-tab-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 8px;
    border: none;
    background-color: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #1C355E;
    cursor: pointer;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.io-tab-btn.active,
.io-tab-btn:focus {
    background-color: #1C355E;
    color: #ffffff;
    outline: none;
}

.io-tab-btn:not(.active):hover {
    background-color: #f0f3f8;
}

.io-tab-btn {
    margin-bottom: 0;
}

/* Pane inner: 3-column layout */
.io-pane-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    justify-content: center;
}

/* Left: text content */
.io-pane-text {
    flex: 1 1 440px;
    max-width: 440px;
    min-width: 0;
    color: #333336;
    font-size: 0.9rem;
    line-height: 1.7;
}

.io-pane-text h3,
.io-pane-text h4 {
    font-weight: 600;
    color: #1C355E;
    margin-bottom: 8px;
}

.io-pane-text ul {
    padding-left: 1.25rem;
    margin-bottom: 20px;
}

.io-pane-text ul li {
    margin-bottom: 4px;
}

/* Middle: Supported for card */
.io-pane-supported {
    flex: 0 0 388px;
    background-color: #ffffff;
    border: 1px solid #D0D5DD;
    border-radius: 16px;
    padding: 24px 32px;
    align-self: flex-start;
}

.io-supported-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 20px;
}

.io-supported-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.io-supported-items li {
    display: flex;
    align-items: center;
    padding: 14px 0;
}

.io-supported-items li:first-child {
    padding-top: 0;
}

.io-supported-items li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.io-supported-items li img {
    height: 36px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
}

/* Right: image */
.io-pane-image {
    flex: 0 0 440px;
    height: 448px;
    border-radius: 24px;
    overflow: hidden;
}

.io-pane-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .io-pane-inner {
        flex-wrap: wrap;
    }

    .io-pane-text {
        flex: 1 1 100%;
        max-width: 100%;
        order: 1;
    }

    .io-pane-supported {
        flex: 1 1 calc(50% - 20px);
        order: 2;
    }

    .io-pane-image {
        flex: 1 1 calc(50% - 20px);
        height: auto;
        order: 3;
    }
}

@media (max-width: 576px) {
    .integration-options-title {
        font-size: 1.5rem;
    }

    .io-tab-btn {
        padding: 8px 16px;
        font-size: 0.875rem;
    }

    .io-pane-supported,
    .io-pane-image {
        flex: 1 1 100%;
    }

    .io-pane-image {
        height: auto;
    }
}
