/* *****************************************************

    ServerEast WHMCS Theme — Order Form Stylesheet
    ------------------------------------------------
    Color overrides for the control_alternative_compare
    HTML structure, scoped to servereastwhmcs theme.

    Color palette:
      Gray header:  #9A9DAC
      Green accent:  #72AC94  (darker: #5D8B77)
      Coral/red:     #DE6262  (darker: #c94e4e)
      Light bg:      #F0F1F5
      Purple:        #A66BBE  (darker: #8f5aa3)
      Text:          #5a5a5a
      Border:        #e8e8e8

***************************************************** */

/* IMPORT THEME FONTS */
@import url("//fonts.googleapis.com/css?family=Hind:400,300,600,500,700&subset=latin,latin-ext");
@import url("//fonts.googleapis.com/css?family=Montserrat:400,700");


/* =============================================
   GLOBAL / TYPOGRAPHY
   ============================================= */

.servereastwhmcs_alternative_compare {
    font-family: 'hind', Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
    font-size: 15px;
    color: #5a5a5a;
}

.servereastwhmcs_alternative_compare h1,
.servereastwhmcs_alternative_compare h2,
.servereastwhmcs_alternative_compare h3,
.servereastwhmcs_alternative_compare h4,
.servereastwhmcs_alternative_compare h5,
.servereastwhmcs_alternative_compare h6 {
    font-family: 'montserrat', Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
    font-weight: 700;
}

/* =============================================
   OTHER
   ============================================= */
.w-hidden {
    display: none !important;
}

/* =============================================
   PAGE TITLE (h4.h4)
   ============================================= */

.servereastwhmcs_alternative_compare .h4 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 25px;
    padding: 15px 20px;
    background: #9A9DAC;
    letter-spacing: -0.07em;
    text-transform: uppercase;
    position: relative;
    text-align: center;
    border: 0;
}

.servereastwhmcs_alternative_compare .h4:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(154, 157, 172, 0);
    border-top-color: #9A9DAC;
    border-width: 10px;
    margin-left: -10px;
}


/* =============================================
   PRODUCT PANELS
   ============================================= */

.servereastwhmcs_alternative_compare .panel-product {
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    margin-bottom: 30px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    overflow: hidden;
}

.servereastwhmcs_alternative_compare .panel-product:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

/* Panel heading — product name + price */
.servereastwhmcs_alternative_compare .panel-product > .panel-heading {
    background: #F0F1F5;
    border-bottom: 3px solid #72AC94;
    padding: 20px 15px;
    position: relative;
}

.servereastwhmcs_alternative_compare .panel-product > .panel-heading .panel-title {
    font-family: 'montserrat', Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #5a5a5a;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.servereastwhmcs_alternative_compare .panel-product .product-price {
    color: #5a5a5a;
}

.servereastwhmcs_alternative_compare .panel-product .product-price .price {
    font-size: 22px;
    color: #DE6262;
}

.servereastwhmcs_alternative_compare .panel-product .product-price .price strong {
    font-weight: 700;
}

.servereastwhmcs_alternative_compare .panel-product .product-price small {
    color: #9A9DAC;
    font-size: 12px;
}

/* Panel body — features/description */
.servereastwhmcs_alternative_compare .panel-product > .panel-body {
    padding: 20px 15px;
    font-size: 14px;
    color: #5a5a5a;
    min-height: 120px;
}

.servereastwhmcs_alternative_compare .panel-product .feature-value {
    color: #72AC94;
}

.servereastwhmcs_alternative_compare .panel-product .feature-value strong {
    font-weight: 700;
}

/* Panel footer — order button */
.servereastwhmcs_alternative_compare .panel-product > .panel-footer {
    background: #fff;
    border-top: 1px solid #e8e8e8;
    padding: 15px;
}

.servereastwhmcs_alternative_compare .panel-product .btn-order-now {
    background: #DE6262;
    border: 0;
    border-radius: 3px;
    color: #fff;
    font-family: 'montserrat', Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 10px 20px;
    transition: background 0.3s ease;
    box-shadow: none;
    text-shadow: none;
}

