/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

p {
	margin-block-end: 0rem;
}
.custom-myaccount-sidebar {
    background: #2c3e50;
    padding: 20px;
    color: #fff;
    min-height: 100vh;
    float: left;
}

.custom-myaccount-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-myaccount-nav li {
    margin-bottom: 10px;
}

.custom-myaccount-nav a {
    color: #ecf0f1;
    text-decoration: none;
    display: block;
    padding: 10px;
    background-color: #34495e;
    border-radius: 4px;
    transition: 0.3s;
}

.custom-myaccount-nav a:hover {
    background-color: #4A7C59;
    /* background-color: #2d5233; */
    color: #fff;
}

.woocommerce-MyAccount-content {
    padding: 40px;
    background: #f5f7fa;
}

/**/
.dashboard-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.dashboard-cards .card {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    flex: 1 1 200px;
}

/**/
.woocommerce .custom-dash {
    display: flex;
}

.woocommerce .custom-dash .custom-myaccount-sidebar {
    width: 350px;
}

.woocommerce .custom-dash .woocommerce-MyAccount-content {
    width: 100%;
}

/* ========================================
   RealtorEye Pricing Styles
   ======================================== */

/* RealtorEye Pricing Section Shortcode Styles */
.realtoreye-pricing {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 40px 0;
}

.realtoreye-pricing * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.realtoreye-pricing .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.realtoreye-pricing .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.realtoreye-pricing .pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.realtoreye-pricing .pricing-card:hover {
    transform: translateY(-5px);
}

.realtoreye-pricing .pricing-card.featured {
    border: 3px solid #5d8a66;
    transform: scale(1.05);
}

.realtoreye-pricing .pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.realtoreye-pricing .pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #5d8a66;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

.realtoreye-pricing .pricing-tier {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.realtoreye-pricing .pricing-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #5d8a66;
    margin-bottom: 0.5rem;
}

.realtoreye-pricing .pricing-unit {
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.realtoreye-pricing .pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.realtoreye-pricing .pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ecf0f1;
}

.realtoreye-pricing .cta-button {
    background: linear-gradient(135deg, #5d8a66 0%, #6b9b73 100%);
    color: white;
    padding: 18px 20px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 138, 102, 0.3);
}

