:root {
  --sar-yellow: #fff200;
  --sar-yellow-dark: #e6d900;
  --sar-black: #050505;
  --sar-dark: #171717;
  --sar-text: #555555;
  --sar-muted: #888888;
  --sar-border: #e5e5e5;
  --sar-bg: #f7f7f7;
  --sar-white: #ffffff;
  --sar-danger: #dc3545;
  --sar-success: #198754;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial,
    sans-serif;

  background: var(--sar-bg);
  color: var(--sar-dark);
}

/* =========================================================
           SAR COATINGS - CUSTOMER SUPPORT LOGIN
========================================================= */

.sar-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px 20px;

}

/* =========================================================
           MAIN CONTAINER
        ========================================================= */

.sar-login-wrapper {
  width: 100%;
  max-width: 1080px;

  display: grid;
  grid-template-columns: 1fr 460px;

  background: var(--sar-white);

  border-radius: 22px;

  overflow: hidden;

  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.1);
}

/* =========================================================
           LEFT BRAND SECTION
        ========================================================= */

.sar-brand-panel {
  position: relative;

  min-height: 650px;

  padding: 55px;

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: linear-gradient(145deg, #fff200 0%, #fff200 62%, #f1e500 100%);

  overflow: hidden;
}

.sar-brand-panel::before {
  content: "";

  position: absolute;

  width: 330px;
  height: 330px;

  right: -150px;
  top: -150px;

  border-radius: 50%;

  border: 65px solid rgba(0, 0, 0, 0.06);
}

.sar-brand-panel::after {
  content: "";

  position: absolute;

  width: 250px;
  height: 250px;

  left: -130px;
  bottom: -120px;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.14);
}

.sar-brand-content {
  position: relative;
  z-index: 2;
}

/* =========================================================
           LOGO
        ========================================================= */

.sar-logo-box {
  display: inline-flex;

  padding: 13px 18px;

  background: #ffffff;

  border-radius: 12px;

  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

  margin-bottom: 45px;
}

.sar-logo {
  display: block;

  width: 330px;
  max-width: 100%;

  height: auto;
}

/* =========================================================
           BRAND HEADING
        ========================================================= */

.sar-brand-panel h1 {
  margin: 0 0 18px;

  max-width: 470px;

  font-size: 42px;
  line-height: 1.12;

  font-weight: 800;

  letter-spacing: -1.2px;

  color: var(--sar-black);
}

.sar-brand-panel h1 span {
  display: block;
}

.sar-brand-description {
  max-width: 450px;

  margin: 0;

  font-size: 16px;
  line-height: 1.7;

  color: #272727;
}

/* =========================================================
           SUPPORT FEATURES
        ========================================================= */

.sar-support-features {
  position: relative;
  z-index: 2;

  display: flex;
  gap: 12px;

  flex-wrap: wrap;

  margin-top: 40px;
}

.sar-feature {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;

  border-radius: 50px;

  background: rgba(255, 255, 255, 0.55);

  color: #171717;

  font-size: 13px;
  font-weight: 600;
}

.sar-feature-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: var(--sar-black);
}

.sar-brand-footer {
  position: relative;
  z-index: 2;

  font-size: 12px;

  color: rgba(0, 0, 0, 0.65);
}

/* =========================================================
           LOGIN SECTION
        ========================================================= */

.sar-login-panel {
  padding: 55px 48px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  background: #ffffff;
}

.sar-mobile-logo {
  display: none;
}

.sar-login-heading {
  margin-bottom: 30px;
}

.sar-login-heading h2 {
  margin: 0 0 8px;

  font-size: 28px;

  font-weight: 800;

  letter-spacing: -0.5px;

  color: var(--sar-black);
}

.sar-login-heading p {
  margin: 0;

  font-size: 14px;

  line-height: 1.6;

  color: var(--sar-muted);
}

/* =========================================================
           ALERTS
        ========================================================= */

.sar-alert {
  position: relative;

  margin-bottom: 22px;

  padding: 13px 42px 13px 15px;

  border-radius: 10px;

  font-size: 13px;

  line-height: 1.5;
}

.sar-alert-success {
  color: #126c43;
  background: #e9f8f0;
  border: 1px solid #b9ebd1;
}

.sar-alert-danger {
  color: #b02a37;
  background: #fff0f1;
  border: 1px solid #f2c5ca;
}

.sar-alert .btn-close {
  position: absolute;

  top: 50%;
  right: 12px;

  transform: translateY(-50%);

  padding: 8px;

  font-size: 10px;

  box-shadow: none;
}

/* =========================================================
           FORM
        ========================================================= */

.sar-form-group {
  margin-bottom: 20px;
}

.sar-form-label {
  display: block;

  margin-bottom: 8px;

  font-size: 13px;

  font-weight: 700;

  color: #252525;
}

.sar-input-wrapper {
  position: relative;
}

