

/* =========================================================
   POLARIS TICKET FORM
   Vertical modal layout
   ========================================================= */

   .polaris-ticket-form {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
    padding: 5px 0 20px;
}


/* =========================================================
   SECTION
   ========================================================= */

.polaris-ticket-section {
    padding: 26px 0 0px;
    
}

.polaris-ticket-section:first-child {
    padding-top: 5px;
}


/* =========================================================
   SECTION HEADING
   ========================================================= */

.polaris-ticket-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 26px;
    text-align:left;
}

.polaris-ticket-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    border: 1px solid #55b04f;
    border-radius: 50%;

    color: #55b04f;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}

.polaris-ticket-section-title {
    margin-top: 1px;

    color: #202526;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-align:left;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.polaris-ticket-section-subtitle {
    margin-top: 4px;

    color: #7a8181;
    text-align:left;
    font-size: 13px;
    line-height: 1.45;
}


/* =========================================================
   LABELS
   ========================================================= */

.polaris-ticket-label {
    display: block;
text-align:left;
    margin-bottom: 8px;

    color: #4f5758;

    font-size: 12px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: .055em;
}


/* =========================================================
   INPUTS
   ========================================================= */

.polaris-ticket-input {
    min-height: 48px;

    padding: 11px 14px;

    border: 1px solid #dfe4e3;
    border-radius: 8px;

    background: #ffffff;

    color: #24292a;

    font-size: 14px;

    box-shadow: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.polaris-ticket-input:hover {
    border-color: #cbd2d0;
}

.polaris-ticket-input:focus {
    border-color: #55b04f;

    background: #ffffff;

    box-shadow: 0 0 0 3px rgba(85, 176, 79, .10);

    outline: none;
}


/* Read-only dealer field */

.polaris-ticket-input[readonly] {
    background: #f7f8f8;
    color: #626969;
}


/* Select */

select.polaris-ticket-input {
    cursor: pointer;
}


/* =========================================================
   TEXTAREA
   ========================================================= */

.polaris-ticket-textarea {
    width: 100%;
    min-height: 135px;

    padding: 14px;

    border: 1px solid #dfe4e3;
    border-radius: 8px;

    background: #fff;

    color: #24292a;

    font-size: 14px;
    line-height: 1.55;

    resize: vertical;

    box-shadow: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}

.polaris-ticket-textarea:focus {
    border-color: #55b04f;

    box-shadow: 0 0 0 3px rgba(85, 176, 79, .10);

    outline: none;
}


/* =========================================================
   EMERGENCY
   ========================================================= */

.polaris-ticket-emergency {
    padding: 16px;

    border: 1px solid #e3e7e5;
    border-radius: 8px;
text-align: left;
    background: #fafbfa;
}

.polaris-ticket-radio-group {
    display: flex;
    gap: 24px;
    margin-top: 10px;
}

.polaris-ticket-radio {
    margin: 0;
    padding: 0;
}

.polaris-ticket-radio .form-check-input {
    margin-top: .18em;

    border-color: #b8c0be;

    cursor: pointer;
}

.polaris-ticket-radio .form-check-input:checked {
    background-color: #55b04f;
    border-color: #55b04f;
}

.polaris-ticket-radio .form-check-label {
    color: #343a3b;

    font-size: 14px;

    cursor: pointer;
}


/* =========================================================
   ATTACHMENTS
   ========================================================= */

.polaris-ticket-attachments {
    padding: 18px;

    border: 1px dashed #cbd3d1;
    border-radius: 9px;

    background: #fafbfa;
}

.polaris-ticket-attachment-label {
    margin-bottom: 13px;

    color: #5f6767;

    font-size: 13px;
}
.polaris-ticket-attachment-title{text-align:left}
.polaris-ticket-attachment-actions {
    display: flex;
    gap: 9px;
}

.polaris-attachment-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 38px;
    padding: 7px 14px;

    border: 1px solid #d8dfdd;
    border-radius: 7px;

    background: #ffffff;

    color: #3e4646;

    font-size: 13px;
    font-weight: 500;

    cursor: pointer;

    transition:
        color .2s ease,
        border-color .2s ease,
        background-color .2s ease;
}

