/* login.css */

/* General Styles */
body {
  background-color: #f5f5f5;
  font-family: 'Arial', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.container {
  max-width: 400px;
  width: 100%;
  padding: 20px;
}

.login-form {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.login-form img {
  display: block;
  margin: 0 auto 20px;
  max-width: 100%;
}

.login-form input[type="text"],
.login-form input[type="password"] {
  margin-bottom: 20px;
  padding: 15px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
  border-color: #80bdff;
  outline: 0;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

.login-form button {
  padding: 15px;
  border: none;
  border-radius: 5px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
}

.login-form button[name="go"] {
  background-color: #007bff;
  color: #fff;
}

.login-form button[name="go"]:hover {
  background-color: #0056b3;
}

.btnForget {
  display: block;
  margin: 10px 0;
  color: #007bff;
  cursor: pointer;
}

.btnForget:hover {
  text-decoration: underline;
}

/* General modal styling */
.modal,
.modalCLient {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 10% auto;
}

.modal-sm {

  width: 50%;

}

.modal-sm .modal-dialog {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  /* Adjust the max-width as needed */
  margin: 0 auto;
  padding: 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: fadeIn 0.3s ease-out;
}

.modal-sm .modal-header,
.modal-sm .modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-sm .modal-title {
  font-size: 1.0rem;
  font-weight: bold;
  text-align: center;
  /* Centering the text */
  width: 100%;
  /* Ensuring the title takes the full width for proper centering */
}

.modal-sm .modal-body {
  text-align: center;
}

.modal-sm .center {
  display: flex;
  justify-content: center;
}

.modal-sm .form-group {
  width: 80%;
  /* Centering the content horizontally */
  align-items: center;
  /* Centering the content vertically */
  margin: 0;
}

.modal-sm .form-control {
  width: 100%;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color 0.2s;
}

.modal-sm .form-control:focus {
  border-color: #007bff;
}

.modal-sm .btn {
  font-size: 1.0rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.modal-sm .btn-primary {
  background-color: #007bff;
  color: white;
}

.modal-sm .btn-primary:hover {
  background-color: #0056b3;
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 6px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
  outline: 0;
}

.modal-header,
.modal-footer {
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}

.modal-footer {
  width: 210px;
  margin: 0 auto;
}
.modal-footer button {
  padding: 10px 70px;
}

.modal-header {
  border-bottom: none;
  text-align: center;
}

.modal-title {
  margin: 0;
  line-height: 1.42857143;
  color: #010f39;
  /* Text color */
}

.modal-body {
  position: relative;
  padding: 15px;
  text-align: center;
  /* Centered text */
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col-sm-12 {
  flex: 0 0 100%;
  max-width: 90%;
  padding-right: 15px;
  padding-left: 15px;
}

.text-center {
  text-align: center;
}

.form-control {
  display: block;
  width: 70%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
  margin-top: 10px;
}

.btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  margin-top: 10px;
}

.btn-default {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}

.btn-default:hover {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}

.btn-primary {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
}

.btn-primary:hover {
  color: #fff;
  background-color: #286090;
  border-color: #204d74;
}

.containerLoading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
  /* Hidden by default */
}

.doubleLine {
  display: flex;
  gap: 5px;
}

.doubleLine div {
  width: 5px;
  height: 50px;
  background-color: #007bff;
  animation: loading 1s infinite alternate;
}

.doubleLine div:nth-child(2) {
  animation-delay: 0.2s;
}

.doubleLine div:nth-child(3) div {
  width: 5px;
  height: 30px;
  background-color: #007bff;
  animation: loading 1s infinite alternate 0.4s;
}

.doubleLine div:nth-child(4) div {
  width: 5px;
  height: 30px;
  background-color: #007bff;
  animation: loading 1s infinite alternate 0.6s;
}

@keyframes loading {
  from {
    transform: scaleY(1);
  }

  to {
    transform: scaleY(2);
  }
}