.sar-input {
  width: 100%;

  height: 52px;

  padding: 0 15px;

  border: 1px solid var(--sar-border);

  border-radius: 10px;

  outline: none;

  background: #fafafa;

  color: #171717;

  font-size: 14px;

  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sar-input:focus {
  background: #ffffff;

  border-color: var(--sar-black);

  box-shadow: 0 0 0 3px rgba(255, 242, 0, 0.28);
}

.sar-input::placeholder {
  color: #aaa;
}

/* =========================================================
           PASSWORD TOGGLE
        ========================================================= */

.sar-password-toggle {
  position: absolute;

  top: 50%;
  right: 14px;

  transform: translateY(-50%);

  border: 0;

  background: transparent;

  color: #777;

  font-size: 12px;

  font-weight: 600;

  cursor: pointer;
}

/* =========================================================
           LOGIN BUTTON
        ========================================================= */

.sar-login-btn {
  width: 100%;

  height: 53px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 10px;

  background: var(--sar-black);

  color: #ffffff;

  font-size: 14px;

  font-weight: 700;

  letter-spacing: 0.3px;

  cursor: pointer;

  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sar-login-btn:hover {
  background: #222222;

  transform: translateY(-1px);

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.sar-login-btn:disabled {
  opacity: 0.75;

  cursor: not-allowed;

  transform: none;

  box-shadow: none;
}

/* =========================================================
           OR SEPARATOR
        ========================================================= */

.sar-separator {
  display: flex;

  align-items: center;

  gap: 12px;

  margin: 25px 0;
}

.sar-separator-line {
  flex: 1;

  height: 1px;

  background: #e5e5e5;
}

.sar-separator span {
  font-size: 11px;

  font-weight: 700;

  color: #999;

  letter-spacing: 1px;
}

/* =========================================================
           OTP BUTTON
        ========================================================= */

.sar-otp-btn {
  width: 100%;

  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #dedede;

  border-radius: 10px;

  background: #ffffff;

  color: #151515;

  font-size: 13px;

  font-weight: 700;

  cursor: pointer;

  transition: all 0.2s ease;
}

.sar-otp-btn:hover {
  background: var(--sar-yellow);

  border-color: var(--sar-yellow);

  color: #000;
}

/* =========================================================
           FORM FOOTER LINKS
        ========================================================= */

.sar-form-links {
  display: flex;

  align-items: center;
  justify-content: space-between;

  margin-top: 18px;
}

.sar-form-links a {
  color: #666;

  text-decoration: none;

  font-size: 12px;

  font-weight: 600;

  transition: color 0.2s ease;
}

.sar-form-links a:hover {
  color: #000000;

  text-decoration: underline;
}

.sar-signup {
  text-align: center;

  margin-top: 32px;

  padding-top: 22px;

  border-top: 1px solid #eeeeee;

  font-size: 13px;

  color: #888;
}

.sar-signup a {
  color: #000;

  font-weight: 700;

  text-decoration: none;
}

.sar-signup a:hover {
  text-decoration: underline;
}

/* =========================================================
           COPYRIGHT
        ========================================================= */

.sar-copyright {
  margin-top: 22px;

  text-align: center;

  font-size: 11px;

  color: #aaa;
}

/* =========================================================
           TABLET
        ========================================================= */

@media (max-width: 991px) {
  .sar-login-wrapper {
    max-width: 780px;

    grid-template-columns: 1fr 410px;
  }

  .sar-brand-panel {
    padding: 40px;
  }

  .sar-brand-panel h1 {
    font-size: 34px;
  }

  .sar-logo {
    width: 280px;
  }

  .sar-login-panel {
    padding: 45px 35px;
  }
}

/* =========================================================
           MOBILE
        ========================================================= */

@media (max-width: 767px) {
  .sar-login-page {
    padding: 0;

    align-items: stretch;


  }

  .sar-login-wrapper {
    min-height: 100vh;

    display: block;

    border-radius: 0;

    box-shadow: none;
  }

  .sar-brand-panel {
    display: none;
  }

  .sar-login-panel {
    min-height: 100vh;

    padding: 35px 24px;

    justify-content: flex-start;
  }

  .sar-mobile-logo {
    display: flex;

    justify-content: center;

    margin-bottom: 45px;
  }

  .sar-mobile-logo img {
    width: 260px;

    max-width: 85%;

    height: auto;
  }

  .sar-login-heading {
    margin-bottom: 28px;
  }

  .sar-login-heading h2 {
    font-size: 25px;
  }

  .sar-form-links {
    gap: 10px;
  }
}

/* =========================================================
           SMALL MOBILE
        ========================================================= */

@media (max-width: 400px) {
  .sar-login-panel {
    padding: 28px 18px;
  }

  .sar-mobile-logo {
    margin-bottom: 35px;
  }

  .sar-mobile-logo img {
    width: 230px;
  }
}

/* =========================================================
   SAR COATINGS - Sign in /  LOGIN
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.sar-login-page {
    min-height: 100vh;
    
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;
}


/* =========================================================
   MAIN CARD
========================================================= */

.sar-login-wrapper {
    width: 100%;
    max-width: 1180px;
    min-height: 700px;

    display: grid;
    grid-template-columns: 48% 52%;

    background: #ffffff;

    border-radius: 24px;
    overflow: hidden;

    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
}


/* =========================================================
   LEFT BRAND AREA
========================================================= */

.sar-brand-section {
    position: relative;

    padding: 55px;

    background:
        linear-gradient(
            145deg,
            #fff000 0%,
            #fff000 68%,
            #f0df00 100%
        );

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    overflow: hidden;
}


/* Decorative circles */

.sar-brand-section::before {
    content: "";
    position: absolute;

    width: 380px;
    height: 380px;

    right: -190px;
    top: -180px;

    border: 70px solid rgba(0, 0, 0, 0.055);
    border-radius: 50%;
}


.sar-brand-section::after {
    content: "";
    position: absolute;

    width: 280px;
    height: 280px;

    left: -150px;
    bottom: -150px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.15);
}


/* =========================================================
   BRAND CONTENT
========================================================= */

.sar-brand-content {
    position: relative;
    z-index: 2;
}


/* =========================================================
   LOGO
========================================================= */

.sar-logo-container {
    display: inline-flex;

    background: #ffffff;

    padding: 12px 18px;

    border-radius: 12px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    margin-bottom: 55px;
}


.sar-logo-container img {
    width: 330px;
    max-width: 100%;
    height: auto;
    display: block;
}


/* =========================================================
   BRAND TITLE
========================================================= */

.sar-brand-title {
    font-size: 43px;
    line-height: 1.12;

    font-weight: 800;

    letter-spacing: -1.3px;

    color: #000000;

    margin: 0 0 18px;
}


.sar-brand-title span {
    display: block;
}


.sar-brand-description {
    max-width: 450px;

    margin: 0;

    font-size: 15px;

    line-height: 1.7;

    color: #333333;
}


/* =========================================================
   SUPPORT POINTS
========================================================= */

.sar-support-list {
    margin-top: 35px;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}


.sar-support-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 13px;

    background: rgba(255, 255, 255, 0.55);

    border-radius: 50px;

    font-size: 12px;

    font-weight: 700;

    color: #222222;
}


.sar-support-item i {
    font-size: 11px;
}


/* =========================================================
   BRAND FOOTER
========================================================= */

.sar-brand-footer {
    position: relative;
    z-index: 2;

    font-size: 11px;

    color: rgba(0, 0, 0, 0.6);
}


/* =========================================================
   RIGHT LOGIN AREA
========================================================= */

.sar-login-section {
    background: #ffffff;

    padding: 55px 70px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.sar-login-inner {
    width: 100%;
    max-width: 400px;
}


/* =========================================================
   LOGIN HEADER
========================================================= */

.sar-login-header {
    margin-bottom: 32px;
}


.sar-login-badge {
    display: inline-flex;
    align-items: center;

    padding: 7px 12px;

    margin-bottom: 16px;

    border-radius: 50px;

    background: #fffbd1;

    color: #665f00;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .4px;
}


.sar-login-badge span {
    width: 7px;
    height: 7px;

    margin-right: 7px;

    border-radius: 50%;

    background: #e4d600;
}


.sar-login-header h2 {
    margin: 0 0 8px;

    color: #111111;

    font-size: 30px;

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -.5px;
}


.sar-login-header p {
    margin: 0;

    color: #888888;

    font-size: 14px;

    line-height: 1.6;
}


/* =========================================================
   ALERTS
========================================================= */

.sar-alert {
    position: relative;

    padding: 12px 40px 12px 14px;

    margin-bottom: 18px;

    border-radius: 9px;

    font-size: 13px;

    line-height: 1.5;
}


.sar-alert .close {
    position: absolute;

    right: 12px;
    top: 50%;

    transform: translateY(-50%);

    color: inherit;

    opacity: .7;

    text-decoration: none;

    font-size: 18px;
}


.sar-alert-success {
    background: #ecf9f2;

    border: 1px solid #c9ebd8;

    color: #147a45;
}


.sar-alert-danger {
    background: #fff0f1;

    border: 1px solid #f0c8cc;

    color: #b4232f;
}


.sar-resend-message {
    position: relative;

    padding: 13px 15px;

    margin-bottom: 20px;

    border-radius: 9px;

    background: #fffbea;

    border: 1px solid #f1e7a1;

    color: #665f00;

    font-size: 13px;

    line-height: 1.5;
}


.sar-resend-message .resend {
    display: inline-block;

    margin-left: 4px;

    color: #000000 !important;

    font-weight: 700;

    text-decoration: underline;
}


/* =========================================================
   FORM
========================================================= */

.sar-form-group {
    position: relative;

    margin-bottom: 20px;
}


.sar-form-group label {
    display: block;

    margin-bottom: 8px;

    color: #222222;

    font-size: 13px;

    font-weight: 700;
}


.sar-form-group .form-control {
    width: 100%;

    height: 52px;

    padding: 0 15px;

    border: 1px solid var(--sar-border);

    border-radius: 10px;

    background: #fafafa;

    color: #222222;

    font-size: 14px;

    box-shadow: none;

    transition: all .2s ease;
}


.sar-form-group .form-control:focus {
    background: #ffffff;

    border-color: #222222;

    box-shadow: 0 0 0 3px rgba(255, 240, 0, .28);
}


.sar-form-group .form-control::placeholder {
    color: #aaa;
}


/* =========================================================
   PASSWORD EYE
========================================================= */

.sar-password-field {
    position: relative;
}


.sar-password-field .form-control {
    padding-right: 50px;
}


.sar-password-field .res-eye {
    position: absolute !important;
    right: 16px !important;
    top: 66% !important;
    margin: 0 !important;
    transform: translateY(-50%);
    color: #888;
    cursor: pointer;
    font-size: 15px;
}


/* =========================================================
   LOGIN BUTTON
========================================================= */

.sar-login-btn {
    width: 100%;

    height: 53px;

    border: 0;

    border-radius: 10px;

    background: #111111;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: .3px;

    transition: all .2s ease;

    cursor: pointer;
}


.sar-login-btn:hover {
    background: #292929;

    transform: translateY(-1px);

    box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
}


.sar-login-btn:active {
    transform: translateY(0);
}


/* =========================================================
   BOTTOM TEXT
========================================================= */

.sar-login-footer {
    margin-top: 28px;

    padding-top: 20px;

    border-top: 1px solid #eeeeee;

    text-align: center;

    color: #999999;

    font-size: 12px;
}


.sar-login-footer strong {
    color: #222222;
}


/* =========================================================
   RIGHT SIDE DECORATIVE ICON
========================================================= */

.sar-support-icon {
    width: 62px;
    height: 62px;

    margin-bottom: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background: #fff000;

    color: #111111;

    font-size: 26px;

    box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .sar-login-wrapper {
        grid-template-columns: 45% 55%;
    }

    .sar-brand-section {
        padding: 45px;
    }

    .sar-login-section {
        padding: 45px;
    }

    .sar-logo-container img {
        width: 280px;
    }

    .sar-brand-title {
        font-size: 36px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .sar-login-page {
        padding: 0;

        min-height: 100vh;

    }


    .sar-login-wrapper {
        min-height: 100vh;

        display: block;

        border-radius: 0;

        box-shadow: none;
    }


    .sar-brand-section {
        display: none;
    }


    .sar-login-section {
        min-height: 100vh;

        padding: 35px 22px;

        align-items: flex-start;
    }


    .sar-login-inner {
        max-width: 100%;
    }


    .sar-login-header {
        margin-bottom: 28px;
    }


    .sar-mobile-logo {
        display: flex;

        justify-content: center;

        margin-bottom: 35px;
    }


    .sar-mobile-logo img {
        width: 260px;

        max-width: 90%;

        height: auto;
    }


    .sar-login-header h2 {
        font-size: 26px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 400px) {

    .sar-login-section {
        padding: 28px 17px;
    }


    .sar-mobile-logo img {
        width: 230px;
    }


    .sar-login-header h2 {
        font-size: 24px;
    }

}

/* =========================================================
   RESET PASSWORD BUTTON
========================================================= */

.sar-login-section .btn-success {
    width: 100% !important;

    height: 53px;

    display: flex !important;

    align-items: center;

    justify-content: center;

    border: 0 !important;

    border-radius: 10px !important;

    background: #111111 !important;

    color: #ffffff !important;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: .3px;

    box-shadow: none !important;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.sar-login-section .btn-success:hover {
    background: #292929 !important;

    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .14) !important;
}


.sar-login-section .btn-success:active {
    transform: translateY(0);
}

.fa-check-circle{
    font-size: 11px;
}

/* =========================================================
   SAR COATINGS - OTP / TWO STEP VERIFICATION
========================================================= */

.otp-label {
    margin-bottom: 14px;

    color: #222222;

    font-size: 13px;

    font-weight: 700;

    text-align: left;
}


.otp-input-wrapper {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    width: 100%;
}


.otp-input-box {
    flex: 1;

    min-width: 0;
}


.otp-input {
    width: 100% !important;

    height: 55px !important;

    padding: 0 !important;

    border: 1px solid #e7e7e7 !important;

    border-radius: 10px !important;

    background: #fafafa !important;

    color: #111111 !important;

    font-size: 20px !important;

    font-weight: 700 !important;

    box-shadow: none !important;

    outline: none !important;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.otp-input:hover {
    border-color: #d2d2d2 !important;
}


.otp-input:focus {
    background: #ffffff !important;

    border-color: #222222 !important;

    box-shadow:
        0 0 0 3px rgba(255, 240, 0, .28) !important;
}


/* =========================================================
   VERIFY BUTTON
========================================================= */

#btn_login {
    width: 100% !important;

    height: 53px;

    display: flex !important;

    align-items: center;

    justify-content: center;

    border: 0 !important;

    border-radius: 10px !important;

    background: #111111 !important;

    color: #ffffff !important;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: .3px;

    box-shadow: none !important;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


#btn_login:hover {
    background: #292929 !important;

    color: #ffffff !important;

    transform: translateY(-1px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, .14) !important;
}


#btn_login:active {
    transform: translateY(0);
}


/* =========================================================
   RESEND LINK
========================================================= */

.resend {
    display: inline-block;

    margin-top: 7px;

    color: #111111 !important;

    font-weight: 700;

    text-decoration: underline;
}


.resend:hover {
    color: #665f00 !important;
}


/* =========================================================
   BACK TO LOGIN
========================================================= */

.otp-back-login {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 5px;

    margin-top: 24px;

    padding-top: 20px;

    border-top: 1px solid #eeeeee;

    color: #999999;

    font-size: 13px;
}


.otp-back-login a {
    color: #111111;

    font-weight: 700;

    text-decoration: none;

    transition: color .2s ease;
}


.otp-back-login a:hover {
    color: #665f00;

    text-decoration: underline;
}


/* =========================================================
   ALERTS
========================================================= */

.sar-login-inner .alert {
    border: 0;

    border-radius: 9px;

    font-size: 13px;

    line-height: 1.5;

    margin-bottom: 20px;
}


.sar-login-inner .alert-success {
    background: #edf9f2;

    color: #176b3a;
}


.sar-login-inner .alert-danger {
    background: #fff0f0;

    color: #a52222;
}


.sar-login-inner .alert-warning {
    background: #fff8e5;

    color: #765b00;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 575px) {

    .otp-input-wrapper {
        gap: 6px;
    }


    .otp-input {
        height: 50px !important;

        font-size: 18px !important;

        border-radius: 8px !important;
    }


    .otp-back-login {
        font-size: 12px;
    }

}


@media (max-width: 380px) {

    .otp-input-wrapper {
        gap: 4px;
    }


    .otp-input {
        height: 46px !important;

        font-size: 17px !important;

        border-radius: 7px !important;
    }

}

/* =========================================================
   SAR COATINGS
   CUSTOMER SUPPORT PORTAL
   CREATE TICKET
========================================================= */


/* =========================================================
   MAIN PAGE
========================================================= */

.sar-support-page {
    padding: 35px 25px 60px;
    margin: 70px 0 0 0;
    background: #9EA99F;
}


.sar-support-container {

    width: 100%;

    max-width: 1100px;

    margin: 0 auto;
}


/* =========================================================
   PAGE HEADER
========================================================= */

  .sar-ticket-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 27px 27px 0;
      background: #fff8c7;
  }


  .sar-page-badge {

      display: inline-flex;

      align-items: center;

      gap: 7px;

      margin-bottom: 8px;

      color: #777;

      font-size: 11px;

      font-weight: 800;

      letter-spacing: 1.2px;
  }


  .sar-page-badge span {

      width: 7px;

      height: 7px;

      display: inline-block;

      border-radius: 50%;

      background: #f0d900;
  }


  .sar-ticket-header h1 {

      margin: 0;

      color: #202020;

      font-size: 28px;

      font-weight: 800;

      letter-spacing: -.4px;
  }


  .sar-ticket-header p {

      margin: 7px 0 0;

      color: #888;

      font-size: 14px;

      line-height: 1.5;
  }


  /* =========================================================
    ALERTS
  ========================================================= */

  .sar-ticket-alert {

      display: flex;

      align-items: center;

      gap: 10px;

      padding: 13px 16px;

      margin-bottom: 18px;

      border: 0;

      border-radius: 10px;

      font-size: 13px;
  }


  .sar-ticket-alert .btn-close {

      margin-left: auto;
  }


  .sar-ticket-alert.alert-success {

      background: #edf9f2;

      color: #176b3a;
  }


  .sar-ticket-alert.alert-danger {

      background: #fff0f0;

      color: #a52222;
  }


  /* =========================================================
    BREADCRUMB
  ========================================================= */

  .sar-ticket-breadcrumb {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 7px;
      border-bottom: 1px solid #80808042;
      padding: 10px 27px 13px;
      color: #999;
      font-size: 12px;
      background: #fff8c7;
  }


  .sar-ticket-breadcrumb a {

      color: #777;

      text-decoration: none;

      transition: .2s ease;
  }


  .sar-ticket-breadcrumb a:hover {

      color: #111;

      text-decoration: none;
  }


  .sar-ticket-breadcrumb strong {

      color: #333;

      font-weight: 700;
  }


/* =========================================================
   MAIN CARD
========================================================= */

.sar-ticket-card {

    overflow: hidden;

    background: #fff;

    border: 1px solid #e9e9e9;

    border-radius: 14px;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, .04);
}


/* =========================================================
   CARD HEADER
========================================================= */

.sar-ticket-card-header {

    display: flex;

    align-items: center;

    gap: 14px;

    padding: 7px 0 10px;

    border-bottom: 1px solid #eeeeee;
}


.sar-ticket-icon {
    width: 47px;
    height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 24px;
    background: #fff100;
    color: #272300;
    font-size: 23px;
}


.sar-ticket-card-header h2 {
    margin: 0;
    color: #222;
    font-size: 22px;
    font-weight: 800;
}


.sar-ticket-card-header p {
    margin:0;
    color: #999;
    font-size: 12px;
}


/* =========================================================
   CARD BODY
========================================================= */

.sar-ticket-card-body {

      padding: 18px 28px 28px;
}


/* =========================================================
   FORM GROUP
========================================================= */

.ticket-form-group {

    margin-bottom: 18px;
}


.ticket-form-group > label {

    display: flex;

    align-items: center;

    gap: 3px;

    margin-bottom: 8px;

    color: #292929;

    font-size: 13px;

    font-weight: 700;
}


.ticket-form-group > label span {

    color: #e53935;
}


.ticket-form-group > label small {

    margin-left: 4px;

    color: #aaa;

    font-size: 11px;

    font-weight: 400;
}


/* =========================================================
   INPUTS
========================================================= */

.ticket-form-control {

    width: 100%;

    min-height: 40px;

    padding: 10px 14px;

    border: 1px solid #e5e5e5 !important;

    border-radius: 9px !important;

    background: #fafafa !important;

    color: #222;

    font-size: 13px;

    outline: none;

    box-shadow: none !important;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}


.ticket-form-control:hover {

    border-color: #d4d4d4 !important;
}


.ticket-form-control:focus {

    background: #fff !important;

    border-color: #222 !important;

    box-shadow:
        0 0 0 3px rgba(255, 240, 0, .25) !important;
}


.ticket-form-control::placeholder {

    color: #aaa;
}


/* SELECT */

select.ticket-form-control {

    cursor: pointer;

    appearance: auto;
}


/* =========================================================
   TINYMCE
========================================================= */

.ticket-editor-wrapper {

    overflow: hidden;

    border: 1px solid #e5e5e5;

    border-radius: 9px;

    background: #fff;
}


.ticket-editor-wrapper .tox-tinymce {

    border: 0 !important;

    border-radius: 9px !important;
}


/* =========================================================
   ATTACHMENT
========================================================= */

.ticket-attachment-box {

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 13px;

    min-height: 58px;

    padding: 10px 12px;

    border: 1px dashed #d8d8d8;

    border-radius: 10px;

    background: #fafafa;
}


.ticket-attachment-btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    height: 38px;

    padding: 0 15px;

    border: 1px solid #dddddd;

    border-radius: 8px;

    background: #fff;

    color: #333;

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

    transition: all .2s ease;
}


