

.traininfo h4 {
  color: #0B6BB5;
   
}










.training-info-block {
    font-family: 'inherit', sans-serif;
    color: #272727;
   
    line-height: 1.8;
 /*   max-width: 500px; */
    margin: 2rem auto;
   
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

.training-title {
       font-family: 'futura', sans-serif;
    font-size: 18px;
    line-height:27px;
    color: #ffffff;
    text-align: center;
    margin: 0;
    padding: 1.5rem;
background: rgb(0,51,102);
background: linear-gradient(159deg, rgba(0,51,102,1) 0%, rgba(15,82,186,1) 100%);
  /*  background-color: #1A56DB;*/
    border-bottom: none;
}

.training-info-columns {
    display: flex;
    flex-direction: column;
    gap: 1.7rem;
    padding: 1.7rem;
}

.left-column,
.right-column {
    flex: 1;
    min-width: 100%;
}

.left-column h4,
.right-column h4 {
    font-size: 1.2rem;
    color: #0B6BB5 !important;
    margin-bottom: 1rem;
    padding-bottom: 1.2rem;
    padding-top: 1.2rem;
    border-bottom: 1px solid #ecf0f1;
    display: flex;
    align-items: center;
}

.left-column h4::before,
.right-column h4::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    background-size: contain;
    background-repeat: no-repeat;
}

.left-column h4::before {
    background-color: #0B6BB5;
    mask-image: url('/wp-content/uploads/2025/03/certificate-svgrepo-com.svg');
    mask-repeat: no-repeat;
    mask-size: contain;
}
.discountinfo h4::before {
    background-color: #0B6BB5;
    mask-image: url('/wp-content/uploads/2025/03/discount-svgrepo-com.svg');
    mask-repeat: no-repeat;
    mask-size: contain;
}
.right-column h4::before {

      background-color: #0B6BB5;
      
    mask-image: url('/wp-content/uploads/2025/03/payment-method-pay-svgrepo-com.svg');
    mask-repeat: no-repeat;
    mask-size: contain;
}

.left-column p,
.right-column p {
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.left-column strong,
.right-column strong {
  /*  font-weight: 600;*/
   
}

.training-info-block .discount-suffix {
    font-size: 0.9em !important;
    color: #7f8c8d !important;
}
.gst-suffix{
     font-size: 0.9em !important;
    color: #7f8c8d !important;
}
#training_amount,
#discount_amount,
#total_paid_amount {
    font-weight: 600;
    color: #2c3e50;
}

/* Footer */
.training-info-block::after {
    content: "Thank you for enrolling with ASQ. We wish you success in your learning journey!";
    display: block;
    text-align: center;
    padding: 1rem;
    background-color: #ecf0f1;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 768px) {
    .training-info-block {
       /* margin: 1rem;*/
    }
    .training-title {
        font-size: 1.3rem;
    }
}

/* Remove hover effects for a cleaner look */
.left-column p:hover,
.right-column p:hover {
    background-color: transparent;
}





/* Modern Enrollment Summary Styles - Only targets the enrollment summary page */

/* These styles only apply to the enrollment summary page and won't affect your training info block */
.enrollment-summary {
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0;
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.enrollment-summary h2 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
    padding: 2rem;
    text-align: center;
    color: #ffffff;
    background: rgb(0,51,102);
    background: linear-gradient(159deg, rgba(0,51,102,1) 0%, rgba(15,82,186,1) 100%);
}

.summary-table-container {
    padding: 0;
    margin: 0;
}

/* Completely new selector for the enrollment summary table */
.enrollment-summary .enrollment-summary-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    margin: 0;
}

.enrollment-summary .enrollment-summary-table th, 
.enrollment-summary .enrollment-summary-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.enrollment-summary .enrollment-summary-table th {
    width: 30%;
    font-weight: 600;
    color: #0B6BB5;
    background-color: #f1f5f9;
    font-size: 15px;
}

.enrollment-summary .enrollment-summary-table td {
    width: 70%;
    font-size: 15px;
    color: #444;
}

.enrollment-summary .enrollment-summary-table tr:last-child th,
.enrollment-summary .enrollment-summary-table tr:last-child td {
    border-bottom: none;
}

.enrollment-summary .enrollment-summary-table tr:hover {
    background-color: #f8fafc;
}

