﻿.language-switch-area {
  text-align: center;
  padding: 10px;
}
.famfamfam-flags {
  display: inline-block;
}

/* Login Container Background - Full Screen with Scrolling Support */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
  overflow: auto;
}

.login-container-bg {
  background-image: url('../../TemplateFolder/img/loginbackground.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  left: 0;
  top: 0;
  padding-right: 80px;
  overflow-y: auto;
}

.FirstDiv_login {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  margin: 0;
  padding: 0;
  padding-right: 100px;
  min-height: auto;
}

.FirstDiv_login .row {
  width: auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin: 0;
}

.FirstDiv_login .col-12 {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* Header Button Styling - Secondary Button */
.header {
  padding: 16px 30px;
  background-color: transparent;
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.btn-contact-support {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  background-color: transparent;
  color: #DD1A1E;
  border: 2px solid #DD1A1E;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-contact-support:link,
.btn-contact-support:visited {
  color: #DD1A1E !important;
  border-color: #DD1A1E !important;
}

.btn-contact-support:link i,
.btn-contact-support:visited i {
  color: #DD1A1E !important;
}

.btn-contact-support:hover {
  background-color: #DD1A1E;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(221, 26, 30, 0.2);
}

.btn-contact-support:hover i {
  color: white !important;
}

.btn-contact-support:focus {
  outline: 2px solid #DD1A1E;
  outline-offset: 2px;
}

.btn-contact-support:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(221, 26, 30, 0.15);
}

.btn-contact-support i {
  font-size: 12px;
  display: flex;
  align-items: center;
}

.btn-explore-truefin {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 20px;
  background-color: transparent;
  color: #DD1A1E;
  border: 2px solid #DD1A1E;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-explore-truefin:link,
.btn-explore-truefin:visited {
  color: #DD1A1E !important;
  border-color: #DD1A1E !important;
}

.btn-explore-truefin:link i,
.btn-explore-truefin:visited i {
  color: #DD1A1E !important;
}

.btn-explore-truefin:hover {
  background-color: #DD1A1E;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(221, 26, 30, 0.2);
}

.btn-explore-truefin:hover i {
  color: white !important;
}

.btn-explore-truefin:focus {
  outline: 2px solid #DD1A1E;
  outline-offset: 2px;
}

.btn-explore-truefin:active {
  transform: translateY(0);
  box-shadow: 0 4px 8px rgba(221, 26, 30, 0.15);
}

.btn-explore-truefin i {
  font-size: 12px;
  display: flex;
  align-items: center;
}

/* Mobile - Center Card Only */
@media (max-width: 767px) {
  .login-container-bg {
    background-image: none !important;
    background-color: #f5f5f5;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  .FirstDiv_login {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding-right: 0 !important;
    padding-left: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: auto !important;
  }

  .FirstDiv_login .row {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .FirstDiv_login .col-12 {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .login-page {
    display: block !important;
    float: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    margin: 20px auto !important;
    width: calc(100% - 30px) !important;
    padding: 0 !important;
  }

  .navbar {
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100% !important;
    padding-left: 16px !important;
    gap: 10px !important;
  }
}
.input_Style {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    height: 42px !important;
    background: transparent !important;
    border: none !important;
    margin-bottom: 16px !important;
    padding: 0 !important;
    overflow: hidden !important;
}

    /* Blue only when input has a value */
    .input_Style:has(.form-control:not(:placeholder-shown)) {
        background: #eaf2ff !important;
    }

    /* Blue when browser autofills the input */
    .input_Style:has(.form-control:-webkit-autofill) {
        background: #eaf2ff !important;
    }

    .input_Style .form-control:-webkit-autofill,
    .input_Style .form-control:-webkit-autofill:hover,
    .input_Style .form-control:-webkit-autofill:focus {
        -webkit-box-shadow: 0 0 0 1000px #eaf2ff inset !important;
        box-shadow: 0 0 0 1000px #eaf2ff inset !important;
    }

    .input_Style .input-group-addon {
        width: 44px !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
    }

        .input_Style .input-group-addon .material-icons {
            color: #DD1A1E !important;
            font-size: 20px !important;
        }

    .input_Style .form-line {
        flex: 1 !important;
        width: auto !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        background: transparent !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .input_Style .form-control {
        flex: 1 !important;
        width: 100% !important;
        height: 100% !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 10px !important;
        margin: 0 !important;
    }

        .input_Style .form-control:focus {
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
            outline: none !important;
        }
/* Validation message below input */
.input_Style {
    position: relative !important;
    overflow: visible !important;
}

    /* Let error position relative to complete input row */
    .input_Style .form-line,
    .input_Style .password-wrapper {
        position: static !important;
    }

    .input_Style label.error {
        position: absolute !important;
        top: calc(100% + 4px) !important;
        left: 44px !important;
        width: calc(100% - 44px) !important;
        margin: 0 !important;
        color: #DD1A1E !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        line-height: 16px !important;
        text-align: left !important;
        white-space: normal !important;
    }

    /* Give space below only when an error exists */
    .input_Style:has(.form-control.error) {
        margin-bottom: 36px !important;
    }


.password-wrapper {
    position: relative !important;
}

.password-toggle {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: #DD1A1E !important;
    font-size: 20px !important;
    cursor: pointer !important;
}

.password-wrapper .form-control {
    padding-right: 42px !important;
}

#rememberme {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 14px !important;
    height: 14px !important;
    border: 1.5px solid #DD1A1E !important;
    border-radius: 2px !important;
    background-color: #fff !important;
    cursor: pointer;
    position: relative;
}
    #rememberme:checked {
        background-color: #DD1A1E !important;
        border-color: #DD1A1E !important;
    }

        #rememberme:checked::after {
            content: "✓";
            position: absolute;
            color: #fff;
            font-size: 11px;
            font-weight: bold;
            left: 1px;
            top: -2px;
        }