.ticket-attachment-btn:hover {

    border-color: #222;

    background: #222;

    color: #fff;
}


.ticket-file-info {

    display: flex;

    align-items: center;

    gap: 7px;

    min-width: 0;
}


.ticket-file-info > i {

    color: #999;

    font-size: 14px;
}


.ticket-file-info .fileName {

    margin: 0;

    max-width: 400px;

    overflow: hidden;

    color: #888;

    font-size: 12px;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* =========================================================
   FORM FOOTER
========================================================= */

.ticket-form-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding-top: 10px;

    border-top: 1px solid #eeeeee;
}


.ticket-form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 560px;
    color: #464646;
    font-size: 13px;
    line-height: 1.5;
}


.ticket-form-note i {

    margin-top: 2px;

    color: #d51e1e;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.sar-ticket-submit {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    min-width: 175px;

    height: 48px;

    padding: 0 20px;

    border: 0;

    border-radius: 9px;

    background: #111;

    color: #fff;

    font-size: 13px;

    font-weight: 700;

    cursor: pointer;

    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}


.sar-ticket-submit:hover {

    background: #292929;

    color: #fef000;

    transform: translateY(-1px);

    box-shadow:
        0 7px 18px rgba(0, 0, 0, .14);
}


.sar-ticket-submit:active {

    transform: translateY(0);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .sar-support-page {

        padding: 25px 15px 40px;
    }


    .sar-ticket-header h1 {

        font-size: 23px;
    }


    .sar-ticket-header p {

        font-size: 12px;

        line-height: 1.5;
    }


    .sar-ticket-card-header {

        padding: 18px;
    }


    .sar-ticket-card-body {

        padding: 20px 17px;
    }


    .ticket-form-group {

        margin-bottom: 18px;
    }


    .ticket-form-footer {

        flex-direction: column;

        align-items: stretch;

        gap: 15px;
    }


    .ticket-form-note {

        max-width: none;
    }


    .sar-ticket-submit {

        width: 100%;
    }


    .ticket-attachment-box {

        align-items: flex-start;

        flex-direction: column;
    }


    .ticket-file-info .fileName {

        max-width: 240px;
    }

}


