/* ============================================================
   IBM Payment — FINAL CLEAN CSS (FULL FIXED VERSION)
   ============================================================ */

/* ------------------------------------------------------------
   1. WRAPPER (inherits full width from parent container)
   ------------------------------------------------------------ */
.ibm-pm-wrapper {
    width: 100%;
    max-width: none;
    padding: 16px 0;
}

/* ------------------------------------------------------------
   2. TITLES & TEXT
   ------------------------------------------------------------ */
.ibm-pm-title {
    margin-bottom: 14px;
    font-weight: 700;
}

.ibm-pm-method-name {
    color: #b33f00;
    font-weight: 800;
}

.ibm-pm-intro,
.ibm-pm-base-sentence,
.ibm-pm-conclusion-dynamic,
.ibm-pm-conclusion-static {
    margin-bottom: 16px;
}

/* Conclusion H3 */
.ibm-pm-conclusion-h3 {
    margin: 30px 0 10px;
}

.ibm-pm-conclusion-label {
    font-weight: 800;
    text-decoration: underline;
}

/* ------------------------------------------------------------
   3. TABLE WRAPPER (Paytable style)
   ------------------------------------------------------------ */
.ibm-pm-table-wrapper {
    width: 80%;
    margin: 25px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 10px 30px rgba(0,0,0,0.5);
}

/* ------------------------------------------------------------
   4. TABLE BASE
   ------------------------------------------------------------ */
.ibm-pm-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 0.95rem;
}

/* ------------------------------------------------------------
   5. TABLE HEADER (IBM BLUE)
   ------------------------------------------------------------ */
.ibm-pm-comparison-table thead {
    background: #0023a7;
}

.ibm-pm-comparison-table th {
    padding: 10px;
    color: #f8fcfc;
    font-weight: 600;
    text-align: center;
}

/* Column name label */
.ibm-pm-col-name {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 600;
}

/* ------------------------------------------------------------
   6. TABLE BODY
   ------------------------------------------------------------ */
.ibm-pm-comparison-table td {
    padding: 10px;
    background-color: #f0f0f0;
    color: #333;
    text-align: left;
    vertical-align: top;
    font-weight: 400;
    border-bottom: none;
}

/* Alternating rows */
.ibm-pm-comparison-table tbody tr:nth-child(even) td {
    background-color: #e8e8e8;
}

/* Hover effect */
.ibm-pm-comparison-table tbody tr:hover td {
    background: #fdf7e6 !important;
    transition: 0.2s;
}

/* ------------------------------------------------------------
   7. FEATURE COLUMN (LEFT COLUMN)
   ------------------------------------------------------------ */

/* HEADER of first column — FIXED COLOR */
.ibm-pm-th-feature {
    background-color: #0023a7 !important;
    color: #f8fcfc !important;
    border-right: 2px solid #c5c5c5;
}

/* BODY cells of first column */
.ibm-pm-td-feature {
    background-color: #d4dfee;
    border-right: 2px solid #c5c5c5;
    color: #333333;
    font-weight: bold;
    text-align: left;
    padding-left: 15px;
}

/* ------------------------------------------------------------
   8. MAIN METHOD COLUMN
   ------------------------------------------------------------ */
.ibm-pm-td-main {
    background: #fffdf0;
}

/* ------------------------------------------------------------
   9. DROPDOWN DESIGN
   ------------------------------------------------------------ */
.ibm-pm-dropdown-wrap {
    margin-top: 6px;
}

.ibm-pm-select {
    font-size: 0.85rem;
    padding: 6px 8px;
    border: 1px solid #aaa;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    width: 100%;
    max-width: 180px;
    transition: 0.2s;
}

.ibm-pm-select:hover {
    border-color: #0023a7;
}

.ibm-pm-select:focus {
    outline: 2px solid #005fcc;
    outline-offset: 1px;
}

/* ------------------------------------------------------------
   10. SUMMARY LIST
   ------------------------------------------------------------ */
.ibm-pm-summary-list {
    margin-top: 20px;
    padding-left: 22px;
    list-style: disc;
}

.ibm-pm-summary-item {
    margin-bottom: 10px;
    font-size: 1rem;
}

.ibm-pm-summary-name {
    color: #b33f00;
    font-weight: 800;
    margin-right: 4px;
}

/* ------------------------------------------------------------
   11. MOBILE RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 700px) {

    /* טבלה ברוחב מלא */
    .ibm-pm-comparison-table {
        table-layout: fixed;
        width: 100%;
    }

    .ibm-pm-table-wrapper {
        width: 100%;
        margin: 0 auto;
    }

    /* עמודת Feature — צרה יותר */
    .ibm-pm-comparison-table th:nth-child(1),
    .ibm-pm-comparison-table td:nth-child(1) {
        width: 22%;
        max-width: 22%;
        white-space: normal;
    }

    /* עמודת Main — רחבה */
    .ibm-pm-comparison-table th:nth-child(2),
    .ibm-pm-comparison-table td:nth-child(2) {
        width: 39%;
        max-width: 39%;
    }

    /* עמודת Compare #1 — רחבה */
    .ibm-pm-comparison-table th:nth-child(3),
    .ibm-pm-comparison-table td:nth-child(3) {
        width: 39%;
        max-width: 39%;
    }

    /* מסתירים Compare #2 */
    .ibm-pm-comparison-table th:nth-child(4),
    .ibm-pm-comparison-table td:nth-child(4) {
        display: none;
    }

    /* Summary list → רק 2 פריטים */
    .ibm-pm-summary-list li:nth-child(3) {
        display: none;
    }
	
	/* עמודת Feature — צרה יותר + שבירת טקסט */
.ibm-pm-comparison-table th:nth-child(1),
.ibm-pm-comparison-table td:nth-child(1) {
    width: 22%;
    max-width: 22%;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
	}
	
/* ------------------------------------------------------------
12. CONDITIONAL FORMATING
------------------------------------------------------------ */
	.ibm-h-green {
    background-color: #d8f5d0 !important;
    color: #0a4d00 !important;
    font-weight: 700;
}

.ibm-h-yellow {
    background-color: #fff7c2 !important;
    color: #7a5a00 !important;
    font-weight: 700;
}

.ibm-h-red {
    background-color: #ffd6d6 !important;
    color: #7a0000 !important;
    font-weight: 700;
}