﻿ html, body {
      height: 100%;
      margin: 0;
        font-family: 'Open Sans', sans-serif;
        background-color:#EFEFEF;
  color: #272727;
    }
    .gradient-form {
      height: 100vh;
      width: 100vw;
      background-color: #5E51D9;
    }
    .gradient-custom-2 {
      background-color: #5E51D9;
      position: relative;
        
    }
    .no-padding {
      padding: 0 !important;
      margin: 0 !important;
    }
    .logo-area {
      position: absolute;
      top: 30px;
      left: 30px;
      display: flex;
      align-items: center;
      z-index: 2;
    }

    .logo-area img {
      height: 75px;
      margin-right: 10px;
    }

    .logo-area span {
      color: #fff;
      font-weight: 600;
      font-size: 20px;
    }

    .gradient-custom-2 .img-fix {
  background: url(../images/bg.svg) no-repeat right center;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0; left: 20%;
  width: 80%; height: 100%;
  z-index: 1;

}
.form-control:focus{box-shadow: 0px 0px 8px 0rem rgba(13, 110, 253, .25);}
.text-white {
      z-index: 2;
      position: relative;
    }
    /*--*/
    /* Reusable Input & Textarea Style */
.input-style,
textarea.form-control {
  background-color: #F9F9F9;
  border: 1px solid #F0F0F0;
  color: #272727;
  font-size: 14px;
  font-weight: 400; /* Regular */
  border-radius: 8px; 
  height: 45px;
}

/* Form Label */
.form-label {
  font-size: 14px;
  font-weight: 400; /* Regular */
  color: #272727;
}

/* Heading: Hello, Welcome */
.heading-welcome {
  font-size: 40px;
  font-weight: 700; /* Bold */
  color: #fff;
  line-height: 0.6;
}

/* Subheading: Lets get you signed in... */
.subheading-verification {
  font-size: 14px;
  font-weight: 600; /* SemiBold */
  color: #fff;
}

/* Login Title */
.login-title {
  font-size: 24px;
  font-weight: 700; /* Bold */
  color: #272727;
}

/* Login Description: "Access your account..." or similar */
.login-description {
  font-size: 14px;
  font-weight: 400; /* Regular */
  color: #818181;
}

/* Button Style */
.btn-primary {
  background-color: #0056b3;
  border: none;
  font-weight: 600;
  font-size: 14px;
  height: 45px;
}

/* Utility Classes */
.text-regular {
  font-weight: 400;
}

.text-semibold {
  font-weight: 600;
}

.text-bold {
  font-weight: 700;
}

.fs-14 {
  font-size: 14px;
}

.fs-24 {
  font-size: 24px;
}

.fs-40 {
  font-size: 40px;
}
/* text animation*/
.hello-letter {
  display: inline-block;
  color: #fff;
  animation: highlightLetter 2.5s infinite;
}

.hello-letter:nth-child(1) {
  animation-delay: 0s;
}
.hello-letter:nth-child(2) {
  animation-delay: 0.3s;
}
.hello-letter:nth-child(3) {
  animation-delay: 0.6s;
}
.hello-letter:nth-child(4) {
  animation-delay: 0.9s;
}
.hello-letter:nth-child(5) {
  animation-delay: 1.2s;
}

@keyframes highlightLetter {
  0%, 100% {
    color: #fff;
  }
  50% {
    color: #6e5ffa; /* Blue highlight color */
  }
}

/*otp screen*/
.otp-input {
  width: 45px;
  height: 50px;
  font-size: 20px;
  font-weight: 600;
  padding: 0;
  background-color: #F9F9F9;
  border: 1px solid #F0F0F0;
  color: #272727;
  border-radius: 4px;
}
#resend-timer {
  cursor: default;
}