@media (max-width: 480px) {

    .sar-ticket-breadcrumb {

        font-size: 11px;
    }


    .sar-ticket-card-header {

        gap: 10px;
    }


    .sar-ticket-icon {

        width: 40px;

        height: 40px;

        font-size: 15px;
    }


    .sar-ticket-card-header h2 {

        font-size: 15px;
    }


    .ticket-form-control {

        min-height: 48px;
    }
}

/* =========================================================
   SAR MY TICKETS PAGE
   SAR COATING COLOR THEME
========================================================= */

.sar-tickets-page .container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.sar-tickets-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 22px;
}

.sar-ticket-heading {
    padding: 4px 0 0;
}

/* =========================================================
   PAGE BADGE
========================================================= */

.sar-page-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 14px;
    margin-bottom: 8px;
    border: 1px solid #fff200;
    border-radius: 50px;
    background: #fff200;
    color: var(--sar-text);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.1px;
    line-height: 1;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .035);
}

.sar-badge-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: var(--sar-yellow);
    box-shadow:0 0 0 4px rgba(255, 242, 0, .18);
}


/* =========================================================
   TITLE
========================================================= */

.sar-ticket-heading h1 {
    margin: 0;
    color: var(--sar-black);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.6px;
    line-height: 1.2;
}

.sar-ticket-heading p {
    color: #444444;
    font-size: 14px;
    margin: 0;
}