.servereastwhmcs_alternative_compare .panel-product .btn-order-now:hover {
    background: #c94e4e;
    color: #fff;
    text-decoration: none;
}

.servereastwhmcs_alternative_compare .panel-product .btn-order-now i {
    margin-right: 5px;
}

.servereastwhmcs_alternative_compare .panel-product .qty {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #9A9DAC;
}


/* =============================================
   FEATURED PRODUCT (panel-primary)
   ============================================= */

.servereastwhmcs_alternative_compare .panel-product.panel-primary {
    border-color: #72AC94;
    border-width: 2px;
}

.servereastwhmcs_alternative_compare .panel-product.panel-primary > .panel-heading {
    background: #72AC94;
    border-bottom-color: #5D8B77;
}

.servereastwhmcs_alternative_compare .panel-product.panel-primary > .panel-heading .panel-title {
    color: #fff;
}

.servereastwhmcs_alternative_compare .panel-product.panel-primary .product-price {
    color: #fff;
}

.servereastwhmcs_alternative_compare .panel-product.panel-primary .product-price .price {
    color: #fff;
}

.servereastwhmcs_alternative_compare .panel-product.panel-primary .product-price small {
    color: rgba(255, 255, 255, 0.75);
}

.servereastwhmcs_alternative_compare .panel-product.panel-primary .btn-order-now {
    background: #72AC94;
}

.servereastwhmcs_alternative_compare .panel-product.panel-primary .btn-order-now:hover {
    background: #5D8B77;
}


/* =============================================
   GROUP FEATURES (included with plans)
   ============================================= */

.servereastwhmcs_alternative_compare .group-features .panel {
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    margin-top: 20px;
}

.servereastwhmcs_alternative_compare .group-features .panel-heading {
    background: #9A9DAC;
    border: 0;
    padding: 12px 15px;
    position: relative;
}

.servereastwhmcs_alternative_compare .group-features .panel-heading:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(154, 157, 172, 0);
    border-top-color: #9A9DAC;
    border-width: 10px;
    margin-left: -10px;
}

.servereastwhmcs_alternative_compare .group-features .panel-heading .panel-title {
    font-family: 'montserrat', Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.servereastwhmcs_alternative_compare .fas.blue.fa-check {
    color: #72AC94;
}


/* =============================================
   SIDEBAR
   ============================================= */

.servereastwhmcs_alternative_compare .sidebar-secondary .panel-heading {
    background: #9A9DAC;
    border: 0;
    padding: 15px 8px;
    position: relative;
    margin-bottom: 12px;
}

.servereastwhmcs_alternative_compare .sidebar-secondary .panel-heading:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(154, 157, 172, 0);
    border-top-color: #9A9DAC;
    border-width: 10px;
    margin-left: -10px;
}

.servereastwhmcs_alternative_compare .sidebar-secondary .panel-title {
    font-family: 'montserrat', Optima, Segoe, "Segoe UI", Candara, Calibri, Arial, sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: -0.07em;
}

.servereastwhmcs_alternative_compare .sidebar-secondary .list-group-item {
    font-size: 14px;
    border-color: #f5f5f5;
    padding: 7px 15px;
}

.servereastwhmcs_alternative_compare .sidebar-secondary a.list-group-item.active,
.servereastwhmcs_alternative_compare .sidebar-secondary a.list-group-item.active:hover,
.servereastwhmcs_alternative_compare .sidebar-secondary a.list-group-item.active:focus {
    background-color: #DE6262;
    border-color: #DE6262;
    color: #fff;
}

.servereastwhmcs_alternative_compare .sidebar-secondary a.list-group-item:hover {
    color: #DE6262;
}

.servereastwhmcs_alternative_compare .sidebar-secondary .badge {
    background: #DE6262;
    color: #fff;
}


/* =============================================
   ALERTS
   ============================================= */

.servereastwhmcs_alternative_compare .alert-danger {
    border: 0;
    background: #DE6262;
    color: #fff;
    border-radius: 0;
}

