/* Original User Provisioning Module CSS */

.mo_user_provisioning_table_layout {
  background-color: #e0e0d8;
  width: 98%;
  padding: 1%;
  overflow: hidden;
}

.mo_user_provisioning_table_layout_setup_guide {
  background-color: #ffffff;
  border: 1px solid #cccccc;
  padding: 0px 10px 10px 10px;
  margin-bottom: 10px;
  overflow: hidden;
}

.mo_user_provisioning_container {
  padding: 2%;
  width: 60%;
  float: left;
  border-radius: 2px;
  background-color: white;
  box-shadow: 2px 3px 4px 5px rgba(0, 0, 0, 0.16), 2px 3px 6px rgba(0, 0, 0, 0.23);
}

.mo_user_provisioning_container_2 {
  width: 30%;
  padding: 2%;
  border-radius: 4px !important;
  box-shadow: 2px 3px 4px 5px rgba(0, 0, 0, 0.16), 2px 3px 6px rgba(0, 0, 0, 0.23);
  margin-left: 20px;
  margin-right: auto;
  float: left;
}

.mo_user_provisioning_text_center {
  text-align: center;
}

.mo_user_provisioning_container_user_provisioning_tab {
  padding: 2%;
  width: 60%;
  float: left;
  border-radius: 2px;
  background-color: white;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.mo_user_provisioning_tab_heading {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.2em;
  font-weight: bold;
  padding-bottom: 0.4%;
}

.mo_user_provisioning_full_screen_container {
  width: 96% !important;
}

.mo_user_provisioning_inline_wrapper {
  display: flex;
  width: auto;
}

.mo_user_provisioning_wrap {
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  width: 98%;
}

.mo_user_provisioning_flex_container {
  padding: 0;
  margin: 0;
  list-style: none;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  border: none;
}

.mo_user_provisioning_flex_item {
  border: 1px solid #ddd;
  background-color: #f6f6f6;
  padding: 1% 0 1% 0;
  display: inline-block;
  width: 12%;
  text-align: center;
  vertical-align: middle;
  margin: 1%;
  cursor: pointer;
}

.mo_user_provisioning_flex_item:hover {
  border: 2px solid black;
}

.mo_user_provisioning_img_logo {
  width: 5em;
  height: 5em;
  object-fit: contain;
}

li.disabled {
  cursor: not-allowed;
}

.mo_user_provisioning_search_provider {
  margin-left: 1%;
}

table#user_provisioning_headers td {
  border: 1px solid #bfbfbf;
  text-align: center !important;
  background: rgba(242, 242, 240, 0.7);
}

table#user_provisioning_headers td:hover {
  background: white;
}

table#user_provisioning_headers td a {
  display: block;
  width: 100%;
}

.border_fill {
  border-collapse: collapse !important;
  width: 60% !important;
  margin: 0 0 0 2em !important;
}

.scim_client_know_more_hidden {
  visibility: hidden;
  width: 30%;
  background-color: #ffffff;
  border: groove;
  color: black;
  font-size: 60%;
  text-align: center;
  border-radius: 6px;
  padding: 1%;
  position: absolute;
  top: 37%;
  left: 30%;
}

.scim_client_know_more {
  height: 4%;
  width: 3%;
}

.scim_client_know_more:hover + .scim_client_know_more_hidden {
  visibility: visible;
  opacity: 1;
}

.mo_user_provisioning_tab_sub_heading {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.1em;
  font-weight: bold;
}

.mo_user_provisioning_background_note {
  background-color: #e0e0e0;
  border-radius: 4px;
  padding: 0.55em;
  width: 98%;
}

.mo_user_provisioning_upgrade_background_note {
  background-color: black;
  color: white;
  padding: 0.55em;
  text-align: center;
}

.mo_user_provisioning_scim_header {
  font-size: 1.3em;
}

.mo_user_provisioning_inline {
  display: flex;
}

.mo_user_provisioning_left_margin {
  margin-left: auto;
}

.mo_user_provisioning_under_disabled {
  pointer-events: none;
  opacity: 0.5;
}

.mo_user_provisioning_pro_icon {
  float: right;
  height: 25%;
  margin: -5% 3% 0 0;
  width: 21%;
}

.mo_user_provisioning_same_line_div {
  float: left;
  padding: 0.5em 1em 0 0;
  margin-bottom: auto;
}

.mo_user_provisioning_right_container {
  width: 29%;
  padding: 2% !important;
  border-radius: 4px !important;
  box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0, 0, 0.23);
  margin-right: auto;
  float: right;
  margin-left: 1%;
}

.mo_user_provisioning_right_table_layout {
  width: 30%;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  padding: 0px 10px 10px 10px;
  margin-bottom: 10px;
}

.mo_user_provisioning_table_layout_upgrade {
  background-color: #f5f5f5 !important;
}

.mo_user_provisioning_welcome_message {
  display: block;
  margin-top: 10px;
  text-align: center;
  font-size: 15px;
  color: rgba(0, 128, 0, 0.80);
  background-color: rgba(0, 255, 0, 0.15);
  padding: 5px;
}

