.m-0 {
  margin: 0 !important;
}

.row {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-right: -1.0715rem;
  margin-left: -1.0715rem;
}

@media (min-width: 768px) {
  .col-md-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (min-width: 768px) {
  .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.bg-grey-100 {
  background-color: #f1f1f1 !important;
}

.bg-success {
  background-color: #28a745 !important;
  color:#ffffff !important;
}

.p-30 {
  padding: 30px !important;
}

.pt-5 {
  padding: 5px !important;
}

.pl-25{
  padding-left: 25px !important;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.badge {
  display: inline-block;
  padding: 0.25em 0.6em;
  font-size: 75%;
  font-weight: 400;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.215rem;
  margin: 1px;
}

.settings_form {
  margin-left: 20px;
}

.table-bordered {
  border: 1px solid #e4eaec;
}

.table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 1rem;
  background-color: transparent;
  color: #333;
  color: #76838f;
}

table {
  border-collapse: collapse;
}

.table-bordered thead:first-child th {
  border-top: 1px solid #e4eaec;
}
.table thead:first-child th {
  border-top: none;
}
.table thead tr th {
  background-color: #f3f7f9;
}
.table-bordered thead td, .table-bordered thead th {
  border-bottom-width: 1px;
}
.table tfoot th, .table thead th {
  font-weight: 500;
  color: #526069;
  border-bottom-width: 1px;
}
.table-bordered thead td, .table-bordered thead th {
  border-bottom-width: 2px;
}
.table thead th {
  vertical-align: bottom;
  border-bottom: 2px solid #e4eaec;
  border-bottom-width: 2px;
}
.table th {
  font-weight: 500;
}
.table-bordered td, .table-bordered th {
  border: 1px solid #e4eaec;
  border-top-width: 1px;
  border-top-style: solid;
  border-top-color: rgb(228, 234, 236);
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: rgb(228, 234, 236);
}
.table td, .table th {
  padding: .572rem;
  vertical-align: top;
  border-top: 1px solid #e4eaec;
}
.nowrap_table td, th {
  white-space: nowrap !important;
}

.table-striped tbody tr:nth-of-type(2n+1) {
  background-color: rgba(243,247,249,.3);
}

#sub_user_table {
  max-width: 96%;
}

.modal__wrapper > .inner__modal > .modal__box {
  max-width: 800px;
}

.modal__wrapper > .inner__modal > .modal__box > .top {
  padding: 20px;
}

.modal__wrapper.remove__popup .modal__box .desc {
  padding-left: 40px;
  padding-right: 40px;
}

.float-right {
  float: right;
}

.billing-right-div {
  padding-left: 30px;
  padding-right: 30px;
}

.modal__wrapper button {
  cursor: pointer;
}

.progress {
  height: 5px;
  background-color: #666;
  border-radius: 10px;
  overflow: hidden;
}

input.form-control {
  height: 36px;
  border-color: #e4eaec;
  box-sizing: border-box;
  font-weight: 300;
  box-shadow: none;
  transition: box-shadow .25s 
  linear, border .25s 
  linear, color .25s 
  linear, background-color .25s 
  linear;
  -webkit-appearance: none;
  -moz-appearance: none;
  display: block;
  width: 100%;
  padding: 6.006px 14px;
  font-size: 14px;
  line-height: 1.57142857;
  color: #76838f;
  border: 1px solid #e4eaec;
}

/* dark mode */
body.dark .bg-grey-100 {
  background-color: var(--color-dark-bg-body) !important;
}

body.dark .billing-right-div {
  border: 1px solid var(--color-dark-border);
}

body.dark .settings__box.myplan {
  color: var(--color-dark-text-light);
}

.settings {
  /* commentrd: creates issue for opening top header menu */
  /* overflow-x: hidden; */
}

.plans-row {
  margin-bottom: 24px !important;
  padding: 10px 15px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background-color: #fff;
}

body.dark .plans-row {
  background-color: var(--color-dark-bg-light);
  border: 1px solid var(--color-dark-tbl-border);
}


.no-reason {
  display: none;
}

/* Base input styling */
.form-control {
  border: 1px solid #ced4da;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 15px;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Focus state */
.form-control:focus {
  border-color: #4caf50; /* green accent */
  box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
  outline: none;
}

/* Disabled state */
.form-control:disabled,
.form-control[readonly] {
  background-color: #f8f9fa;
  opacity: 1;
}

/* Validation states */
.was-validated .form-control:invalid,
.form-control.is-invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated .form-control:valid,
.form-control.is-valid {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Dropdown select tweaks */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23495057' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
  padding-right: 2rem;
}


/* Base form-group styling */
.form-group {
  margin-bottom: 1.25rem;   /* more breathing room between fields */
  position: relative;
}

/* Labels */
.form-group label {
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
  display: block;
}

/* Help text or error messages */
.form-group .invalid-feedback,
.form-group .text-danger {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

/* Add subtle divider between groups (optional) */
.form-group:not(:last-child) {
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 1rem;
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .form-group {
    margin-bottom: 1rem;
  }
  .form-group label {
    font-size: 0.9rem;
  }
}


.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}