/**
 * Public-facing styles for Resolve Pricing Matrix.
 *
 * @package    Resolve_Pricing_Matrix
 * @subpackage Resolve_Pricing_Matrix/public/css
 */

.rts-pricing-calculator {
   max-width: 600px;
   margin: 2rem auto;
   padding: 2rem;
   background: #f9f9f9;
   border: 1px solid #ddd;
   border-radius: 8px;
   /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; */
}

.rts-pricing-header {
   margin-bottom: 1.5rem;
   padding-bottom: 1rem;
   font-size: 1.5rem;
   border-bottom: 2px solid #0073aa;
}

.rts-course-name {
   margin: 0 0 0.5rem 0;
   color: #333;
}

.rts-audit-badge {
   display: inline-block;
   padding: 0.25rem 0.75rem;
   background: #0073aa;
   color: #fff;
   border-radius: 4px;
   font-weight: 600;
}

.rts-pricing-details {
   background: #fff;
   padding: 1.5rem;
   border-radius: 4px;
}

.rts-pricing-row {
   display: flex;
   justify-content: space-between;
   padding: 0.75rem 0;
   border-bottom: 1px solid #f0f0f0;
}

.rts-pricing-row:last-child {
   border-bottom: none;
}

.rts-label {
   /* color: #555; */
}

.rts-value {
   font-weight: 600;
   color: #333;
}

.rts-discount .rts-value {
   color: #0a8a0a;
}

.rts-total {
   margin-top: 1rem;
   padding-top: 1rem;
   border-top: 2px solid #0073aa;
   font-size: 1.25rem;
}

.rts-total-amount {
   color: #0073aa;
   font-size: 1.5rem;
}

.rts-pricing-error {
   padding: 1rem;
   background: #f8d7da;
   color: #721c24;
   border: 1px solid #f5c6cb;
   border-radius: 4px;
   margin: 1rem 0;
}

/* Gravity Forms Integration Styles */
.rts-gf-pricing-display {
   padding: 1.5rem;
   background: #f9f9f9;
   border: 1px solid #686e77;
   border-radius: 2px;
   margin: 1.5rem 0;
}

.rts-gf-heading {
   margin: 0 0 1rem 0;
   font-size: 22px;
   padding-bottom: 0.75rem;
   border-bottom: 2px solid #0073aa;
}

.rts-gf-audit-badge {
   display: inline-block;
   padding: 0.25rem 0.75rem;
   background: #0073aa;
   color: #fff;
   border-radius: 4px;
   font-size: 12px;
   font-weight: 600;
   margin-bottom: 1rem;
}

.rts-gf-details {
   background: #fff;
   padding: 1rem;
   border-radius: 4px;
   margin-top: 1rem;
}

.rts-gf-row {
   display: flex;
   justify-content: space-between;
   padding: 0.5rem 0;
   border-bottom: 1px solid #f0f0f0;
}

.rts-gf-row:last-child {
   border-bottom: none;
}

.rts-gf-label {
   font-weight: 500;
   color: #555;
}

.rts-gf-value {
   font-weight: 600;
   color: #333;
}

.rts-gf-discount .rts-gf-value {
   color: #0a8a0a;
}

.rts-gf-total {
   margin-top: 0.75rem;
   padding-top: 0.75rem;
   border-top: 2px solid #0073aa !important;
}

.rts-gf-total-amount {
   font-weight: 900;
   font-size: 1.35;
}

#gform_submit_button_14 {
   background-color: #6D2077;
   font-size: 18px;;
}