.mo_user_provisioning_highlight_background {
  background-color: #e0e0e0;
  border-radius: 4px;
  padding: 0.55em;
  margin: 0 1em;
  width: 97%;
}

.user_provisioning_pricing_rate {
  font-size: 250%;
  font-weight: 600;
  position: relative;
  text-align: center;
}

table.mo_how_to_upgrade td {
  border: groove;
  width: 60% !important;
}

table.mo_how_to_upgrade th {
  text-align: center;
  font-size: larger;
  border: groove;
}

table.mo_upgrade_plans_features td {
  box-shadow: rgba(50, 50, 93, 0.25) 0 13px 27px 5px, rgba(0, 0, 0, 0.3) 0 8px 16px -2px;
  text-align: center;
  height: 2em;
  width: 15% !important;
  font-size: initial;
}

table.mo_upgrade_plans_features tbody>tr:first-child>td {
  border-radius: 15px 15px 0 0;
}

table.mo_upgrade_plans_features tbody>tr:last-child>td {
  border-radius: 0 0 15px 15px;
}

table.mo_upgrade_plans_features tbody>:nth-child(2) {
  color: white !important;
  background-color: black !important;
}

.mo_upgrade_plans_features {
  margin: 0 1em !important;
  width: auto;
}

.mo_user_provisioning_right_side {
  float: right;
}

.mo_user_prov_feature_table {
  border-collapse: separate;
  border-spacing: 4em 0;
}

.mo_user_provisioning_feature_list {
  text-align: left;
  margin: 0 2em;
}

.mo_user_prov_checkmark {
  color: forestgreen;
  font-size: larger;
  font-weight: 600;
}

table.mo_upgrade_plans_features ul {
  list-style: none;
  padding-left: 0;
}

table.mo_upgrade_plans_features li {
  position: relative;
  padding-left: 1.5em;
  padding-bottom: 1em;
}

table.mo_upgrade_plans_features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  width: 1em;
  height: 2em;
  color: forestgreen;
  font-size: larger;
  font-weight: 600;
}

table.setup_guides td,
thead th {
  text-align: center;
}

.mo-bottom-corner {
  position: fixed;
  width: 5em;
  height: 5em;
  bottom: 2em;
  right: 2em;
  border-radius: 40px;
  border: black solid;
  text-align: center;
  box-shadow: 5px 5px 5px #999;
}

table.mo_azure_provisioning_types td {
  width: 33%;
  border: 1px solid grey;
}

table.mo_azure_provisioning_types {
  border-spacing: 2em 0;
  border-collapse: separate;
}

.mo_user_prov_text_center {
  text-align: center;
}

.mo_top_guide_button {
  margin-left: 5% !important;
}

table.mo_user_provisioning_table_server td {
  text-align: center;
}

.mo_user_prov_client_conf_table {
  width: 70% !important;
}

.views-exposed-form.views-exposed-form {
  display: flex;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.5rem 1.5rem 1.5rem;
  border: 1px solid #dedfe4;
  border-radius: 2px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgb(0 0 0 / 10%);
}

.is-disabled {
  pointer-events: all !important;
}

table.mo_user_provisioning_types {
  border-spacing: 1em 0;
  border-collapse: separate;
}

table.mo_user_provisioning_types td {
  width: 33%;
  border: 1px solid grey;
  text-align: center;
}

table.mo_user_provisioning_types td > .form-item label.option{
  display: table;
}

.mo_user_provisioning_ops {
  margin: 0 1em;
}

.mo_user_prov_pro {
  width: 2%;
}

table.mo_user_provisioning_manual_prov_table tr:hover {
  background: none !important;
}

table.mo_user_provisioning_manual_prov_table td+td {
  width: 40%;
}

table.mo_user_provisioning_manual_prov_table td {
  width: 20%;
}

table.mo_user_prov_summary_table td {
  text-align: center;
}