/* =========================================================
   CREATE TICKET BUTTON
========================================================= */

.sar-ticket-header-action {
    flex-shrink: 0;
}

.sar-create-ticket-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 44px;

    padding: 0 20px;

    border: 1px solid var(--sar-yellow);
    border-radius: 9px;

    background: var(--sar-yellow);

    color: var(--sar-black) !important;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none !important;

    box-shadow:
        0 6px 18px rgba(255, 242, 0, .20);

    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.sar-create-ticket-btn i {
    font-size: 12px;
}

.sar-create-ticket-btn:hover {
    background: var(--sar-yellow-dark);
    border-color: var(--sar-yellow-dark);
    color: var(--sar-black) !important;
    transform: translateY(-1px);
    box-shadow:0 9px 22px rgba(230, 217, 0, .28);
}


/* =========================================================
   TICKET LIST
========================================================= */

.sar-ticket-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* =========================================================
   TICKET CARD
========================================================= */

.sar-ticket-cards {
    position: relative;
    display: flex;
    align-items: center;
    gap: 17px;
    width: 100%;
    min-height: 94px;
    padding: 17px 19px;
    border: 1px solid var(--sar-border);
    border-radius: 12px;
    background: var(--sar-white);
    text-decoration: none !important;
    box-shadow:0 4px 18px rgba(0, 0, 0, .035);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.sar-ticket-cards:hover {
    transform: translateY(-2px);

    border-color: var(--sar-yellow-dark);

    box-shadow:
        0 10px 28px rgba(0, 0, 0, .08);
}


/* =========================================================
   TICKET ICON
========================================================= */

.sar-ticket-avatar {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    border: 1px solid rgba(255, 242, 0, .45);

    border-radius: 11px;

    background: rgba(255, 242, 0, .16);

    color: var(--sar-black);

    font-size: 23px;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.sar-ticket-cards:hover .sar-ticket-avatar {
    background: var(--sar-yellow);

    border-color: var(--sar-yellow);

    color: var(--sar-black);
}


/* =========================================================
   TICKET CONTENT
========================================================= */

.sar-ticket-content {
    flex: 1;
    min-width: 0;
}

.sar-ticket-top {
    display: flex;
    align-items: center;

    margin-bottom: 8px;
}

.sar-ticket-title-wrap {
    display: flex;
    align-items: center;

    gap: 9px;

    min-width: 0;
}

.sar-ticket-title {
    overflow: hidden;

    margin: 0;

    color: var(--sar-black);

    font-size: 15px;
    font-weight: 750;

    line-height: 1.4;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.sar-ticket-cards:hover .sar-ticket-title {
    color: var(--sar-dark);
}


/* =========================================================
   NEW BADGE
========================================================= */

.sar-ticket-new {
    display: inline-flex;

    align-items: center;

    flex-shrink: 0;

    padding: 4px 9px;

    border-radius: 5px;

    background: var(--sar-yellow);

    color: var(--sar-black);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: .5px;
    text-transform: uppercase;
}


/* =========================================================
   TICKET META
========================================================= */

.sar-ticket-meta {
    display: flex;  
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 22px;
    color: var(--sar-muted);
    font-size: 11px;
    line-height: 1.5;
}

.sar-ticket-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.sar-ticket-meta i {
    color: var(--sar-text);
    font-size: 13px;
}


/* =========================================================
   RIGHT SIDE
========================================================= */

.sar-ticket-right {
    display: flex;

    align-items: center;

    gap: 18px;

    flex-shrink: 0;
}


/* =========================================================
   STATUS
========================================================= */

.sar-ticket-status {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    min-width: 72px;

    padding: 7px 11px;

    border-radius: 50px;

    font-size: 10px;
    font-weight: 800;
}

.sar-status-dot {
    width: 6px;
    height: 6px;

    border-radius: 50%;
}


/* =========================================================
   OPEN STATUS
========================================================= */

.sar-status-open {
    background: rgba(25, 135, 84, .09);

    color: var(--sar-success);
}

.sar-status-open .sar-status-dot {
    background: var(--sar-success);

    box-shadow:
        0 0 0 3px rgba(25, 135, 84, .12);
}


/* =========================================================
   CLOSED STATUS
========================================================= */

.sar-status-closed {
    background: rgba(85, 85, 85, .08);

    color: var(--sar-text);
}

.sar-status-closed .sar-status-dot {
    background: var(--sar-muted);
}


/* =========================================================
   ARROW
========================================================= */

.sar-ticket-arrow {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 8px;

    background: var(--sar-bg);

    color: var(--sar-muted);

    font-size: 10px;

    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease;
}

.sar-ticket-cards:hover .sar-ticket-arrow {
    background: var(--sar-yellow);

    color: var(--sar-black);

    transform: translateX(2px);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.sar-empty-tickets {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    padding: 65px 25px;

    border: 1px solid var(--sar-border);

    border-radius: 14px;

    background: var(--sar-white);

    text-align: center;

    box-shadow:
        0 5px 22px rgba(0, 0, 0, .035);
}

.sar-empty-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 65px;
    height: 65px;

    margin-bottom: 18px;

    border: 1px solid rgba(255, 242, 0, .5);

    border-radius: 16px;

    background: rgba(255, 242, 0, .18);

    color: var(--sar-black);

    font-size: 23px;
}

.sar-empty-tickets h3 {
    margin: 0 0 7px;

    color: var(--sar-black);

    font-size: 17px;
    font-weight: 800;
}

.sar-empty-tickets p {
    max-width: 450px;

    margin: 0 0 22px;

    color: var(--sar-muted);

    font-size: 13px;

    line-height: 1.7;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 767px) {

    .sar-tickets-page {
        padding: 28px 15px 45px;
    }

    .sar-tickets-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 18px;

        margin-bottom: 23px;
    }

    .sar-ticket-header-action {
        width: 100%;
    }

    .sar-create-ticket-btn {
        width: 100%;
    }

    .sar-ticket-heading h1 {
        font-size: 24px;
    }

    .sar-ticket-heading p {
        font-size: 13px;
    }

    .sar-ticket-cards {
        align-items: flex-start;

        padding: 15px;

        gap: 12px;
    }

    .sar-ticket-avatar {
        flex: 0 0 42px;

        width: 42px;
        height: 42px;

        font-size: 14px;
    }

    .sar-ticket-title {
        font-size: 13px;

        white-space: normal;
    }

    .sar-ticket-meta {
        flex-direction: column;

        align-items: flex-start;

        gap: 4px;

        margin-top: 9px;
    }

    .sar-ticket-right {
        position: absolute;

        top: 15px;
        right: 15px;

        gap: 0;
    }

    .sar-ticket-arrow {
        display: none;
    }

    .sar-ticket-status {
        min-width: auto;

        padding: 6px 9px;
    }

    .sar-ticket-content {
        padding-right: 65px;
    }

    .sar-ticket-new {
        font-size: 8px;
    }
}


/* =========================================================
   TICKET DETAILS 
========================================================= */

.ticket-details-page {
    min-height: 100vh;
    background: #9EA99F;
    padding: 100px 20px 60px;
}

.ticket-details-container {
    max-width: 1250px;
    margin: 0 auto;
}


/* ALERTS
--------------------------------------------------------- */

.ticket-details-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    font-size: 14px;
}

.ticket-details-alert.success {
    color: var(--sar-success);
    background: #eef9f2;
    border-color: #cdebd8;
}

.ticket-details-alert.danger {
    color: var(--sar-danger);
    background: #fff0f1;
    border-color: #f2c8cc;
}

.ticket-details-alert .btn-close {
    margin-left: auto;
}


/* MAIN GRID
--------------------------------------------------------- */

.ticket-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    align-items: start;
}


