/* =========================
   Force Plans Above Domain (RTL)
   ========================= */

/* Ensure the main container can reorder its elements */
.opc-wrapper {
    display: flex;
    flex-direction: column;
}

/* Plans first */
.choose-plan-wrapper {
    order: 1 !important;
}

/* Domain after plans */
.choose-domain-container {  /* Corrected class name */
    order: 2 !important;
}

/* Correct margins to avoid RTL overlap */
.choose-plan-wrapper,
.choose-domain-container {
    margin-bottom: 20px;
}

/* Align text inside each section */
.choose-plan-wrapper h2,
.choose-domain-container h2 {
    text-align: right !important;
}

/* If there's a Slick Slider inside the plans */
#productBoxWgs {
    direction: inherit; /* Keep the slider in its original direction */
}


/* =====================================================
   CONFIGURABLE OPTIONS GRID 
   ===================================================== */
/* ===== Reset & Base Styles ===== */
.wgs-radio-grid .wgs-config-option-content * {
    margin: 0;
    padding: 0;
    font-size: inherit;
    line-height: normal;
    color: inherit;
    font-weight: normal;
    text-align: center;
}

/* ===== Card Layout ===== */
.wgs-radio-grid .wgs-radio-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* ensure horizontal centering */
    text-align: center;  /* fallback centering */
}

.wgs-radio-grid .wgs-radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wgs-radio-grid .wgs-radio-card.active,
.wgs-radio-grid .wgs-radio-card:hover {
    border-color: #007bff;
    background-color: #f0f8ff;
}

.wgs-radio-grid .wgs-radio-card label {
    width: 100%;
    height: 100%;
    cursor: pointer;
    margin: 0;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ===== Content Container ===== */
.wgs-radio-grid .wgs-config-option-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ===== Icon / Flag ===== */
.wgs-radio-grid .wgs-config-option-name i,
.wgs-radio-grid .wgs-config-option-name .fi {
    font-size: 22px !important;
    margin: 0 auto 6px auto !important; /* horizontal centering */
    display: block !important;
    color: #007bff !important; /* keep blue color for OS & panels */
    text-align: center !important;
}

/* ===== Datacenter Name ===== */
.wgs-radio-grid .wgs-config-option-name {
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
}

/* ===== Price Wrapper ===== */
.wgs-radio-grid .wgs-config-option-price-wrapper {
    width: 100%;
    padding-top: 8px;
    margin-top: 8px;
    border-top: 1px solid #eee;
    text-align: center !important;
}

/* ===== Price Text ===== */
.wgs-radio-grid .wgs-config-option-price {
    font-size: 11px !important;
    color: #ff6600 !important; /* restore previous orange color */
    font-weight: normal !important;
    line-height: 1.2 !important;
    display: block !important;
    text-align: center !important;
}



/* =====================================================
   Enterprise Slider – Clean + Numbers Visible
   ===================================================== */

/* =====================================================
   Customized Ion.RangeSlider - Modern Enterprise Skin
   ===================================================== */

.irs {
    height: 55px;
    margin-top: 18px;
}

.irs-with-grid {
    height: 75px;
}


.irs-line {
    height: 7px; 
    top: 25px;
    background: #007bff; 
    border-radius: 6px;
}


.irs-bar {
    height: 7px; 
    top: 25px;
    background: #ff7a00; 
    border-radius: 6px;
}

.irs-bar-edge {
    top: 25px;
    height: 7px; 
    width: 6px;
    background: #ff7a00;
    border-radius: 6px 0 0 6px;
}


.irs-slider {
    width: 20px; 
    height: 26px;
    top: 16px; 
    background: #ffffff;
    border: 3px solid #2a9df4;
    box-shadow: 0 4px 10px rgba(0,0,0,0.35);
    border-radius: 6px;
    cursor: pointer;
}

.irs-slider.state_hover, .irs-slider:hover {
    background: #f0f0f0;
}


.irs-single {
    color: #fff;
    font-size: 12px; 
    line-height: 1.333;
    padding: 2px 8px;
    background: #ff7a00; 
    border-radius: 4px;
    top: -10px;
}


.irs-single:after {
    position: absolute; 
    display: block; 
    content: "";
    bottom: -6px; 
    left: 50%;
    width: 0; 
    height: 0;
    margin-left: -3px;
    border: 3px solid transparent;
    border-top-color: #ff7a00;
}


.irs-grid {
    height: 25px;
    bottom: -15px;
}

.irs-grid-pol {
    background: #e1e4e9;
}

.irs-grid-text {
    color: #9ca3af;
    font-size: 11px;
    bottom: 0;
}

/* Min/Max static labels */
.irs-min, .irs-max {
    color: #9ca3af;
    font-size: 11px;
    background: rgba(0,0,0,0.05);
    padding: 1px 4px;
    border-radius: 3px;
    top: 0;
}


.intel_box .check_box span.ram-box li.not-included {
    color: #a0aec0 !important;
}

.intel_box .check_box span.ram-box li.not-included:before {
    content: "\f057" !important; 
    color: #ef4444 !important;   
}