﻿html {
    overflow: hidden;
}

body {
    width: 100%;
    overflow: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f3f7f9
}

    body .app {
        min-height: 525px;
    }
    body.nocode{
        background: #F3F7F9;
    }

.login-body {
    display: flex;
    align-items: center;
    justify-content: center;
}
#app-header {
    position: fixed;
    top: 0;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%;
}
.usernamefield-password-carousel,
.sub-heading{
    font-size: 14px;
    font-weight: 600;
    color: #66788a;
}
.topBar {
    height: 6px;
    border-radius: 5px 5px 0px 0px;
}


#back-btn-password {
    margin: 30px 10px 0px 0px;
    float: left;
    height: 41px;
    padding: 13px 17px;
    text-align: center;
    width: 100%;
}

#continue-btn-password {
    float: right;
    margin: 30px 0px 0px 3px;
    width: 100%;
}
#ippLoginImg {
    width: 75px;
    height: 75px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#channel-logo {
    
    background-size: 100% 100%;
    background-repeat: no-repeat;
}
.loginpanel1 {
    width: 100vw;
    display: flex;
    justify-content: center;
}

.carouselBG {
    width: 100%;
    min-width: 100px;
    max-width: 480px;
    background: white;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: absolute;
    border-radius: 5px;

}


    .max-width500 {
        max-width:  600px;
    }




.loginpanel {
    width: 450px;
    margin: 0 auto;
}

.left-icon-1 input {
    padding-left: 38px !important;
}
.right-icon-1 input {
    padding-right: 38px !important;
}

.show-password.active {
    background-color: #d9e9f1;
    border-radius: 50%;
}

.form-box .label {
    font-size: 14px;
    font-weight: 500;
    color: #26405E;
    order: -1;
    position: relative;
}
.form-box .input-left-icon  {
    position: absolute;
    left: 8px;
    top: 34px;
    display: flex;
    align-items: center;
    z-index: 5;
}
.form-box .input-right-icon  {
    position: absolute;
    right:8px;
    top: 34px;
    display: flex;
    align-items: center;
    z-index:  5;
}
#login-idp-btn {
    /*bottom: 30px;*/
    /*position: absolute;*/
    width: 100%;
}

.form-box .form-control-input {
    display: block;
    width: 100%;
    width: -webkit-fill-available;
    /* height: calc(1.5em + 1.06rem + 2px); */
    /* padding: .63rem 1.3rem; */
    padding: 8px 16p;
    font-size: 14px;
    font-family: Montserrat, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #26405E;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #d1d2db;
    border-radius: .29rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
   
    height: 3rem;
}

.form-box .form-control-label {
    padding-left: 0;
}
.form-box .form-control-input:focus {
     border-color: #9297da !important;
    outline: 0;
    box-shadow: 0 0.313rem 0.719rem rgb(122 123 151 / 10%), 0 0.156rem 0.125rem rgb(122 123 151 / 6%);
}
.carouselBG .change-email-box {
    margin-top: 20px;
    font-weight: 600;
}

.carouselBG .change-email-box .hq-link ,
.carouselBG .reset-password{
        color: #26404e;
    font-weight: bold;
}
.panel-header h5{
    font-weight: 700;
    color: #27414f;
}
.continue-btn, .continue-btn:hover, .continue-btn:focus {
    padding: 10px !important;
    width: 100%;
    border-radius: 5px;
    /* border:1px solid #a8a69e !important */
}

footer {
    text-align: center;
    width: 100%;
    /*height: 125px;*/
    /*position: absolute;*/
    bottom: 0;
    left: 0;
}

    footer .footer-logo {
        /*margin-bottom: 20px;*/
        color: #818a91;
        font-size: 12px;
    }

/*#email, #password {
    border-bottom: 1px solid #28bc6a !important;
}*/

.md-input:focus, .md-input.focus {
    border-color: #28bc6a;
}

    .md-input:focus ~ label, .md-input.focus ~ label {
        color: #28bc6a;
    }

/* #slideIn {
} */

.loginpanel .thumbnail span img {
    width: 100px;
}

.loginpanel span i {
    color: #818a91;
}