/* MAIN TICKET BOX
--------------------------------------------------------- */

.ticket-details-main {
    background: var(--sar-white);
    border: 1px solid var(--sar-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
}


/* HEADER
--------------------------------------------------------- */

.ticket-details-header {
    padding: 28px 30px 10px;
    border-bottom: 1px solid var(--sar-border);
    background:#fff8c7;
}

.ticket-details-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.ticket-details-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--sar-muted);
    margin-bottom: 9px;
}

.ticket-details-label span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sar-yellow);
}

.ticket-details-title {
    margin: 0;
    color: var(--sar-black);
    font-size: 24px;
    line-height: 1.3;
    font-weight: 750;
}

.ticket-details-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border-radius: 30px;
    background: #fffbea;
    border: 1px solid #eee2a1;
    color: #7b7000;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.ticket-details-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sar-yellow-dark);
}


/* META
--------------------------------------------------------- */

.ticket-details-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--sar-border);
}

.ticket-meta-item {
    padding: 8px 30px;
    border-right: 1px solid var(--sar-border);
}

.ticket-meta-item:last-child {
    border-right: 0;
}

.ticket-meta-label {
    display: block;
    color: var(--sar-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.ticket-meta-value {
    display: block;
    color: var(--sar-dark);
    font-size: 14px;
    font-weight: 650;
    word-break: break-word;
}


/* CONVERSATION
--------------------------------------------------------- */

.ticket-conversation {
    padding: 30px;
}

.ticket-conversation-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 26px;
}

.ticket-conversation-heading h3 {
    margin: 0;
    color: var(--sar-black);
    font-size: 17px;
    font-weight: 750;
}

.ticket-conversation-heading-line {
    flex: 1;
    height: 1px;
    background: var(--sar-border);
}


/* COMMENT
--------------------------------------------------------- */

.ticket-comment {
    position: relative;
    display: flex;
    gap: 15px;
    margin-bottom: 28px;
}

.ticket-comment:last-of-type {
    margin-bottom: 0;
}

.ticket-comment-avatar {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--sar-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.ticket-comment-content {
    flex: 1;
    min-width: 0;
}

.ticket-comment-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 8px;
}

.ticket-comment-user {
    margin: 0;
    color: var(--sar-black);
    font-size: 14px;
    font-weight: 750;
}

.ticket-comment-date {
    color: var(--sar-muted);
    font-size: 11px;
    white-space: nowrap;
}

.ticket-comment-message {
    background: #fafafa;
    border: 1px solid var(--sar-border);
    border-radius: 0 12px 12px 12px;
    padding: 15px 17px;
    color: var(--sar-text);
    font-size: 14px;
    line-height: 1.7;
    word-break: break-word;
}


/* ATTACHMENT
--------------------------------------------------------- */

.ticket-attachment {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid var(--sar-border);
    border-radius: 10px;
    background: var(--sar-white);
}

.ticket-attachment-info {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.ticket-attachment-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #fffde0;
}

.ticket-attachment-icon img {
    width: 22px;
    height: 22px;
}

.ticket-attachment-name {
    min-width: 0;
}

.ticket-attachment-name strong {
    display: block;
    color: var(--sar-dark);
    font-size: 12px;
    font-weight: 650;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-attachment-name small {
    display: block;
    margin-top: 3px;
    color: var(--sar-muted);
    font-size: 10px;
}

.ticket-attachment-download {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sar-black);
    background: var(--sar-yellow);
    border-radius: 8px;
    text-decoration: none;
    transition: .2s ease;
}

.ticket-attachment-download:hover {
    color: var(--sar-black);
    background: var(--sar-yellow-dark);
}


/* REPLY
--------------------------------------------------------- */

.ticket-reply {
    border-top: 1px solid var(--sar-border);
    padding: 28px 30px 30px;
    background: #fcfcfc;
}

.ticket-reply-heading {
    margin-bottom: 15px;
}

.ticket-reply-heading h3 {
    margin: 0 0 5px;
    color: var(--sar-black);
    font-size: 17px;
    font-weight: 750;
}

.ticket-reply-heading p {
    margin: 0;
    color: var(--sar-muted);
    font-size: 12px;
}


/* TINYMCE
--------------------------------------------------------- */

.ticket-reply-editor {
    margin-top: 18px;
    border-radius: 10px;
    overflow: hidden;
}

.ticket-reply-editor .tox-tinymce {
    border: 1px solid var(--sar-border) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}


/* REPLY FOOTER
--------------------------------------------------------- */

.ticket-reply-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 16px;
}