#resend-timer.resend-active {
  cursor: pointer;
  text-decoration: underline;
}
/*otp screen end*/
/*dashboard*/
.bg-custom{background-color: #EFEFEF; height: 100%;}
.dashboard-header {
  background-color: #ffffff;
  border-bottom: 1px solid #f0f0f0;
}

.nav-link-style {
  text-decoration: none;
  color: #272727;
  font-weight: 500;
  font-size: 14px;
}

.nav-link-style:hover {
  color: #007bff;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  background-color: #FFA500;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 14px;
}
.welcome-banner {
  background-color: #6757e7;
}

.welcome-banner h1 {
  font-size: 32px;
}

.welcome-banner p {
  font-size: 14px;
  color: #ffffff;
}

.welcome-img img {
  max-width: 100%;
  height: auto;
}
.ask-question-bar input.form-control {
  font-family: 'Open Sans', sans-serif;
  font-size: 16px;
  color: #272727;
}

.previous-questions .section-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
}

.accordion-button {
  background-color: #fff;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  padding: 1rem;
  border-radius: 8px !important;
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' fill='%231a1a1a' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 5.5l6 6 6-6'/%3E%3C/svg%3E");
}

.accordion-button:not(.collapsed) {
  background-color: #f8f8ff;
  box-shadow: none;
}

.accordion-body {
  background-color: #f5f5fc;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #333;
  border-radius: 0 0 8px 8px;
}

.accordion-item {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Optional: better layout on mobile */
@media (max-width: 768px) {
  .welcome-banner .container {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }

  .welcome-img {
    display: none;
  }
  .welcome-banner h1{ font-size: 24px;}
  .welcome-banner p{ font-size: 12px;}
}


@media (max-width: 960px) {
  .gradient-custom-2 .img-fix {
    display: none; /* Remove background image on smaller screens */
  }

  .gradient-custom-2 {
    min-height: 250px !important; /*Reduce height */
    padding: 2rem 1rem;
    justify-content: center;
  }

  .heading-welcome {
    font-size: 28px; /* Reduce font size for mobile/tablet */
    text-align: center;
  }

  .subheading-verification {
    font-size: 12px;
    text-align: center;
  }

  .login-title {
    font-size: 20px;
    text-align: center;
  }

  .login-description {
    font-size: 13px;
    text-align: center;
  }

  .form-label,
  .input-style {
    font-size: 13px;
  }
}
  .previous-questions .accordion-button > div small {
    font-size: 13px;
    line-height: 1.4;
  }

  .previous-questions .accordion-button > div {
    line-height: 1.6;
  }

  .empty-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    color: #333;
  }

  .empty-section p {
    max-width: 400px;
    font-size: 15px;
  }

  @media (max-width: 576px) {
    body {
      font-size: 13px;
    }

    .accordion-button {
      font-size: 13.5px;
    }

    .ask-question-bar input {
      font-size: 14px !important;
    }

    .ask-question-bar button {
      font-size: 14px;
    }
  }

  /* profile */
  .card p {
  font-size: 15px;
}

@media (max-width: 576px) {
  .card p {
    font-size: 14px;
  }
  .card small {
    font-size: 12px;
  }
}

.has-success{
    color:green;
}

.has-error{
    color:red;
}

textarea {
    width: 100%;
    min-height: 100px!important;
    padding: 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.5;
    resize: vertical;
    outline: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.warning-list {
    text-align: left;
    margin-bottom: 30px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #ff6b6b;
}

.warning-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.warning-title {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.warning-subtitle {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 30px;
    line-height: 1.5;
}

.warning-list {
    text-align: left;
    margin-bottom: 30px;
    background: rgba(255, 107, 107, 0.1);
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid #ff6b6b;
}

.warning-list h3 {
    color: #e74c3c;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 600;
}

.warning-list ul {
    list-style: none;
    space-y: 10px;
}

.warning-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: #2c3e50;
    line-height: 1.4;
}

.warning-list li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 0;
}

.checkbox-container {
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #e74c3c;
}

.checkbox-container label {
    color: #2c3e50;
    font-weight: 500;
    cursor: pointer;
}

.button-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-cancel {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
}

.btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(116, 185, 255, 0.4);
}

.btn-delete {
    background: linear-gradient(135deg, #ff6b6b, #e74c3c);
    color: white;
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-delete.enabled {
    opacity: 1;
    cursor: pointer;
}

.btn-delete.enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}