.ib-components-section {
    padding: 80px 20px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.wp-block-sig-invoice-components {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.ib-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ib-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.ib-section-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.ib-section-subtitle {
    font-size: 20px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.ib-components-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.ib-invoice-visual {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 20px;
}

.ib-invoice-mockup {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.ib-mockup-header {
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.ib-mockup-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    margin-bottom: 10px;
    object-fit: contain;
}

.ib-mockup-company {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.ib-mockup-content {
    margin-bottom: 20px;
}

.ib-mockup-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.ib-mockup-label {
    color: #666;
    font-size: 14px;
}

.ib-mockup-value {
    color: #333;
    font-weight: 500;
}

.ib-mockup-table {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
}

.ib-table-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ib-mockup-summary {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.ib-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.ib-mockup-notes {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.ib-mockup-terms {
    margin-top: 15px;
    padding: 15px;
    background: #fff3cd;
    border-radius: 8px;
    border: 1px solid #ffeaa7;
}

.ib-components-list {
    display: grid;
    gap: 30px;
}

.ib-component-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
}

.ib-component-item:hover {
    border-color: #667eea;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
}

.ib-component-item.active {
    border-color: #667eea;
    background: #fff;
}


.ib-component-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.ib-component-description {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.ib-component-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    display: none;
}

.ib-component-item.active .ib-component-details {
    display: block;
}

.ib-detail-list {
    list-style: none;
    color: #555;
    font-size: 14px;
    padding: 0;
    margin: 0;
}

.ib-detail-list li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.ib-detail-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #667eea;
}

@media (max-width: 968px) {
    .ib-components-layout {
        grid-template-columns: 1fr;
    }
    
    .ib-invoice-visual {
        position: static;
        margin-bottom: 40px;
    }
    
    .ib-section-title {
        font-size: 32px;
    }
    
    .ib-components-section {
        padding: 60px 20px;
    }
}