.servereastwhmcs_alternative_compare .alert-success {
    border: 0;
    background: #73AE95;
    color: #fff;
    border-radius: 0;
}

.servereastwhmcs_alternative_compare .alert-info {
    border: 0;
    background: #608EC2;
    color: #fff;
    border-radius: 0;
}


/* =============================================
   BUTTONS (global within cart)
   ============================================= */

.servereastwhmcs_alternative_compare .btn {
    text-shadow: none;
    border: 0;
    border-radius: 3px;
}

.servereastwhmcs_alternative_compare .btn-default {
    background: #A66BBE;
    color: #fff;
}

.servereastwhmcs_alternative_compare .btn-default:hover {
    background: #8f5aa3;
    color: #fff;
}

.servereastwhmcs_alternative_compare .btn-primary {
    background: #DE6262;
    color: #fff;
}

.servereastwhmcs_alternative_compare .btn-primary:hover {
    background: #c94e4e;
    color: #fff;
}

.servereastwhmcs_alternative_compare .btn-success {
    background: #72AC94;
    color: #fff;
}

.servereastwhmcs_alternative_compare .btn-success:hover {
    background: #5D8B77;
    color: #fff;
}


/* =============================================
   BREADCRUMBS
   ============================================= */

.servereastwhmcs_alternative_compare ol.breadcrumb {
    position: relative;
    margin-top: 12px;
    background: #F5F5F5;
    border-radius: 4px;
}

.servereastwhmcs_alternative_compare ol.breadcrumb:after {
    top: 100%;
    left: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
    border-color: rgba(245, 245, 245, 0);
    border-top-color: #F5F5F5;
    border-width: 8px;
    margin-left: -8px;
}

.servereastwhmcs_alternative_compare ol.breadcrumb li {
    font-size: 14px;
}

.servereastwhmcs_alternative_compare ol.breadcrumb li.active {
    color: #DE6262;
}


/* =============================================
   MOBILE SIDEBAR (collapsed select)
   ============================================= */

.sidebar-collapsed {
    margin-bottom: 20px;
}

.sidebar-collapsed .form-control {
    border-color: #e8e8e8;
}


/* =============================================
   EQUAL HEIGHT ROWS
   ============================================= */

.row-eq-height {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.row-eq-height > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.row-eq-height .panel-product {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.row-eq-height .panel-product > .panel-body {
    flex: 1 1 auto;
}


/* =============================================
   FIFTH-COLUMN GRID (for 5-per-row)
   ============================================= */

.col-md-prod-fifth {
    width: 20%;
    float: left;
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}


/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 991px) {
    .servereastwhmcs_alternative_compare .panel-product > .panel-heading .panel-title {
        font-size: 14px;
    }

    .servereastwhmcs_alternative_compare .panel-product .product-price .price {
        font-size: 18px;
    }

    .servereastwhmcs_alternative_compare .panel-product .btn-order-now {
        font-size: 12px;
        padding: 8px 14px;
    }

    .col-md-prod-fifth {
        width: 33.333%;
    }
}

@media (max-width: 767px) {
    .row-eq-height {
        display: block;
    }

    .row-eq-height > [class*='col-'] {
        display: block;
    }

    .servereastwhmcs_alternative_compare .h4 {
        font-size: 18px;
        padding: 12px 15px;
    }

    .servereastwhmcs_alternative_compare .panel-product {
        margin-bottom: 20px;
    }

    .servereastwhmcs_alternative_compare .panel-product .product-price .price {
        font-size: 20px;
    }

    .col-md-prod-fifth {
        width: 100%;
    }

    .servereastwhmcs_alternative_compare .panel-product .btn-order-now {
        font-size: 13px;
        padding: 10px 20px;
        display: block;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .servereastwhmcs_alternative_compare .h4 {
        font-size: 16px;
        padding: 12px 10px;
    }

    .servereastwhmcs_alternative_compare .panel-product > .panel-heading {
        padding: 15px 10px;
    }
}