#slideIn, #slideOut {
    border-radius: 5px;
    /* border: 1px solid #d0d2db; */
    background-color: white;
}
.auth-or {
    margin: 0;
    position: relative;
    padding: 3px;
}

.auth-or::after {
    content: " ";
    width: 100%;
    height: 1px;
    background: #DBDBDB;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
}

.auth-or span {
    font-weight: 700;
    text-align: center;
    padding: 0 8px;
    background: #fff;
    display: block;
    position: relative;
    z-index: 11;
    margin: 0 auto;
    width: 52px;
    font-size: 15px;
    color: #cacaca;
}
.go-to-webapp,
.btn-google {
    background: #ffffff;
    width: 100%;
    color: #27414f;
    padding: 0;
    -webkit-box-shadow: 0 0 1px 0 #6d6d6d;
    box-shadow: 0 0 1px 0 #6d6d6d;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    /* margin-top: 2.5rem; */
    padding: 5px;
    font-weight: 600;
}
.btn-google .google-text{
    font-size: 14px;
}
.go-to-webapp {

    text-align: center;
    border: none;
    background-color: #fff !important;
    box-shadow: none;
    color: #27414f;
    font-weight: bold !important;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 4px;
    display: inline-flex;
    width: auto;
}

.go-to-webapp img {
    margin-left: 4px;
}
.go-to-link {
    display: flex;
    justify-content: center;
    align-items: center;
}
#slideOut .go-to-link .go-to-webapp:hover {
    background-color:white !important;
    cursor: pointer;
}

.btn-google{
    border-color: #27414f;
    border: 1px solid #444;
}
.btn-google:hover {
    border-color: #27414f;
    background-color: #fff !important;
    border: 1px solid #444;
}

.btn-google .content-grid {
    text-align: left;
    -ms-touch-action: none;
    touch-action: none;
    pointer-events: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.btn-google .logo-wp {
    display: inline-block;
    vertical-align: middle;
}

.btn-google .logo-wp .logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 0;
    background-color: #fff;
    border-radius: 50%;
    height: 25px;
    width: 25px;
    margin: 5px;
}
.no-acc-text,
.change-email-box .title,
.or-text{
    color: #969696;
    text-align: center;
    font-weight: 600;
    opacity: 80%;
}
.or-text{
    margin:20px
}
.bg_A {
    background: #F7F7F7 !important;
}

.bg_B {
    background: #EEEEEE !important;
}
#slideOut a.brand_A,
#slideIn a.brand_A,
.brand_A {
    color: #27414f  !important;
}
button.brand_B,
.brand_B {
    background-color: #27414f  !important;
    font-weight:600;
}

#btnVerify,
#btnSetup,
#btnVerify:hover,
#btnSetup:hover,
#btnVerify:focus,
#btnSetup:focus {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    border: 0;
    margin-top: 24px;
    cursor: pointer;
}

#btnVerify .mfa-verify-label,
#btnSetup .mfa-verify-label {
    color: #fff;
}

#btnVerify .mfa-verify-spinner,
#btnSetup .mfa-verify-spinner {
    display: none;
    width: 16px;
    height: 16px;
    margin-left: 8px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    vertical-align: middle;
    animation: mfa-verify-spin 0.7s linear infinite;
}

#btnVerify.is-loading,
#btnSetup.is-loading {
    pointer-events: none;
}

#btnVerify.is-loading .mfa-verify-spinner,
#btnSetup.is-loading .mfa-verify-spinner {
    display: inline-block;
}

.mfa-setup-qr {
    width: 160px;
    height: 160px;
    background: #fff;
    border: 1px solid #f2f2f2;
    border-radius: 4px;
}

@keyframes mfa-verify-spin {
    to {
        transform: rotate(360deg);
    }
}

#txtCode {
    letter-spacing: 0.25em;
    text-align: center;
}

.font_A {
    color: #fff !important;
    /* optional */
    background: #fff !important;
}

.headBG {
    border: 1px solid #D3D9DB;
    background: #fff !important;
    border-radius: 5px 5px 0px 0px;
}
.backArrow{
    transform: scale(-1);
}
/* .carousel-inner{
    border-radius: 5px;
    border: 1px solid #d0d2db
} */
::-webkit-scrollbar-thumb {
    background: #c9cfd3;
    border-radius: 10px;
    border: 2px solid #ffffff;
    display: none;
}