.ticket-attachment-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ticket-attachment-button {
    border: 1px solid var(--sar-border);
    background: var(--sar-white);
    color: var(--sar-dark);
    border-radius: 8px;
    padding: 9px 13px;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    transition: .2s ease;
}

.ticket-attachment-button:hover {
    background: var(--sar-yellow);
    border-color: var(--sar-yellow);
}

.ticket-file-name {
    margin: 0;
    color: var(--sar-muted);
    font-size: 11px;
}

.ticket-submit-button {
    border: 0;
    border-radius: 9px;
    padding: 11px 20px;
    background: var(--sar-black);
    color: var(--sar-white);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.ticket-submit-button:hover {
    background: var(--sar-dark);
    transform: translateY(-1px);
}


/* RIGHT SIDEBAR
--------------------------------------------------------- */

.ticket-sidebar-box {
    background: var(--sar-white);
    border: 1px solid var(--sar-border);
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, .04);
}

.ticket-sidebar-title {
    margin: 0 0 5px;
    color: var(--sar-black);
    font-size: 15px;
    font-weight: 750;
}

.ticket-sidebar-description {
    margin: 0 0 20px;
    color: var(--sar-muted);
    font-size: 12px;
    line-height: 1.6;
}

.ticket-sidebar-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 15px;
    border-radius: 9px;
    background: var(--sar-yellow);
    color: var(--sar-black);
    text-decoration: none;
    font-size: 12px;
    font-weight: 750;
    transition: .2s ease;
}

.ticket-sidebar-action:hover {
    background: var(--sar-yellow-dark);
    color: var(--sar-black);
}


/* RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 991px) {

    .ticket-details-layout {
        grid-template-columns: 1fr;
    }

    .ticket-details-sidebar {
        position: static;
    }

    .ticket-meta-item {
        padding: 16px;
    }

}


@media (max-width: 767px) {

    .ticket-details-page {
        padding: 80px 12px 40px;
    }

    .ticket-details-header {
        padding: 22px 18px;
    }

    .ticket-details-header-top {
        flex-direction: column;
    }

    .ticket-details-title {
        font-size: 20px;
    }

    .ticket-details-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .ticket-meta-item:nth-child(2) {
        border-right: 0;
    }

    .ticket-meta-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--sar-border);
    }

    .ticket-conversation {
        padding: 22px 18px;
    }

    .ticket-reply {
        padding: 22px 18px;
    }

    .ticket-comment-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .ticket-comment-date {
        white-space: normal;
    }

    .ticket-reply-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .ticket-submit-button {
        width: 100%;
    }

}


@media (max-width: 480px) {

    .ticket-details-meta {
        grid-template-columns: 1fr;
    }

    .ticket-meta-item {
        border-right: 0 !important;
        border-bottom: 1px solid var(--sar-border);
    }

    .ticket-meta-item:last-child {
        border-bottom: 0;
    }

    .ticket-comment {
        gap: 10px;
    }

    .ticket-comment-avatar {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

}


/* =========================================================
   RIGHT SIDEBAR
========================================================= */

.sar-sidebar {
    height: fit-content;
}

.sar-side-card {
    background: var(--sar-white);
    border: 1px solid var(--sar-border);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .04);
}

.sar-side-header {
    padding: 18px 20px;
    background: var(--sar-black);
    color: var(--sar-yellow);
}

.sar-side-header h3 {
    margin: 0;
    font-size: 14px;
    color: #fff200;
    font-weight: 600;
}

.sar-side-body {
    padding: 20px;
}

.sar-side-item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 13px 0;
    border-bottom: 1px solid var(--sar-border);
}

.sar-side-item:first-child {
    padding-top: 0;
}

.sar-side-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.sar-side-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #fffde0;
    color: #6a6500;
    flex-shrink: 0;
}

.sar-side-item strong {
    display: block;
    color: var(--sar-dark);
    font-size: 12px;
    margin-bottom: 3px;
}

.sar-side-item small {
    color: var(--sar-muted);
    font-size: 11px;
    line-height: 1.5;
}

/* =========================================================
   PROFILE PAGE
========================================================= */

.sar-profile-page {
    min-height: 100vh;
    background: #9EA99F;
    padding: 100px 20px 60px;
}

.sar-profile-container {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
}


/* =========================================================
   ALERT
========================================================= */

.sar-profile-alert {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 14px;
}

.sar-profile-alert-success {
    color: #198754;
    background: #f0faf5;
    border-color: #cce9da;
}

.sar-profile-alert-danger {
    color: #dc3545;
    background: #fff3f4;
    border-color: #f2c7cc;
}

.sar-profile-alert-icon {
    font-size: 17px;
}

.sar-profile-alert-text {
    flex: 1;
}

.sar-profile-alert-close {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
}
.sar-profile-alert {
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sar-profile-alert.fade-out {
    opacity: 0;
    transform: translateY(-5px);
}

/* =========================================================
   PROFILE CARD
========================================================= */

.sar-profile-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}


/* =========================================================
   CARD HEADER
========================================================= */

.sar-profile-card-header {
    display: flex;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid var(--sar-border);
    background: #fff8c7;
}

.sar-profile-card-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    background: #fff200;
    color: #050505;
    font-size: 17px;
}

.sar-profile-card-header h2 {
    margin: 0;
    color: #171717;
    font-size: 18px;
    font-weight: 750;
}

.sar-profile-card-header p {
    margin: 0;
    color: #888888;
    font-size: 13px;
}


/* =========================================================
   CARD BODY
========================================================= */

.sar-profile-card-body {
    padding: 28px;
}


/* =========================================================
   PROFILE PHOTO
========================================================= */

.sar-profile-photo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    margin-bottom: 28px;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.sar-profile-photo {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 50%;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    background: #fff200;
}

.sar-profile-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.sar-profile-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #050505;
    font-size: 27px;
}

.sar-profile-photo-info {
    min-width: 0;
}

.sar-profile-photo-info h3 {
    margin: 0 0 5px;
    color: #171717;
    font-size: 15px;
    font-weight: 700;
}

.sar-profile-photo-info p {
    margin: 0 0 12px;
    color: #888888;
    font-size: 13px;
}


/* =========================================================
   UPLOAD BUTTON
========================================================= */

.sar-profile-upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    background: #ffffff;
    color: #171717;
    font-size: 12px;
    font-weight: 650;
    cursor: pointer;
    transition: all .2s ease;
}

.sar-profile-upload-btn:hover {
    background: #fff200;
    border-color: #fff200;
    color: #050505;
}

.sar-profile-photo-info .fileName {
    margin: 7px 0 0;
    color: #555555;
    font-size: 12px;
}


/* =========================================================
   FORM GRID
========================================================= */

.sar-profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================================
   FORM FIELD
========================================================= */

.sar-profile-field {
    width: 100%;
}

.sar-profile-field label {
    display: block;
    margin-bottom: 8px;
    color: #171717;
    font-size: 13px;
    font-weight: 700;
}

.sar-profile-input {
    position: relative;
}

.sar-profile-input > i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #888888;
    font-size: 13px;
    pointer-events: none;
}

.sar-profile-input input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 40px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    outline: none;
    background: #ffffff;
    color: #171717;
    font-size: 13px;
    transition: all .2s ease;
    box-sizing: border-box;
}