.realtoreye-pricing .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(93, 138, 102, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .realtoreye-pricing .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .realtoreye-pricing .pricing-card.featured {
        transform: none;
    }

    .realtoreye-pricing .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* Shared RealtorEye Styles */
.realtoreye-pricing-calculator,
.realtoreye-pricing-section {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.realtoreye-pricing-calculator {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #5d8a66;
}

.realtoreye-calculator-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

/* Founder Badge */
.realtoreye-founder-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.realtoreye-founder-badge span {
    display: block;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.realtoreye-founder-badge small {
    display: block;
    font-size: 0.85rem;
    opacity: 0.95;
}

/* Price Breakdown */
.realtoreye-summary-breakdown {
    background: #f8f9fa;
    padding: 0.75rem !important;
    border-radius: 8px;
    font-size: 0.9rem;
}

.realtoreye-summary-breakdown span:last-child {
    color: #667eea;
    font-weight: 600;
}

.realtoreye-zip-input-section {
    margin-bottom: 1.5rem;
}

.realtoreye-zip-input-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.realtoreye-zip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.realtoreye-zip-tag {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    position: relative;
}

.realtoreye-zip-tag .zip-index {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: bold;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.realtoreye-zip-tag .remove {
    cursor: pointer;
    font-weight: bold;
    margin-left: 0.3rem;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #333 !important;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: background-color 0.2s;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.realtoreye-zip-tag .remove:hover {
    background: rgba(255, 255, 255, 1) !important;
}

.realtoreye-zip-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

/* Input row with Add button */
.realtoreye-zip-input-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.realtoreye-add-zip-btn {
    background: #1b75d0;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.realtoreye-add-zip-btn:hover {
    background: #1461ad;
}

.realtoreye-zip-input:focus {
    outline: none;
    border-color: #5d8a66;
}

.realtoreye-billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.realtoreye-toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.realtoreye-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.realtoreye-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.realtoreye-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.realtoreye-toggle-switch input:checked+.realtoreye-slider {
    background-color: #5d8a66;
}

.realtoreye-toggle-switch input:checked+.realtoreye-slider:before {
    transform: translateX(26px);
}

.realtoreye-billing-label {
    font-weight: bold;
    color: #2c3e50;
    transition: color 0.3s;
}

.realtoreye-billing-label.active {
    color: #5d8a66;
}

.realtoreye-savings-badge {
    background: #27ae60;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-left: 5px;
}

.realtoreye-pricing-summary {
    background: #ffffff;
    padding: 1.25rem 1.25rem;
    border-radius: 12px;
    margin-top: 1rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.realtoreye-summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.realtoreye-summary-total {
    font-weight: bold;
    font-size: 1.2rem;
    color: #2c3e50;
    border-top: 2px solid #e9ecef;
    padding-top: 0.75rem;
}

/* Benefits row */
.realtoreye-benefits {
    display: flex;
    justify-content: center;
    gap: 2rem;
    align-items: center;
    color: #6b7280;
    margin-top: 0.75rem;
    flex-wrap: wrap;
    row-gap: 10px;
}

.realtoreye-benefits .benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.realtoreye-benefits .benefit-item svg {
    width: 16px;
    height: 16px;
    color: #27ae60;
}

/* Hide nav in plans view */
.realtoreye-pricing-plans .realtoreye-form-navigation {
    display: none;
}

.realtoreye-cta-button-container {
    text-align: center;
}
.realtoreye-cta-button {
    /* background: linear-gradient(135deg, #5d8a66 0%, #6b9b73 100%);
    color: white !important;
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(93, 138, 102, 0.3);
    width: 100%;
    text-align: center;
    margin-top: 1rem; */
    display: block;
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 25px;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    margin: 30px auto 10px;
    width: 100%;
    max-width: 270px;
    transition: background-color 0.3s;
    /* New styles */
    background-color: #396347;
    font-family: "Roboto", Sans-serif;
    font-weight: 600;
    border-radius: 25px 25px 25px 25px;
    padding: 10px 32px 10px 32px;
}

.realtoreye-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(93, 138, 102, 0.4);
    color: white !important;
    text-decoration: none !important;
}

	.realtoreye-cta-button{
			background-color: #396347;
			font-family: "Roboto", Sans-serif;
			font-weight: 600;
			border-style: solid;
			border-width: 1px 1px 1px 1px;
			border-color: #02010100;
			border-radius: 25px 25px 25px 25px;
			padding: 10px 28px 10px 28px !important
		}
		.realtoreye-cta-button:hover{
			background-color: #FFFFFF;
			color: #000000 !important;
			border-color: #396347;
			box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.3);
		}

/* Additional Pricing Plans Styles */
.realtoreye-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.realtoreye-billing-toggle {
    margin-bottom: 3rem;
}

.realtoreye-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.realtoreye-pricing-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.realtoreye-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
}

.realtoreye-pricing-card.featured {
    border: 3px solid #5d8a66;
    transform: scale(1.05);
}

.realtoreye-pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #5d8a66;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: bold;
}

.realtoreye-pricing-tier {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.realtoreye-pricing-price {
    font-size: 3rem;
    font-weight: bold;
    color: #5d8a66;
    margin-bottom: 0.5rem;
}

.realtoreye-pricing-unit {
    color: #6c757d;
    margin-bottom: 2rem;
}

.realtoreye-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.realtoreye-pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.realtoreye-pricing-features li:last-child {
    border-bottom: none;
}

/* Form Styles */
.realtoreye-form-container {
    display: block;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 3rem;
    overflow: hidden;
}

.realtoreye-form-header {
    background: transparent;
    color: #2c3e50;
    padding: 1.5rem 2rem 0.5rem 2rem;
    text-align: center;
}

.realtoreye-form-title {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
	font-weight: bold;
}

.realtoreye-selected-plan {
    margin: 0 0 1rem 0;
    opacity: 0.9;
}

.realtoreye-progress-bar {
    background: rgba(255, 255, 255, 0.3);
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.realtoreye-progress-fill {
    background: white;
    height: 100%;
    width: 33.33%;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.realtoreye-form-body {
    padding: 2rem;
	padding-top: 0;
}

.realtoreye-step {
    display: none;
}

.realtoreye-step.active {
    display: block;
}

.realtoreye-step h3 {
    margin: 0 0 1.5rem 0;
    color: #2c3e50;
    text-align: center;
}

.realtoreye-form-group {
    margin-bottom: 1.5rem;
}

.realtoreye-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #2c3e50;
}

.realtoreye-form-input,
.realtoreye-form-select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
}

.realtoreye-form-input:focus,
.realtoreye-form-select:focus {
    outline: none;
    border-color: #5d8a66;
}

/* Override zip tags for plans form */
.realtoreye-pricing-plans .realtoreye-zip-tags {
    gap: 8px;
    margin-top: 10px;
    min-height: 20px;
}

.realtoreye-pricing-plans .realtoreye-zip-tag {
    /* background: #eaf4ff !important;
    color: #0b5ed7 !important;
    border: 1px solid #cfe2ff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    gap: 6px; */
    display: inline-flex;
    align-items: center;
    background: #e8f4fc;
    border: 1px solid #a1d2f7;
    border-radius: 20px;
    padding: 5px 12px;
    margin: 0 5px 8px 0;
    font-size: 14px;
}

.realtoreye-zip-tag .zip-code {

    /* font-weight: 500; */
    flex: 1;
    color: #2c3e50 !important;
}

.realtoreye-pricing-plans .realtoreye-zip-tag .remove {
    padding: 0 4px;
    border-radius: 10px;
    background: transparent !important;
    color: #d8342c !important;
    width: auto !important;
    height: auto !important;
}

.realtoreye-pricing-plans .realtoreye-zip-tag .remove:hover {
    background: rgba(216, 52, 44, 0.06) !important;
}

.realtoreye-pricing-plans .realtoreye-zip-tag .zip-index {
    display: none !important;
}


.realtoreye-form-navigation {
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    border-top: 1px solid #e9ecef;
}

.realtoreye-nav-button {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.realtoreye-nav-button.prev {
    background: #6c757d;
    color: white;
}

.realtoreye-nav-button.prev:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
}

.realtoreye-nav-button.next {
    background: #5d8a66;
    color: white;
}

.realtoreye-nav-button:hover:not(:disabled) {
    transform: translateY(-2px);
}

/* Order Summary Styles */
.realtoreye-order-summary {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.realtoreye-summary-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #5d8a66;
}

.realtoreye-summary-header h4 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.25rem;
}

.realtoreye-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.realtoreye-summary-item:last-child {
    border-bottom: none;
}

.realtoreye-summary-label {
    font-weight: 500;
    color: #495057;
}

.realtoreye-summary-value {
    font-weight: 600;
    color: #2c3e50;
    text-align: right;
}

.realtoreye-summary-total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid #5d8a66;
    font-size: 1.1rem;
}