.premium-upgrade-message {
  background: #fff;
  border: 1px solid #000;
  color: black;
  border-left: 5px solid green;
  padding: 10px;
  margin: 10px 0;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.provisioning-options-container {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.provisioning-card {
  flex: 1;
  width: 550px;
  height: 120px;
  padding: 0 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  position: relative;
  transition: box-shadow 0.3s ease;
}

.provisioning-card:hover {
  border-color: #0d6efd;
  box-shadow: 0 4px 8px rgba(0,0,0,.15);
}

.provisioning-card-link {
  text-decoration: none;
  color: inherit;
}

.directory-radio-wrapper{
  display: flex;
  gap: 120px;
  align-items: center;
}

.mo-provisioning-checkboxes .form-item {
  display: flex;
  align-items: center;
  margin-right: 20px;
  float: left;
}

.delete-row-icon{
  width: 45px;
  height: 45px;
}

html.gin--dark-mode .delete-row-icon,
body.gin--dark-mode .delete-row-icon {
  filter: invert(1) brightness(1.5);
}

.user_provisioning_checkboxes{
  display: inline-flex;
  column-gap: 11em;
  flex-wrap: wrap;
}

table.export_user_table td > .form-item{
  display: table !important;
}

/* Dark Mode Support */
.gin--dark-mode {
  .mo_user_provisioning_highlight_background{
    background-color: #2c2c2c;
    color: white;
    border: 1px solid #76777b;
  }
  .mo_user_provisioning_background_note {
    background-color: #2c2c2c;
    color: white;
    border: 1px solid #76777b;
  }
  .mo_user_provisioning_upgrade_background_note {
    background-color: #2c2c2c;
    color: white;
    border: 1px solid #76777b;
  }
  table.mo_upgrade_plans_features tbody>:nth-child(2){
    background-color: #2c2c2c !important;
    color: white !important;
    border: 1px solid #76777b !important;
  }
  .premium-upgrade-message {
      background: #1f2124;
      border: 1px solid grey;
      color: white;
      border-left: 5px solid green;
      padding: 10px;
      margin: 10px 0;
  }
  
  /* Overview Page Dark Mode */
  .mo-setup-guides-section,
  .mo-video-tutorial-section {
    background: #2c2c2c;
    border-color: #76777b;
  }
  
  .mo-section-title {
    color: white;
  }
  
  .mo-section-description {
    color: #ccc;
  }
  
  .mo-setup-guides-simple-card,
  .mo-video-simple-card {
    background: #3c3c3c;
    border-color: #76777b;
    color: white;
  }
  
  .mo-setup-guides-simple-card .mo-guide-content h3 {
    color: white;
  }
  
  .mo-watch-full-video {
    color: #4a9eff;
  }
  
  .mo-watch-full-video:hover {
    color: #66b3ff;
  }
  
  .mo-overview-tab {
    background-color: #2c2c2c;
    border: 1px solid #76777b;
  }
  
  .mo-overview-tab:hover {
    border-color: #0071b8;
  }
  
  .mo-overview-tab h3 {
    color: white;
  }
}

/* Overview Page - Minimal CSS for Setup Guides and Video */
.mo-overview-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 20px 0;
}

.mo-overview-tab {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  flex: 1;
  transition: border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px;
}

.mo-overview-tab h3 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 1.1em;
   font-weight: 500;
}

.mo-overview-tab p {
  margin: 0 0 20px 0;
  color: #666;
  font-size: 0.9em;
  line-height: 1.4;
  flex-grow: 1;
}

.mo-overview-tab a {
  display: inline-block;
  align-self: center;
}

.mo-overview-sections-container {
  display: flex;
  gap: 20px;
  margin: 20px 0;
}

.mo-setup-guides-section {
  flex: 1;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.mo-section-title {
  font-size: 1.2em;
  font-weight: 500;
  color: #333;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mo-section-description {
  color: #666;
  margin: 0 0 15px 0;
  font-size: 0.95em;
}

.mo-setup-guides-simple-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.mo-setup-guides-simple-card .mo-guide-content h3 {
  margin: 0 0 10px 0;
  color: #333;
  font-size: 1.1em;
  font-weight: 500;
}

.mo-guide-content{
    height: 280px;
}

.setup-guide-btn{
    margin-top: 100px !important;
}

.mo-video-tutorial-section {
  flex: 1;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.mo-video-simple-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin: 15px 0;
  text-align: center;
  height: 280px;
}

.mo-video-simple-card iframe {
  width: 100%;
  height: 270px;
  border: none;
  border-radius: 8px;
  margin-bottom: 15px;
}

.mo-watch-full-video {
  color: #0071b8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.mo-watch-full-video:hover {
  color: #005a8b;
  text-decoration: underline;
}

.custom-radio-spacing .form-radios .form-item {
  margin-right: 80px;
}


/* Upgrade Plans Form */
.current-plan-section {
    border: 1px solid #ccc;
    padding: 12px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.rest-text-center {
    text-align: center;
}

.section-container {
    border: 1px solid #ccc;
    padding: 12px 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px;
}

.feature-box {
    border: 1px solid #ccc;
    padding: 12px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
}

h3, h5{
    margin: 8px 0px !important;
}

.product-description {
    min-height: 150px;
    display: block;
    flex-grow: 1;
    margin-bottom: 10px;
}

.feature-image {
    width: 100%;
    height: 180px !important;
    object-fit: fill;
    border-radius: 4px;
}

.feature-box .button {
    margin-top: auto;
    align-self: flex-start;
    text-align: center;
    min-width: 120px;
}
.endpoint-box{
    background: #f7f7f7;
    padding: 10px;
    border-left: 4px solid #337ab7;
}
.response-box{
    background: #f1f1f1;
    padding: 10px; font-family: monospace;
    color: #333; border-radius: 4px;
}

.gin--dark-mode{
    .auth-method-card,.premium-notice,.premium-feature,
    .current-plan-section,.section-container,.custom-warning,
    .api-auth-note,.endpoint-box,.response-box {
        color: #fff;
        background-color: #2c2c2c;
    }
    .premium-badge{
        background: none;
    }
    .token-endpoint{
        color: #ccc;
    }
    .feature-box{
        border: 0.5px solid #373b45;
        color: #d2d3d3;
    }
}