.sar-profile-input input::placeholder {
    color: #aaa;
}

.sar-profile-input input:hover {
    border-color: #cccccc;
}

.sar-profile-input input:focus {
    border-color: #fff200;
    box-shadow: 0 0 0 3px rgba(255, 242, 0, 0.16);
}


/* =========================================================
   FORM FOOTER
========================================================= */

.sar-profile-form-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid #e5e5e5;
}


/* =========================================================
   BUTTONS
========================================================= */

.sar-profile-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all .2s ease;
}

.sar-profile-btn-primary {
    border: 1px solid #fff200;
    background: #fff200;
    color: #050505;
}

.sar-profile-btn-primary:hover {
    border-color: #e6d900;
    background: #e6d900;
    color: #050505;
}

.sar-profile-btn-light {
    border: 1px solid #e5e5e5;
    background: #ffffff;
    color: #555555;
}

.sar-profile-btn-light:hover {
    border-color: #cccccc;
    background: #f7f7f7;
    color: #171717;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 768px) {

    .sar-profile-page {
        padding: 25px 15px 40px;
    }

    .sar-profile-header h1 {
        font-size: 27px;
    }

    .sar-profile-card-header {
        padding: 20px;
    }

    .sar-profile-card-body {
        padding: 20px;
    }

    .sar-profile-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .sar-profile-photo-section {
        padding: 16px;
    }

}


@media (max-width: 500px) {

    .sar-profile-header h1 {
        font-size: 24px;
    }

    .sar-profile-photo-section {
        align-items: flex-start;
        flex-direction: column;
    }

    .sar-profile-form-footer {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .sar-profile-btn {
        width: 100%;
    }
}

/* =========================================================
   TICKET SUCCESS PAGE
========================================================= */

.ticket-success-page {
    min-height: 100vh;
    background: #9EA99F;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}


/* =========================================================
   MAIN WRAPPER
========================================================= */

.ticket-success-wrapper {
    width: 100%;
    max-width: 605px;
    min-height: 650px;
    display: grid;
    grid-template-columns: 100%;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   LEFT PANEL
========================================================= */

.ticket-success-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 42px;
    background: #050505;
    color: #ffffff;
    overflow: hidden;
}

.ticket-success-left::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -170px;
    bottom: -170px;
    border-radius: 50%;
    background: rgba(255, 242, 0, 0.08);
}

.ticket-success-left::after {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -100px;
    top: -100px;
    border-radius: 50%;
    border: 1px solid rgba(255, 242, 0, 0.12);
}


/* =========================================================
   LOGO
========================================================= */

.ticket-success-brand {
    position: relative;
    z-index: 2;
}

.ticket-success-logo {
    display: block;
    width: 150px;
    max-width: 100%;
    height: auto;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

.ticket-success-left-content {
    position: relative;
    z-index: 2;
    max-width: 380px;
}

.ticket-success-left-icon {
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 16px;
    background: #fff200;
    color: #050505;
    font-size: 25px;
}

.ticket-success-eyebrow {
    display: block;
    margin-bottom: 12px;
    color: #fff200;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.ticket-success-left-content h1 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1px;
}

.ticket-success-left-content p {
    max-width: 350px;
    margin: 0;
    color: #a5a5a5;
    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   LEFT FOOTER
========================================================= */

.ticket-success-left-footer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #777777;
    font-size: 11px;
}

.ticket-success-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #fff200;
}


/* =========================================================
   RIGHT PANEL
========================================================= */

.ticket-success-right {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: #ffffff;
}

.ticket-success-content {
    width: 100%;
    max-width: 510px;
    text-align: center;
}


/* =========================================================
   SUCCESS ICON
========================================================= */

.ticket-success-check {
    width: 82px;
    height: 82px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: rgba(25, 135, 84, 0.08);
}

.ticket-success-check-inner {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #198754;
    color: #ffffff;
    font-size: 24px;
}


/* =========================================================
   SUCCESS HEADING
========================================================= */

.ticket-success-label {
    display: block;
    margin-bottom: 9px;
    color: #198754;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.ticket-success-content h2 {
    margin: 0;
    color: #050505;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.25;
}

.ticket-success-description {
    max-width: 470px;
    margin: 14px auto 25px;
    color: #777777;
    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   TICKET NUMBER
========================================================= */

.ticket-success-ticket {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    margin-bottom: 18px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #f7f7f7;
    text-align: left;
}

.ticket-success-ticket-label {
    color: #888888;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.ticket-success-ticket-number {
    color: #050505;
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
    transition: color .2s ease;
}

.ticket-success-ticket-number:hover {
    color: #198754;
}


/* =========================================================
   EMAIL INFO
========================================================= */

.ticket-success-info {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 16px;
    margin-bottom: 24px;
    border-radius: 10px;
    background: #fafafa;
    text-align: left;
}

.ticket-success-info > i {
    margin-top: 3px;
    color: #888888;
    font-size: 15px;
}

.ticket-success-info strong {
    display: block;
    margin-bottom: 4px;
    color: #171717;
    font-size: 13px;
}

.ticket-success-info p {
    margin: 0;
    color: #888888;
    font-size: 12px;
    line-height: 1.6;
}


/* =========================================================
   ACTION BUTTONS
========================================================= */

.ticket-success-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-success-primary-btn,
.ticket-success-secondary-btn {
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-sizing: border-box;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s ease;
}

.ticket-success-primary-btn {
    background: #fff200;
    border: 1px solid #fff200;
    color: #050505;
}

.ticket-success-primary-btn:hover {
    background: #e6d900;
    border-color: #e6d900;
    color: #050505;
}

.ticket-success-secondary-btn {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    color: #555555;
}

.ticket-success-secondary-btn:hover {
    background: #f7f7f7;
    border-color: #cccccc;
    color: #171717;
}


/* =========================================================
   HELP TEXT
========================================================= */

.ticket-success-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 20px;
    color: #999999;
    font-size: 11px;
}

.ticket-success-help i {
    font-size: 11px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .ticket-success-wrapper {
        grid-template-columns: 1fr;
        max-width: 650px;
    }

    .ticket-success-left {
        min-height: 350px;
        padding: 35px;
    }

    .ticket-success-left-content {
        margin-top: 50px;
    }

    .ticket-success-left-content h1 {
        font-size: 36px;
    }

    .ticket-success-right {
        padding: 45px 35px;
    }

}


@media (max-width: 600px) {

    .ticket-success-page {
        padding: 15px;
    }

    .ticket-success-wrapper {
        border-radius: 14px;
    }

    .ticket-success-left {
        min-height: 300px;
        padding: 28px;
    }

    .ticket-success-logo {
        width: 125px;
    }

    .ticket-success-left-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 18px;
        font-size: 20px;
    }

    .ticket-success-left-content {
        margin-top: 35px;
    }

    .ticket-success-left-content h1 {
        font-size: 31px;
    }

    .ticket-success-left-content p {
        font-size: 13px;
    }

    .ticket-success-left-footer {
        margin-top: 30px;
    }

    .ticket-success-right {
        padding: 35px 22px;
    }

    .ticket-success-content h2 {
        font-size: 25px;
    }

    .ticket-success-ticket {
        padding: 14px;
    }

}