.realtoreye-summary-total .realtoreye-summary-label {
    color: #2c3e50;
    font-weight: 600;
}

.realtoreye-summary-total .realtoreye-summary-value {
    color: #5d8a66;
    font-weight: 700;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .realtoreye-pricing-grid {
        grid-template-columns: 1fr;
    }

    .realtoreye-pricing-card.featured {
        transform: none;
    }

    .realtoreye-form-body {
        padding: 1rem;
    }

    .realtoreye-summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .realtoreye-summary-value {
        text-align: left;
    }
}

.dashboard-cards h3 {
    font-size: 1rem;
}

#content .page-content:has(.woocommerce-form-login) {
    max-width: 50% !important;
    margin: 1rem auto;
}

/* Hide default "My account" page title on WooCommerce account pages */
body.woocommerce-account .entry-title {
    display: none !important;
}

/* .woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register{
	max-width:50% !important;
	margin:1rem auto;
} */

/* Referral popup on WooCommerce thank you page */
.re-referral-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.re-referral-modal.is-open {
    display: flex;
}

.re-referral-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
}

.re-referral-modal__dialog {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 28px 24px;
    max-width: 520px;
    width: 92%;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
    border-top: 4px solid #4A7C59;
    z-index: 1;
}

.re-referral-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: transparent;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    color: #6b7280;
}

.re-referral-modal__header {
    margin-bottom: 16px;
}

.re-referral-modal__title {
    margin: 0 0 6px 0;
    font-size: 1.4rem;
    color: #1f2933;
}

.re-referral-modal__subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #6b7280;
}

.re-referral-modal__body {
    margin-top: 12px;
}

.re-referral-modal__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.re-referral-modal__link-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.re-referral-modal__input {
    flex: 1;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    padding: 10px 12px;
    font-size: 0.9rem;
    background: #f9fafb;
    color: #111827;
}

.re-referral-modal__input:focus {
    outline: none;
    border-color: #4A7C59;
    box-shadow: 0 0 0 1px rgba(74, 124, 89, 0.15);
}

.re-referral-modal__copy {
    white-space: nowrap;
    border-radius: 8px !important;
    background: #4A7C59 !important;
    border-color: #4A7C59 !important;
    font-weight: 600;
    color: #fff !important;
    font-size: 14px !important;
    padding: 13px !important;
}

.re-referral-modal__copy:hover {
    background: #396347 !important;
    border-color: #396347 !important;
}

.re-referral-modal__hint {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #6b7280;
}

.re-referral-modal__footer {
    margin-top: 18px;
    text-align: right;
}

.re-referral-modal__cta {
    border-radius: 999px !important;
    background: #1b75d0 !important;
    border-color: #1b75d0 !important;
    font-weight: 600;
    color: #fff !important;
    padding-inline: 18px !important;
}

.re-referral-modal__cta:hover {
    background: #145ca5 !important;
    border-color: #145ca5 !important;
}

@media (max-width: 600px) {
    .re-referral-modal__dialog {
        padding: 20px 18px 20px;
        max-width: 94%;
    }

    .re-referral-modal__title {
        font-size: 1.2rem;
    }

    .re-referral-modal__link-row {
        flex-direction: column;
        align-items: stretch;
    }

    .re-referral-modal__footer {
        text-align: center;
    }
}
  
/* Restrict font-family override to text-like elements, not all */
body, 
textarea, 
input, 
button, 
select, 
label, 
p, 
h1, h2, h3, h4, h5, h6, 
a, 
li, 
td, 
th, 
div, 
strong, 
em {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", sans-serif !important;
}
/* span,  */

html {
    scroll-behavior: smooth;          /* optional, makes it scroll nicely */
    scroll-padding-top: 150px;        /* match your sticky header height */
}
  