/* login left and right */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    /* Updated color palette to match DronaHQ design */
    --primary-blue: #3b82f6;
    --dark-navy: #1f2937;
    --light-purple: #e8e4f3;
    --light-beige: #f5f3f0;
    --white: #ffffff;
    --gray-text: #6b7280;
    --gray-border: #e5e7eb;
    --dark-gray: #374151;
  }
/* Changed to two-column layout with left and right sections */
.login-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  
  @media (max-width: 768px) {
    .login-container {
      grid-template-columns: 1fr;
    }
  }
  
  .login-left {
    background-color: var(--light-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }
  .login-right {
    --dot-bg: white;
    --dot-color: black;
    --dot-size: 1px;
    --dot-space: 22px;
  
    background:
      linear-gradient(90deg, var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
      linear-gradient(var(--dot-bg) calc(var(--dot-space) - var(--dot-size)), transparent 1%) center / var(--dot-space) var(--dot-space),
      var(--dot-color);
  
    height: 100vh;
    transition: background-position 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
  }
  
  /* Animate dots when mouse hovers over body */
  .login-right:hover {
    background-position: 
      10px 10px,   /* Move both gradients diagonally */
      10px 10px, 
      0 0;
  }
  @keyframes moveDots {
    from { background-position: 0 0, 0 0, 0 0; }
    to { background-position: 20px 20px, 20px 20px, 0 0; }
  }
  
  .login-right {
    animation: moveDots 4s linear infinite;
  }
 
  .login-right-content{
    width: 50vw !important;
    display: flex;
    justify-content: center;
  }

  .loginpanel2{
    width: 50vw !important;
    display: flex;
    justify-content: center;
  }
  .carouselBG1 {
    width: 100%;
    min-width: 100px;
    max-width: 480px;
    background: white;
    top: 50%;
    left: 26% !important;
    transform: translate(-50%, -50%);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: absolute;
    border-radius: 5px;
}
  
  @media (max-width: 768px) {
    .login-right {
      display: none;
    }
  }

  .chat-interface {
    width: 85%;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
  }
  
  .messages-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 60px;
    max-height: 200px;
    overflow-y: auto;
  }
  
  .message {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
    animation: slideInLeft 0.5s ease-out;
  }
  
  .message.bot {
    background-color: #f0f4ff;
    color: var(--dark-navy);
    align-self: flex-start;
    max-width: 80%;
  }
  
  .message.user {
    background-color: var(--primary-blue);
    color: var(--white);
    align-self: flex-end;
    max-width: 80%;
    animation: slideInRight 0.5s ease-out;
  }
  
  .chat-header {
    text-align: justify;
    padding: 10px;
  }
  
  .chat-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
  }
  
  .chat-header p {
    font-size: 1rem;
    color: var(--gray-text);
    font-weight: 600;
  }
  
  .greeting-text {
    background-image: linear-gradient(135deg, rgb(255, 0, 128), rgb(121, 40, 202), rgb(0, 112, 243), rgb(56, 189, 248), rgb(255, 0, 128));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation-duration: 10s;
  }
  
  .subtitle-text {
    animation: fadeInUp 0.8s ease-out 0.4s both;
  }
  
  .chat-input-area {
    display: flex;
    gap: 0.75rem;
    background-color: var(--white);
    padding: 0.5rem;
    border-radius: 2rem;
    border: 2px solid var(--gray-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    color: #fff;
    font-weight: 600;
  }
  
  .chat-input-area:focus-within {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
  }
  
  .chat-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    color: var(--gray-text);
    padding: 0.75rem 1rem;
    outline: none;
    font-weight: 600;
  }
  
  .chat-input::placeholder {
    color: #d1d5db;
  }
  
  .chat-send-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--dark-navy);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    animation: fadeInUp 0.8s ease-out 0.6s both;
  }
  
  .chat-send-btn:hover {
    background-color: #111827;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  .chat-send-btn:active {
    transform: scale(0.95);
  }
  
  .chat-send-btn svg {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s ease;
  }
  
  .chat-send-btn:hover svg {
    transform: rotate(-15deg);
  }