.polaris-attachment-button:hover {
    border-color: #55b04f;
    background: #f5faf5;
    color: #55b04f;
}

.polaris-attachment-button i {
    font-size: 16px;
}

.polaris-upload-message {
    margin: 8px 0 0;

    color: #55b04f;

    font-size: 13px;
    font-style: italic;
}


/* =========================================================
   CAPTCHA
   ========================================================= */

.polaris-ticket-captcha {
    display: flex;
    justify-content: start;

    padding: 26px 0 10px;
}


/* =========================================================
   SUBMIT
   ========================================================= */

.polaris-ticket-submit-area {
    display: flex;
    justify-content: flex-start;

    padding-top: 22px;
}

.polaris-ticket-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;

    min-height: 48px;
    min-width: 150px;

    padding: 10px 18px;

    border: 0;
    border-radius: 8px;

    background: #55b04f;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: .06em;
    text-transform: uppercase;

    box-shadow: none;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.polaris-ticket-submit:hover {
    background: #499b44;
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow: 0 7px 18px rgba(85, 176, 79, .20);
}

.polaris-ticket-submit:focus {
    background: #499b44;
    color: #ffffff;

    box-shadow: 0 0 0 3px rgba(85, 176, 79, .16);

    outline: none;
}

.polaris-ticket-submit-arrow {
    font-size: 19px;
    line-height: 1;

    transition: transform .2s ease;
}

.polaris-ticket-submit:hover .polaris-ticket-submit-arrow {
    transform: translateX(3px);
}


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

@media (max-width: 767.98px) {

    .polaris-ticket-form {
        max-width: 100%;
    }

    .polaris-ticket-section {
        padding: 22px 0 26px;
    }

    .polaris-ticket-section-heading {
        margin-bottom: 22px;
    }

    .polaris-ticket-section-title {
        font-size: 14px;
    }

    .polaris-ticket-section-subtitle {
        font-size: 12px;
    }

    .polaris-ticket-submit-area {
        justify-content: stretch;
    }

    .polaris-ticket-submit {
        width: 100%;
    }
}
.polaris-ticket-error{text-align:left}

/* =========================================================
   POLARIS MEASURE TABS
   HTML/PHP/JS REMAINS UNCHANGED
   CSS ONLY
   ========================================================= */