/* Special formatting for specific rows, still scoped to enrollment summary */
.enrollment-summary .enrollment-summary-table tr:nth-child(1) th,
.enrollment-summary .enrollment-summary-table tr:nth-child(1) td {
    font-size: 17px;
    font-weight: 600;
    color: #003366;
}

.enrollment-summary .enrollment-summary-table tr:nth-child(8) th {
     color: #0b6bb5;
}
.enrollment-summary .enrollment-summary-table tr:nth-child(8) td {
    color: #003366;
}

/* Discount Amount and Total Amount rows */
.enrollment-summary .enrollment-summary-table tr:nth-last-child(-n+2) th {
    color: #003366;
    font-weight: bold;
}

.enrollment-summary .enrollment-summary-table tr:nth-last-child(-n+2) td {
    font-weight: 600;
    color: #003366;
}

/* Terms and Conditions Section */
.enrollment-summary .condition-block {
    background-color: #f1f5f9;
    padding: 1.5rem;
    margin: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #0B6BB5;
}

.enrollment-summary .condition-block p {
    margin-top: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

.enrollment-summary .condition-block ul {
    padding-left: 1.5rem;
    margin-bottom: 0;
}

.enrollment-summary .condition-block li {
    margin-bottom: 0.5rem;
    font-size: 14px;
    color: #555;
}

.enrollment-summary .condition-block a {
    color: #0B6BB5;
    text-decoration: none;
    font-weight: 500;
}

.enrollment-summary .condition-block a:hover {
    text-decoration: underline;
}

/* Order Button Container */
.enrollment-summary .order-button-container {
    padding: 1.5rem;
    margin: 0 1.5rem 1.5rem;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.enrollment-summary .order-button-container p {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 15px;
    color: #444;
}

/* Checkbox styling */
.enrollment-summary #terms-checkbox {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #0B6BB5;
}

/* Place Order Button - only targeting when inside enrollment summary */
.enrollment-summary .place-order-button {
    display: block !important;
    width: 100% !important;
    background: linear-gradient(159deg, rgba(0,51,102,1) 0%, rgba(15,82,186,1) 100%) !important;
    color: #ffffff !important;
    padding: 16px !important;
    text-align: center !important;
    text-decoration: none !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.enrollment-summary .place-order-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}

.enrollment-summary .place-order-button:active {
    transform: translateY(1px) !important;
}

.enrollment-summary .place-order-button:disabled {
    background: linear-gradient(159deg, rgba(156,176,197,1) 0%, rgba(146,172,213,1) 100%) !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Responsive Design - scoped to enrollment summary */
@media (max-width: 768px) {
    .enrollment-summary {
        margin: 1rem;
        border-radius: 8px;
    }
    
    .enrollment-summary h2 {
        font-size: 22px;
        padding: 1.5rem;
    }
    
    .enrollment-summary .enrollment-summary-table th,
    .enrollment-summary .enrollment-summary-table td {
        padding: 0.8rem 1rem;
        font-size: 14px;
    }
    
    .enrollment-summary .enrollment-summary-table tr:nth-child(1) th,
    .enrollment-summary .enrollment-summary-table tr:nth-child(1) td {
        font-size: 15px;
    }
    
    .enrollment-summary .condition-block {
        padding: 1.2rem;
        margin: 1.2rem;
    }
    
    .enrollment-summary .condition-block p,
    .enrollment-summary .condition-block li {
        font-size: 13px;
    }
    
    .enrollment-summary .order-button-container {
        padding: 1.2rem;
        margin: 0 1.2rem 1.2rem;
    }
    
    .enrollment-summary .order-button-container p {
        font-size: 14px;
    }
    
    .enrollment-summary .place-order-button {
        padding: 14px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .enrollment-summary {
        margin: 0.5rem;
    }
    
    .enrollment-summary h2 {
        font-size: 20px;
        padding: 1.2rem;
    }
    
    .enrollment-summary .enrollment-summary-table th,
    .enrollment-summary .enrollment-summary-table td {
        padding: 0.7rem;
        font-size: 13px;
    }
    
    .enrollment-summary .enrollment-summary-table th {
        width: 40%;
    }
    
    .enrollment-summary .enrollment-summary-table td {
        width: 60%;
    }
    
    .enrollment-summary .condition-block {
        padding: 1rem;
        margin: 1rem;
    }
    
    .enrollment-summary .order-button-container {
        padding: 1rem;
        margin: 0 1rem 1rem;
    }
    
    .enrollment-summary .place-order-button {
        padding: 12px !important;
        font-size: 15px !important;
    }
}