:root {
  --background: #fff;
  --foreground: #171717;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.bg-img {
  background-color: #ffffff;
  /* background-image: url("https://quiz.thorient.co`m/_next/static/media/bg.cad19524.jpg"); */
  /* background-size: cover;/ */
  height: 100vh;
  position: relative;
  overflow-y: hidden;
}

.bg-img:before {
  content: "";
  height: 100%;
  width: 100%;
  background-color: #d3d3d3;
  opacity: 0.8;
  top: 0;
  left: 0;
  position: absolute;
}
.content-view {
  position: absolute;
  width: 425px;
  height: 100vh;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  background-color: #172031;
  overflow: hidden;
}

@media (max-width: 480px) {
  .content-view {
    width: 100%;
  }
}

.mainbox-view {
  display: flex;
  overflow: auto;
  height: 100%;
}

.main-center-view {
  -webkit-box-flex: 1;
  -webkit-flex-grow: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  padding: 24px;
  -webkit-transition: margin 195ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;
  transition: margin 195ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;
  scrollbar-width: none;
}

.quiz_main {
  border-bottom: 1px solid;
  border-color: rgba(0, 0, 0, 0.12);
  padding: 15px;
}

/* .quiz-view{

} */
.quiz-box {
  border: 2px solid #ffb540;
  margin-top: 50px;
  margin-bottom: 50px;
  border-radius: 10px;
  position: relative;
  background-color: #3b4559;
  padding: 20px;
  text-align: center;
}

.quiz_count {
  border-radius: 100px;
  position: absolute;
  left: 50%;
  transform: translate(-50%);
}

.quiz_count {
  width: 70px;
  height: 70px;
  background-color: #ffb540;
  border: 2px solid #000;
  top: -40px;
  font-size: 30px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.quiz_count_text {
  top: 10px;
  color: #fff;
}
.qution {
  font-size: 20px;
  margin-top: 30px;
  color: #fff;
  text-transform: capitalize;
}

.options {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  justify-content: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.btn-style {
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  background-color: transparent;
  outline: 0;
  border: 0;
  margin: 0;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  vertical-align: middle;
  -moz-appearance: none;
  -webkit-appearance: none;
  -webkit-text-decoration: none;
  text-decoration: none;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  color: inherit;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 1.75;
  letter-spacing: 0.02857em;
  text-transform: capitalize;
  min-width: 64px;
  padding: 6px 16px;
  border: 0;
  border-radius: 4px;
  -webkit-transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    border-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms,
    color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  color: var(--variant-containedColor);
  background-color: var(--variant-containedBg);
  box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2),
    0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
  --variant-textColor: #1976d2;
  --variant-outlinedColor: #1976d2;
  --variant-outlinedBorder: rgba(25, 118, 210, 0.5);
}
.view_option_button {
  width: 45%;
  background-color: #172031;
  color: #fff !important;
  min-height: 49px;
  border-radius: 40px;
  font-weight: 500;
}

/* Main container styling */
.details-view {
  background-color: #1a1a2e;
  padding: 20px;
  border-radius: 10px;
  color: #ffffff;
  font-family: Arial, sans-serif;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

/* Heading styling */
.details-view h1 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #ffcc00;
}

.details-view h2 {
  font-size: 20px;
  margin: 20px 0;
  color: #ffcc00;
}

.details-view p {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 15px;
}

.details-view ul,
.details-view ol {
  margin-left: 20px;
}

.details-view ul li,
.details-view ol li {
  margin-bottom: 10px;
  color: #cccccc;
}

.start_card {
  background-color: #fff;
  border: none;
  text-align: center;
  background-color: rgb(255, 255, 255);
  margin-top: 50px;
  border-radius: 10px;
  position: relative;
  padding: 20px;
}

.contained_button,
.contained_button.Mui-disabled {
  height: 49px;
  width: 100%;
  border-radius: 40px;
  background-color: rgb(64, 124, 255);
  font-weight: 900;
  color: #fff;
  font-size: 16px;
}
.contained_button:hover {
  background-color: rgb(30, 101, 255);
}

/* Card container */
.bank-detail-card {
  background-color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  border: 0.7px solid #e0e0e0;
  margin: 20px 10px;
}

/* Header section */
.card-header {
  text-align: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.card-title {
  font-size: 24px;
  font-weight: 600;
  color: #00796b;
}

.card-subtitle {
  font-size: 14px;
  color: #757575;
  margin-top: 5px;
}

/* Image section */
.image-container {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.bank-logo {
  width: 80px;
  height: auto;
}

/* Description section */
.bank-description {
  font-size: 14px;
  color: #424242;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Loan details section */
.loan-details {
  border-top: 1px solid #ddd;
  padding-top: 20px;
  font-size: 14px;
  color: #424242;
  margin-bottom: 30px;
}

.loan-details p {
  margin: 10px 0;
}

/* Button section */
.button-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

button {
  padding: 12px 20px;
  font-weight: bold;
  border-radius: 50px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Apply button */
.apply-button {
  background: linear-gradient(to right, #4caf50, #00796b);
  color: white;
  border: none;
}

.apply-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Form button */
.form-button {
  background: linear-gradient(to right, #2196f3, #673ab7);
  color: white;
  border: none;
}

.form-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* // Banner Size */

.ownBanner {
  max-width: 300px;
  max-height: 250px;
  min-width: 250px;
  min-height: 250px;
  margin: 20px 0px;
}

.banner {
  max-width: 300px;
  max-height: 250px;
  width: 100%;
  height: auto;
  background-size: contain;
}

/* // Loader */
/* .bar-loader {
  width: 100px;
  height: 10px;
  background-color: #f3f3f3;
  border-radius: 5px;
  overflow: hidden;
  position: relative;
}

.bar {
  width: 100%;
  height: 100%;
  background-color: #007bff;
  animation: loading 2s ease-in-out infinite;
}

@keyframes loading {
  0% {
    width: 0;
  }
  50% {
    width: 100%;
  }
  100% {
    width: 0;
  }
} */
.dots-loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 16px;
  height: 16px;
  background-color: #007bff;
  border-radius: 50%;
  animation: pulse 0.6s infinite alternate;
}

.dot:nth-child(2) {
  animation-delay: 0.2s;
}

.dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }
}