/* ---------------------------------------------------------
   MAIN TAB AREA
   --------------------------------------------------------- */

   .support,
   #pills-tab,
   #pills-tabContent {
       box-sizing: border-box;
   }
   
   
   /* The existing col-md-10 becomes the measure workspace */
   
   #pills-tab {
       display: flex !important;
       flex-direction: column !important;
   
       width: 250px;
       min-width: 250px;
   
       margin: 0 !important;
       padding: 8px !important;
   
       gap: 6px;
   
       background: #f7f9f8;
   
       border: 1px solid #e5eae7;
       border-radius: 16px;
   
       list-style: none;
   }
   
   
   /* ---------------------------------------------------------
      TURN THE EXISTING BOOTSTRAP CONTAINER INTO TWO COLUMNS
      --------------------------------------------------------- */
   
   #pills-tab {
       float: left;
   }
   
   #pills-tabContent {
       margin-left: 275px;
   }
   
   
   /* ---------------------------------------------------------
      TAB ITEMS
      --------------------------------------------------------- */
   
   #pills-tab .nav-item {
       width: 100% !important;
   
       margin: 0 !important;
   
       height: auto !important;
   }
   
   
   /* ---------------------------------------------------------
      TAB BUTTONS
      --------------------------------------------------------- */
   
   #pills-tab .nav-link {
       position: relative;
   
       width: 100%;
   
       min-height: 72px;
   
       display: flex !important;
       align-items: center;
       justify-content: flex-start;
   
       padding: 16px 18px !important;
   
       border: 0 !important;
       border-radius: 11px !important;
   
       background: transparent;
   
       color: #68736e;
   
       text-align: left;
   
       font-size: 14px;
       font-weight: 600;
   
       line-height: 1.3;
   
       transition:
           background .2s ease,
           color .2s ease,
           transform .2s ease;
   }
   
   
   /* Number before each tab */
   
   #pills-tab .nav-link::before {
       width: 32px;
       height: 32px;
   
       min-width: 32px;
   
       display: flex;
       align-items: center;
       justify-content: center;
   
       margin-right: 12px;
   
       border-radius: 50%;
   
       background: #ffffff;
   
       border: 1px solid #dfe6e2;
   
       color: #8a9690;
   
       font-size: 11px;
       font-weight: 700;
   
       transition:
           background .2s ease,
           border-color .2s ease,
           color .2s ease;
   }
   
   
   /* Individual numbers */
   
   #pills-home-tab::before {
       content: "01";
   }
   
   #pills-profile-tab::before {
       content: "02";
   }
   
   #pills-contact-tab::before {
       content: "03";
   }
   
   /*
      Your existing HTML has the fourth tab using
      pills-contact-tab again, so target the fourth
      nav item directly.
   */
   
   #pills-tab .nav-item:nth-child(4) .nav-link::before {
       content: "04";
   }
   
   
   /* ---------------------------------------------------------
      HOVER
      --------------------------------------------------------- */
   
   #pills-tab .nav-link:hover {
       background: #ffffff;
   
       color: #55b04f;
   
       transform: translateX(3px);
   }
   
   #pills-tab .nav-link:hover::before {
       border-color: #b9dfb5;
   
       color: #55b04f;
   
       background: #f1faf0;
   }
   
   
   /* ---------------------------------------------------------
      ACTIVE TAB
      --------------------------------------------------------- */
   
   #pills-tab .nav-link.active {
       background: #ffffff !important;
   
       color: #55b04f !important;
   
       box-shadow:
           0 5px 18px rgba(35, 55, 45, .07);
   }
   
   
   /* Green active indicator */
   
   #pills-tab .nav-link.active::after {
       content: "";
   
       position: absolute;
   
       right: 10px;
       top: 50%;
   
       width: 4px;
       height: 30px;
   
       transform: translateY(-50%);
   
       border-radius: 10px;
   
       background: #55b04f;
   }
   
   
   /* Active number */
   
   #pills-tab .nav-link.active::before {
       background: #55b04f;
   
       border-color: #55b04f;
   
       color: #ffffff;
   }
   
   
   /* ---------------------------------------------------------
      CONTENT PANEL
      --------------------------------------------------------- */
   
   #pills-tabContent {
       min-height: 400px;
   
       padding: 30px;
   
       background: #ffffff;
   
       border: 1px solid #e5eae7;
   
       border-radius: 16px;
   
       box-shadow:
           0 8px 30px rgba(27, 45, 36, .05);
   }
   
   
   /* ---------------------------------------------------------
      TAB CONTENT
      --------------------------------------------------------- */
   
   #pills-tabContent .tab-pane {
       color: #303936;
   
       font-size: 15px;
   
       line-height: 1.7;
   }
   
   
   /* ---------------------------------------------------------
      CONTENT HEADINGS
      --------------------------------------------------------- */
   
   #pills-tabContent h1,
   #pills-tabContent h2,
   #pills-tabContent h3,
   #pills-tabContent h4,
   #pills-tabContent h5,
   #pills-tabContent h6 {
       color: #17201d;
   
       font-weight: 700;
   
       line-height: 1.25;
   }
   
   
   /* First heading gets the Polaris green accent */
   
   #pills-tabContent h1:first-child,
   #pills-tabContent h2:first-child,
   #pills-tabContent h3:first-child,
   #pills-tabContent h4:first-child {
       color: #55b04f;
   }
   
   
   /* ---------------------------------------------------------
      CONTENT PARAGRAPHS
      --------------------------------------------------------- */
   
   #pills-tabContent p {
       margin-bottom: 18px;
   }
   
   #pills-tabContent p:last-child {
       margin-bottom: 0;
   }
   
   
   /* ---------------------------------------------------------
      LISTS
      --------------------------------------------------------- */
   
   #pills-tabContent ol,
   #pills-tabContent ul {
       padding-left: 24px;
   
       margin-top: 15px;
       margin-bottom: 20px;
   }
   
   #pills-tabContent li {
       margin-bottom: 9px;
   }
   
   
   /* ---------------------------------------------------------
      CONTENT IMAGES
      --------------------------------------------------------- */
   
   #pills-tabContent img.img-fluid {
       display: block;
   
       width: auto;
       max-width: 100%;
   
       height: auto;
   
       margin: 28px auto 5px;
   
       border-radius: 12px;
   
       border: 1px solid #e5eae7;
   
       box-shadow:
           0 8px 25px rgba(30, 45, 38, .08);
   }
   
   
   /* ---------------------------------------------------------
      MODERN STEP-LIKE CONTENT
      --------------------------------------------------------- */
   
   #pills-tabContent strong {
       color: #202a26;
       font-weight: 700;
   }
   
   
   /* ---------------------------------------------------------
      SCROLLING
      --------------------------------------------------------- */
   
   /*
      If this is inside your modal, the content itself can
      scroll without changing the existing HTML.
   */
   
   #pills-tabContent {
       max-height: calc(100vh - 260px);
   
       overflow-y: auto;
       overflow-x: hidden;
   
       scrollbar-width: thin;
       scrollbar-color: #55b04f transparent;
   }
   
   
   /* Chrome / Edge / Safari */
   
   #pills-tabContent::-webkit-scrollbar {
       width: 6px;
   }
   
   #pills-tabContent::-webkit-scrollbar-track {
       background: transparent;
   }
   
   #pills-tabContent::-webkit-scrollbar-thumb {
       background: #55b04f;
   
       border-radius: 10px;
   }
   
   #pills-tabContent::-webkit-scrollbar-thumb:hover {
       background: #43983e;
   }
   
   
   /* ---------------------------------------------------------
      RESPONSIVE
      --------------------------------------------------------- */
   
   @media (max-width: 991.98px) {
   
       #pills-tab {
           float: none;
   
           width: 100%;
           min-width: 0;
   
           flex-direction: row !important;
   
           overflow-x: auto;
   
           padding: 6px !important;
   
           gap: 6px;
       }
   
       #pills-tab .nav-item {
           width: auto !important;
   
           min-width: 180px;
       }
   
       #pills-tab .nav-link {
           min-height: 58px;
       }
   
       #pills-tab .nav-link.active::after {
           right: auto;
           left: 50%;
   
           top: auto;
           bottom: 5px;
   
           width: 30px;
           height: 3px;
   
           transform: translateX(-50%);
       }
   
       #pills-tabContent {
           margin-left: 0;
   
           margin-top: 15px;
   
           max-height: calc(100vh - 300px);
   
           padding: 24px;
       }
   }
   
   
   /* ---------------------------------------------------------
      MOBILE
      --------------------------------------------------------- */
   
   @media (max-width: 575.98px) {
   
       #pills-tab {
           border-radius: 12px;
       }
   
       #pills-tab .nav-item {
           min-width: 155px;
       }
   
       #pills-tab .nav-link {
           padding: 12px !important;
   
           font-size: 13px;
       }
   
       #pills-tab .nav-link::before {
           width: 28px;
           height: 28px;
           min-width: 28px;
   
           margin-right: 8px;
   
           font-size: 10px;
       }
   
       #pills-tabContent {
           padding: 18px;
   
           border-radius: 12px;
   
           max-height: calc(100vh - 310px);
       }
   
       #pills-tabContent .tab-pane {
           font-size: 14px;
   
           line-height: 1.6;
       }
   }