

/* Logo alignment with heading */
.kw-admin-notice-container .kw-logo-container {
  display: flex;
  align-items: flex-start;
  padding-top: 0;
}

.kw-admin-notice-container .kw-logo-container img {
  width: 80px;
  height: 82px;
}

/* Ensure consistent alignment for all notices */
.kw-admin-notice-container .kw-admin-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.kw-admin-notice-container .kw-notice-content h3 {
  margin-top: 0;
  margin-bottom: 8px;
}

/* Content-based notice sizing */
.kw-admin-notice-container {
  width: auto;
  max-width: none;
  min-height: auto;
}

/* Dismiss button styling */
.kw-dismiss-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #f8f9fa !important;
  color: #6c757d !important;
  border: 1px solid #dee2e6 !important;
  border-radius: 4px !important;
  padding: 8px 12px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.kw-dismiss-btn:hover {
  background: #e9ecef !important;
  color: #495057 !important;
  border-color: #adb5bd !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.kw-dismiss-btn svg {
  flex-shrink: 0;
}

/* Plans button styling */
.kw-plans-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.kw-plans-btn svg {
  flex-shrink: 0;
}

/* Contact button styling */
.kw-contact-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.kw-contact-btn svg {
  flex-shrink: 0;
}

/* Loading state for dismiss buttons */
.kw-dismiss-btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.kw-dismiss-btn.loading svg {
  animation: kw-spin 1s linear infinite;
}

@keyframes kw-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Minimal Premium Tooltip Styling */

.kwsso-premium-tooltip .kwsso-premium-tooltip-text {
  visibility: hidden;
  min-width: 120px;
  max-width: 300px;
  width: max-content;
  background-color: #eef2f7;
  color: #0f172a;
  text-align: center;
  border-radius: 6px;
  padding: 9px 12px;
  position: absolute;
  z-index: 1000;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  font-size: 12.5px;
  font-weight: 500;
  white-space: nowrap;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

/* Adjust tooltip position for right-side features */
.kwsso-feature-toggle .kwsso-premium-tooltip-text {
  left: auto;
  right: 0;
  transform: translateY(4px);
}

/* Remove tooltip arrow for right-aligned features */
.kwsso-feature-toggle .kwsso-premium-tooltip-text::after {
  display: none !important;
  content: none !important;
}

/* Remove default tooltip arrow */
.kwsso-premium-tooltip .kwsso-premium-tooltip-text::after {
  display: none !important;
  content: none !important;
}

.kwsso-premium-tooltip:hover .kwsso-premium-tooltip-text {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Ensure slide-in animation also applies to right-aligned tooltip */
.kwsso-premium-tooltip:hover .kwsso-feature-toggle .kwsso-premium-tooltip-text {
  transform: translateY(0);
}

.kwsso-premium-tooltip:hover {
  cursor: not-allowed;
}

.kwsso-premium-tooltip input:disabled,
.kwsso-premium-tooltip input[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.kwsso-premium-tooltip .kw-switch input:disabled + .kw-radio-button-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.kwsso-premium-tooltip .kw-main-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Premium Feature Card Styles */
.kwsso-premium-feature-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  transition: all 0.2s ease;
  position: relative;
  flex: 1;
  min-width: 0;
}

.kwsso-premium-feature-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Manual Configuration Cards - No hover effects */
.kwsso-manual-config-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
  position: relative;
  flex: 1;
  min-width: 0;
}

.kwsso-feature-content {
  width: 100%;
}

/* Two-column layout for features */
.kwsso-features-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px;
  margin: 16px 0;
}

.kwsso-features-grid .kwsso-premium-feature-card {
  flex: 1 1 calc(50% - 8px);
  min-width: 300px;
}

/* Three-column layout for manual configuration */
.kwsso-manual-config-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px;
  margin: 16px 0;
}

.kwsso-manual-config-grid .kwsso-manual-config-card {
  flex: 1 1 calc(33.333% - 11px);
  min-width: 280px;
}

/* Full width card for IDP configuration */
.kwsso-manual-config-grid .kwsso-manual-config-card.full-width {
  flex: 1 1 100%;
  min-width: unset;
}

/* Half width cards for second row */
.kwsso-manual-config-grid .kwsso-manual-config-card.half-width {
  flex: 1 1 calc(50% - 8px);
  min-width: 300px;
}

.kwsso-manual-config-grid .kwsso-feature-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  gap: 16px;
}

.kwsso-feature-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  gap: 16px;
}


.kwsso-feature-title-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.kwsso-feature-icon {
  width: 16px;
  height: 16px;
  color: #6b7280;
  flex-shrink: 0;
}

.kwsso-feature-title {
  font-size: 14px;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  line-height: 1.4;
}

.kwsso-feature-title.blue-text{
  font-size: 14px;
  font-weight: 600;
  color: rgb(37 99 235);
  margin: 0;
  line-height: 1.4;
}


.kwsso-feature-toggle {
  position: relative;
  flex-shrink: 0;
}

.kwsso-feature-description {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin: 8px 0 0 0;
  padding: 8px 12px;
  background-color: #f8fafc;
  border-left: 3px solid #e2e8f0;
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .kwsso-features-grid {
    flex-direction: column;
    padding: 16px;
  }
  
  .kwsso-features-grid .kwsso-premium-feature-card {
    flex: 1 1 100%;
    min-width: unset;
  }
  
  .kwsso-feature-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .kwsso-feature-toggle {
    align-self: flex-end;
  }
  
  .kwsso-feature-description {
    padding-right: 12px;
  }
}

@media (max-width: 1024px) {
  .kwsso-features-grid .kwsso-premium-feature-card {
    min-width: 280px;
  }
}

/* Ensure tooltip wrapper works as input wrapper */
.kwsso-premium-tooltip {
  position: relative;
  display: block;
  width: 100%;
}

input.kw-input[disabled]:hover{
  cursor: not-allowed;
}

.kwsso-xml-container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  background-color: #ffffff;
}
.kwsso-xml-heading {
  text-align: center;
  margin-bottom: 20px;
  color: #495057;
}
.kwsso-xml-code-box {
  position: relative;
  background: #212529;
  color: #e9ecef;
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  white-space: pre-wrap;
  margin-bottom: 20px;
  border: 1px solid #ced4da;
  overflow-y: auto;
}
.kwsso-xml-code-box pre
{
font-family: "Courier New", Courier, monospace;
background: #212529;
padding: 2px 20px;
}

.kwsso-xml-btn-download {
  position: absolute;
  top: 10px;
  right: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}
.kwsso-xml-btn-download:hover {
  transform: scale(1.02);
}
.kwsso-xml-url-container {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f9fa;
  padding: 6px;
  border: 1px solid #ced4da;
  border-radius: 8px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
.kwsso-xml-url-input {
  flex-grow: 1;
  border: none !important;
  background: none !important;
  font-size: 14px;
  font-family: Arial, sans-serif;
  outline: none;
  color: #495057;
}

.kwsso-xml-url-input:focus {
  border: none !important;
  background: none !important;
}
.kwsso-xml-btn-copy {
  border: none;
  border-radius: 5px;
  background-color: #28a745;
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}
.kwsso-xml-btn-copy:hover {
  background-color: #218838;
  transform: scale(1.05);
}
.kwsso-xml-toast {
  position: fixed;
  bottom: 100px;
  left: 200px;
  padding: 10px 20px;
  background-color: #28a745;
  color: white;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
}
.kwsso-xml-toast.show {
  opacity: 1;
  transform: translateY(0);
}


/* display Attributes table*/
.kwsso-attr-display-table-wrapper {
  overflow-x: auto;
  max-width: 100%;
  margin-top: 2px;
}

.kwsso-attr-display-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

.kwsso-attr-display-table-header {
  background-color: #64a9ff;
  font-weight: bold;
  color: #fff;
  padding: 12px;
  text-align: left;
}

.kwsso-attr-display-table-cell {
  border: 1px solid #ddd;
  font-weight: 500;
  font-size: 12px;
  padding: 10px;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
}

.kwsss-idp-search-dropdown-container-content a .enabled {
  color: green;
  font-style: italic;
  font-weight: 700;
}

.kwsso_full-layout {
  margin-bottom: 5px;
  height: auto;
  width: 55%;
  float: left;
}
.kwsso_full-layout.kw-sso-full {
  width: 97%;
}


.kwsso_box-modal-backdrop {
  top: 0;
  left: 0;
  position: fixed;
  width: 100% !important;
  background-color: #121212cc !important;
  opacity: 0.9 !important;
  height: 100% !important;
  z-index: 99999;
}
#kw-backdrop-container {
  z-index: 100001;
}

pre {
  overflow: auto;
  word-wrap: normal;
  white-space: pre-wrap;
  background: #eaeaea;
  padding: 2%;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #3582c4;
  width: 280px;
  color: #f6f7f7;
  padding: 10px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  text-align: justify;
}
.tooltiptext .header {
  font-weight: 500;
  font-size: 14px;
}
.tooltiptext .body {
  font-weight: 500;
  font-size: 12px;
}

/* Search input with icon */
.kw-search-input-wrapper {
  position: relative;
}

.kw-search-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.kw-search-input-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

.kw-search-input {
  padding-left: 40px !important;
}

.kw-idp-search-section {
  margin-bottom: 0;
  flex-shrink: 0;
  min-width: 400px;
  max-width: 500px;
}

/* IDP List Container Header Styles - Minimal Design */
.kw-idp-header-section {
  background: #fcfcfd;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 16px;
}

.kw-idp-header-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.kw-idp-title-section {
  flex: 1;
  margin-bottom: 0;
}

.kw-idp-main-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 3px 0;
  line-height: 1.3;
}

.kw-title-icon {
  color: #3b82f6;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.kw-idp-main-title:hover .kw-title-icon {
  color: #2563eb;
  transform: scale(1.05);
}

.kw-idp-subtitle {
  color: #6b7280;
  font-size: 0.75rem;
  font-weight: 400;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

.kw-idp-title-section .kwsso-feature-description {
  margin: 0;
  font-size: 0.6875rem;
  color: #9ca3af;
  font-weight: 400;
  line-height: 1.3;
  opacity: 0.9;
  display: inline-block;
  max-width: fit-content;
}

.kw-idp-search-section {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .kw-idp-header-section {
    padding: 16px;
    margin-bottom: 12px;
  }
  
  .kw-idp-header-top {
    flex-direction: column;
    gap: 16px;
  }
  
  .kw-idp-title-section {
    margin-bottom: 0;
  }
  
  .kw-idp-main-title {
    font-size: 0.9375rem;
    gap: 6px;
  }
  
  .kw-title-icon {
    width: 16px;
    height: 16px;
  }
  
  .kw-idp-subtitle {
    font-size: 0.6875rem;
  }
  
  .kw-idp-title-section .kwsso-feature-description {
    font-size: 0.625rem;
    color: #9ca3af;
    opacity: 0.85;
    display: inline-block;
    max-width: fit-content;
  }
  
  .kw-idp-search-section {
    margin-bottom: 0;
    min-width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .kw-idp-header-section {
    padding: 12px;
  }
  
  .kw-idp-header-top {
    gap: 12px;
  }
  
  .kw-idp-main-title {
    font-size: 0.875rem;
    gap: 5px;
  }
  
  .kw-title-icon {
    width: 14px;
    height: 14px;
  }
  
  .kw-idp-subtitle {
    font-size: 0.625rem;
  }
  
  .kw-idp-title-section .kwsso-feature-description {
    font-size: 0.5625rem;
    color: #9ca3af;
    opacity: 0.8;
    display: inline-block;
    max-width: fit-content;
  }
  
  .kw-idp-search-section {
    margin-bottom: 0;
    min-width: 100%;
    max-width: 100%;
  }
}

/* Legacy note styling for backward compatibility */
.kwsso_note {
  --tw-bg-opacity: 1;
  background-color: #f8fafc;
  border-radius: 4px;
  padding: 12px 16px;
  margin-top: 0.7em;
  font-size: 12px;
  text-align: left;
  line-height: 1.4;
  color: #374151;
}
.kwsso-idp-search-dropdown-container {
  color: #32373c;
  outline: 0;
  line-height: 28px;
  float: left;
  width: 100%;
  position: relative;
  font-family: Inter, sans-serif;
}
.kwsso-idp-search-dropdown-container .dashicons {
  vertical-align: text-top;
  position: absolute;
  top: 9px;
  left: 10px;
  font-size: 22px;
}
.kwsso-idp-search-dropdown-container .dropbtn {
  color: #000;
  font-family: Inter, sans-serif;
  padding: 7px;
  text-shadow: 1px 1px 0 #fff;
  width: 100%;
  border-radius: 3px;
  text-indent: 30px;
}

.kwsss-idp-search-dropdown-container-content {
  position: relative;
  width: 100%;
  overflow-y: scroll;
  max-height: 460px;
  -webkit-appearance: none;
  appearance: none;
  outline: none !important;
  box-shadow: none !important;
  border: 2px solid;
  border-radius: 0.375rem;
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity));
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  font-weight: 600;
  transition-duration: 200ms;
}
.kwsss-idp-search-dropdown-container-content a {
  color: #000;
  padding: 9px 12px;
  text-decoration: none;
  display: block;
}


.kwsso_box-modal-backdrop img {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}
.kwsso_box-modal-backdrop.dashboard {
  display: none;
}

.kw-sso-help-button {
  float: right;
  font-size: 17px;
}
.kw-sso-help-button span {
  margin-top: 7%;
  margin-left: 5%;
  z-index: 100000;
}
.kw-sso-help-button.kw-fixed {
  position: fixed;
  right: 0.88em;
  top: 2.2em;
}
.kw-sso-help-button.static {
  position: relative;
}

.kwsso_select_core{
  border: 2px solid;
  border-color: rgb(226 232 240 / var(--tw-border-opacity)) !important;
  border-radius: 5px !important;
}

.kwsso_select_core:focus {
  border-color: rgb(99 102 241 / var(--tw-border-opacity)) !important;
  color: #0a4b78;
  box-shadow: none !important;
}

select.kwsso_select_core[disabled]:hover{
  cursor: not-allowed;
}

input.kw-input {
  line-height: 1.5 !important;
}
.kw-normal-input-border{
  border: 2px solid !important;
  border-color: rgb(226 232 240 / var(--tw-border-opacity)) !important;
  border-radius: 5px !important;
}
input.kw-normal-input-border[disabled]:hover{
  cursor: not-allowed;
}

.mt-regular {
  margin-top: 14px;
}
.mt-large {
  margin-top: 34px;
}
.self-end {
  align-self: end;
}


.mt-kwsso-1\.5 {
  margin-top: 0.375rem;
}
.mx-kwsso-16 {
  margin-left: 4rem;
  margin-right: 4rem;
}
.mr-kwsso-32 {
  margin-right: 8rem;
}
.w-\[40\%\] {
  width: 40%;
}
.p-kwsso-sm {
  padding: 5px;
}
.py-kwsso-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pb-kwsso-8 {
  padding-bottom: 2rem;
}
.svg-icon{
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-icon-main {
  width: 32px;
  height: 32px;
}
.pl-kwsso-6 {
  padding-left: 1.5rem;
}
.pr-kwsso-2 {
  padding-right: 0.5rem;
}
.pt-kwsso-8 {
  padding-top: 2rem;
}
.pt-kwsso-3 {
  padding-top: 0.75rem;
}
.kw-navigation-menu-item {
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  padding-left: 8px;
  padding-right: 4px;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 13px;
  line-height: 1.5;
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity));
  font-size: .800rem;
  font-weight: 600;
}
.kw-navigation-menu-item:hover {
  background-color: rgb(226 232 240 / 0.5);
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity));
}
.kw-navigation-menu-item:focus {
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.kw-navigation-menu-container {
  display: flex;
  width: 12.3rem;
  min-width: 12.3rem;
  flex-direction: column;
  background-color: white;
  gap: 6px;
  padding-top: 12px;
  padding-left: 8px;
  padding-right: 8px;
  padding-bottom: 12px;
  margin-top:4px;
  margin-left: 5px;
  font-size: 13px;
  line-height: 1.5;
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity));
  font-size: .800rem;
  font-weight: 600;
}
.kw-navigation-menu-item-active {
  background-color: rgb(226 232 240 / 0.5);
  padding-left: 8px;
  padding-right: 4px;
  padding-top: 10px;
  padding-bottom: 10px;
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity));
}
.kw-navigation-menu-item-active:hover{
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity));
}
.idp-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.idp-card {
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 0.1px solid #dad9d9;
    border-radius: 6px;
    padding: 5px;
    margin: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer;
    background-color: rgb(248 250 252 / var(--tw-bg-opacity));
}
.idp-card-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
 /* Adjust the gap between grid items */
}
.idp-logo {
  max-width: 100px;
  margin-bottom: 10px;
}
.idp-title {
  font-weight: bold;
  margin-bottom: 5px;
}
.idp-card.active {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  background-color: #cedff2;
}


.toggleformdiv{
  display: none;
}
.copy-button .tooltiptext::after {
  content: " ";
  position: absolute;
  bottom: 100%;
 /* At the top of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent #535151 transparent;
}
/* Tooltip text */
.copy-button .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #535151;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    margin-top: 3px;
    position: absolute;
    z-index: 1;
}
/* Show the tooltip text when you mouse over the tooltip container */
.copy-button:hover .tooltiptext {
  visibility: visible;
}

.kwsso-checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom:10px;
}
.kwsso-label-width{
  width:60%;
}

.kw-table {
  border-collapse: collapse;
  width: 96%;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border-color: rgb(246 246 246);
  overflow: hidden;
  outline: none;
  border: none;
  width: 100%;
  table-layout: fixed;
  word-wrap: break-word;
}

.kwsso-shadow-card {
  border-collapse: collapse;
  width: 96%;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  border-color: rgb(246 246 246);
  overflow: hidden;
  outline: none;
  border: none;
  width: 100%;
}
.kw-row {
  display: flex;
  border: .1px solid;
  /* margin: 5px; */
  border-color: rgb(246 246 246);
  align-items: flex-start;
  min-height: auto;
}
.kw-row.kw-header {
  
  background-color: #007bff;
  color: #fff;
}
.div-table-body {
  font-family: Arial, sans-serif;
 /* background-color: #f4f4f4;
  */
  margin: 5px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
 /* height: 100vh;
  */
}
.kw-cell {
  flex: 1;
  padding: 20px 15px;
  align-self: center;
  
 /* text-align: center;
  */
}
.kw-cell.kw-name {
  flex: 2 !important;
}

.kw-cell.kw-link-name {
  flex: 1 !important;
}
.kw-cell.kw-main-button-wrapper-name {
  flex: 2 !important;
}

/* Actions Container Styling */
.kw-actions-container {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.3rem;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  min-width: 0;
}

/* Action Button Styling */
.kw-action-btn {
  min-width: 100px;
  padding: 0.3rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  border-radius: 0.375rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Test Button Specific Styling */
.kw-test-btn {
  min-width: 100px;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Icon Delete Button Styling */
.kw-icon-delete-btn {
  width: 40px;
  height: 40px;
  border-radius: 0.375rem;
  border: 1px solid #d1d5db;
  background-color: transparent;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  flex-shrink: 0;
}

.kw-icon-delete-btn:hover {
  background-color: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.kw-icon-delete-btn:active {
  transform: translateY(0);
}

.kw-icon-delete-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* Loading state for icon delete button */
.kw-icon-delete-btn.loading {
  position: relative;
  color: transparent;
}

.kw-icon-delete-btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: kw-spin 1s linear infinite;
}

.kw-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.kw-action-btn:active {
  transform: translateY(0);
}

/* Test Button Specific Styling */
.kw-test-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.kw-test-btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* Delete Button Specific Styling */
.kw-delete-btn {
  background-color: #ef4444;
  border-color: #ef4444;
  color: white;
}

.kw-delete-btn:hover {
  background-color: #dc2626;
  border-color: #dc2626;
}

/* Responsive Design for Actions */
@media (max-width: 768px) {
  .kw-actions-container {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  
  .kw-action-btn {
    width: 100%;
    min-width: auto;
    justify-content: center;
  }
  
  .kw-icon-delete-btn {
    width: 100%;
    height: 40px;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .kw-action-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }
  
  .kw-action-btn svg {
    width: 12px;
    height: 12px;
  }
}

/* Loading State for Action Buttons */
.kw-action-btn.loading {
  position: relative;
  color: transparent;
}

.kw-action-btn.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: kw-spin 1s linear infinite;
}

@keyframes kw-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Action Button Group Styling */
.kw-actions-container .kw-action-btn:first-child {
  margin-left: 0;
}

.kw-actions-container .kw-action-btn:last-child {
  margin-right: 0;
}

/* Hover effects for action container */
.kw-actions-container:hover .kw-action-btn:not(:hover) {
  opacity: 0.8;
}

.kw-actions-container .kw-action-btn:hover {
  opacity: 1;
  z-index: 10;
}
.kw-link-wrapper
{
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
  padding: 10px;
  border-radius: 6px;
  border-color: rgb(226 232 240 / var(--tw-border-opacity));
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  display: block;
  width: 100%;
  box-sizing: border-box;
  line-height: 1.4;
  max-width: 100%;
  overflow: hidden;
}

/* Admin notice styles */
.kw-admin-notice {
  margin-right: 20px;
  margin-top: 20px;
  margin-bottom: 10px;
  max-width: 95%;
  width: 100%;
  padding: 20px;
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border-left: 6px solid #3498db;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  animation: kw-fadeInUp 0.5s ease forwards;
}

.kw-logo-container {
  overflow: hidden;
  margin-right: 20px;
  width: 85px;
}

.kw-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kw-notice-content {
  width: 70%;
  flex: 1;
  padding-right: 20px;
}

.kw-notice-content p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

.kw-cell.kw-url {
  cursor: pointer;
  color: black;
  font-size: 12px;
 /* text-decoration: underline;
  */
  flex: 4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  line-height: 1.4;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}
.kw-cell.kw-copy-icon {
  cursor: pointer;
  color: #007bff;
}
.kw-cell.kw-copy-icon:hover {
  color: #0056b3;
}
/* Responsive Design */
@media (max-width: 600px) {
  .kwsso-form-container {
      padding: 1em;
 }
  
  /* Responsive table layout for mobile */
  .kw-table {
    width: 100%;
  }
  
  .kw-row {
    flex-direction: column;
    border: 1px solid #e2e8f0;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .kw-cell {
    flex: none;
    width: 100%;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .kw-cell:last-child {
    border-bottom: none;
  }
  
  .kw-cell.kw-url {
    font-size: 11px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }
  
  .kw-link-wrapper {
    padding: 8px;
    font-size: 11px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
  }
}

/* Deactivation feedback form */

/* Modal overlay styling */


.kwsso-feedback-modal h2 {
  font-size: 18px;
  color: #333;
  margin-bottom: 12px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
}

.kwsso-feedback-modal h2::after {
  font-size: 20px;
  margin-left: 8px;
}

.kwsso-feedback-modal p {
  font-size: 13px;
  color: #666;
  margin-bottom: 25px;
  text-align: left;
  line-height: 1.4;
}
.kwsso-feedback-skip-div
{
  align-content: center;
  margin-left: 20px;
  margin-top: 8px;
}

.kwsso-feedback-skip-div a {
  color: #6b7280;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.kwsso-feedback-skip-div a:hover {
  color: #4b5563;
  opacity: 1;
}
/* Progress bar */
.kwsso-feedback-progress-bar {
  background-color: #f1f1f1;
  border-radius: 5px;
  overflow: hidden;
  height: 6px;
}

.kwsso-feedback-progress {
  width: 0%;
  height: 100%;
  background-color:  #3498db;
  transition: width 0.5s ease;
}

/* Align radio buttons properly */
.kwsso-feedback-form-step label {
    display: flex;
    align-items: center;
    font-size: 14px;
    margin-bottom: 15px;
    color: #555;
    cursor: pointer;
    transition: 0.3s;
}
.kw-notice-btn {
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-decoration: none;
    display: inline-block;
}

.kw-notice-btn-primary {
  background: #1877f2;
  transform: translateY(-1px);
  color: #fff;

}
.kw-notice-btn-primary:hover {
    color: #fff;
}
.kw-notice-btn-secondary {
    background-color: #f8f9fa;
    color: #343a40;
    border: 1px solid rgb(203 213 225);
}
.kw-notice-btn-secondary:hover {
    background-color: #e2e6ea;
    color: #212529;
}
.kw-notice-btn-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.kwsso-feedback-form-step label input {
    margin-right: 10px;
    cursor: pointer;
}
.kwsso-feedback-form-step label:hover {
    color: #4caf50;
}
.kwsso-feedback-modal-overlay {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}
.kwsso-feedback-modal {
    background-color: #fff;
    width: 420px;
    margin: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: 0.3s;
    position: relative;
    padding: 20px;
    max-width: 500px;
}
.kwsso-feedback-close {
    background: 0 0;
    border: none;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}
.kwsso_role_mapping_table {
    width: 100px;
}
.kw-sso-attr-input-width {
    width: 400px;
}
.kw-sso-role-row {
    display: flex;
    padding: 8px 0;
    gap: 2rem;
}
.kwsso_role_mapping_field {
    display: flex;
    padding: 5px 0;
    margin-top: 10px;
    gap: 2rem;
}

.kwsso-header-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 10px;
  flex-wrap: wrap;
}

.kwsso-doc-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: white;
  color: #1877f2!important;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 16px;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.kwsso-doc-button:hover {
  background-color: #f5f5f5;
  border-color: #ccc;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.kwsso-guide-button {
  display: inline-flex;
  align-items: center;
  background-color: transparent;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 8px 16px;
  font-weight: 500;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s ease;
}

.kwsso-guide-button:hover {
  background-color: #f5f5f5;
}

@media (max-width: 600px) {
  .kwsso-header-actions {
    flex-direction: column;
    width: 100%;
  }

  .kwsso-doc-button,
  .kwsso-guide-button {
    width: 100%;
    justify-content: center;
  }
}

/* Pricing Cards Styles - Modern Design */
.kwsso-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
}

.kwsso-pricing-card {
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  text-align: left;
  height: 100%;
  min-height: 500px;
}

.kwsso-pricing-card.highlight::before {
  content: "Most Popular";
  position: absolute;
  top: 12px;
  right: 12px;
  background: #1e293b;
  color: white;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 9999px;
  font-weight: 500;
}

.kwsso-pricing-card-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #111827;
  line-height: 1.2;
}

.kwsso-pricing-card-description {
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.4;
  min-height: 35px;
}

.kwsso-pricing-card-description strong {
  font-weight: 600;
  color: #6b7280;
}

.kwsso-pricing-card-price-block {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.kwsso-pricing-card-price-start {
  font-size: 12px;
  color: #6b7280;
}

.kwsso-pricing-card-price-amount {
  font-size: 22px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.1;
  margin-bottom: 2px;
}

.kwsso-pricing-card-price-period {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  opacity: 0.6;
}

.kwsso-pricing-card-button {
  background: white;
  color: #111827;
  border: 1px solid #e5e7eb;
  padding: 12px 16px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 13px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  text-decoration: none;
  width: 100%;
  margin-bottom: 24px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.kwsso-pricing-card-button.primary {
  background: #3b82f6;
  color: white;
  border: none;
}

.kwsso-pricing-card-button.primary:hover {
  background: #3b82f6;
  color: white;
}

.kwsso-pricing-card-button:hover {
  background: white;
  color: #111827;
}

.kwsso-pricing-card-divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 0 0 20px 0;
}

.kwsso-pricing-card-features-header {
  font-weight: 500;
  font-size: 13px;
  color: #111827;
  margin-bottom: 12px;
}

.kwsso-pricing-card-features {
  list-style: none;
  color: #6b7280;
  font-size: 13px;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

.kwsso-pricing-card-features li {
  margin: 6px 0;
  display: flex;
  align-items: center;
  line-height: 1.4;
}

.kwsso-pricing-card-features li::before {
  content: "\2713";
  color: #3b82f6;
  font-weight: bold;
  margin-right: 8px;
  font-size: 13px;
}

.kwsso-pricing-card-features li.excluded::before {
  content: "\2717";
  color: #ef4444;
}

/* Background accent for each card */
.kwsso-pricing-card-starter {
  background: linear-gradient(180deg, #fff7f5, #ffffff);
}

.kwsso-pricing-card-premium {
  background: linear-gradient(180deg, #f5f8ff, #ffffff);
}

.kwsso-pricing-card-advance {
  background: linear-gradient(180deg, #f5fffd, #ffffff);
}

/* Responsive Design */
@media (max-width: 768px) {
  .kwsso-pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 16px;
  }
  
  .kwsso-pricing-card {
    text-align: center;
  }
  
  .kwsso-pricing-card-features {
    text-align: left;
    display: inline-block;
  }
}

/* Premium Button Styles */
.kw-premium-button {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(148, 163, 184, 0.1);
  position: relative;
  overflow: hidden;
}

.kw-premium-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.kw-premium-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(148, 163, 184, 0.2);
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  border-color: #cbd5e1;
}

.kw-premium-button:hover::before {
  left: 100%;
}

.kw-premium-button:active {
  transform: translateY(0);
}

/* Minimal Multiple IDP Notice Panel */
.kwsso-minimal-notice {
  margin: 16px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  transition: all 0.3s ease-in-out;
  transform: translateY(-20px);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.kwsso-minimal-notice.show {
  transform: translateY(0);
  opacity: 1;
  max-height: 200px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.kwsso-notice-content {
  display: flex;
  align-items: center;
  gap: 16px;
}

.kwsso-notice-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

.kwsso-notice-text {
  flex: 1;
}

.kwsso-notice-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px 0;
  color: #1e293b;
}

.kwsso-notice-description {
  font-size: 13px;
  color: #64748b;
  margin: 0;
}

.kwsso-notice-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.kwsso-notice-btn {
  background: #3b82f6;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.kwsso-notice-btn:hover {
  background: #2563eb;
}

.kwsso-notice-btn svg {
  flex-shrink: 0;
}

.kwsso-notice-close {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #94a3b8;
  font-size: 16px;
  cursor: pointer;
  padding: 6px;
  line-height: 1;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.kwsso-notice-close:hover {
  color: #64748b;
  background: #f1f5f9;
  border-color: #cbd5e1;
}

/* Responsive */
@media (max-width: 768px) {
  .kwsso-notice-content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .kwsso-notice-actions {
    justify-content: space-between;
  }
  
  .kwsso-notice-icon {
    align-self: flex-start;
  }
}

/* links and shortcodes instructions */
.idp-usage-instructions {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    /* border: 1px solid #e2e8f0; */
    border-radius: 8px;
    padding: 20px;
    margin-top: 24px;
    /* box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1); */
    margin: 28px 24px 0px 24px;

}

.instructions-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.instructions-header svg {
    color: #3b82f6;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.instructions-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.instructions-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.instruction-item {
    background: white;
    border-radius: 6px;
    padding: 16px;
    transition: all 0.2s ease;
}

.instruction-item:hover {
    box-shadow: 0 2px 4px rgba(59, 130, 246, 0.1);
}

.instruction-item h4 {
    margin: 0 0 8px 0;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 6px;
}

.instruction-item h4::before {
    color: #3b82f6;
    font-weight: bold;
}

.instruction-item p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #64748b;
}

.instruction-item code {
    font-size: 10px;
    background-color: #f1f5f9;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    border: 1px solid #e2e8f0;
}


@media (max-width: 768px) {
    .idp-usage-instructions {
        padding: 20px;
        margin-bottom: 24px;
    }
    
    .instructions-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .instructions-header h3 {
        font-size: 16px;
    }
    
    .idp-config-code-box {
        font-size: 12px;
        padding: 8px;
    }
 
}



/* Minimal Attributes Toggle Button and Slider Styles */
.kw-attributes-container {
  margin: 1rem 0;
}

.kw-attributes-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: auto;
  min-width: 120px;
}

.kw-attributes-toggle-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #334155;
}

.kw-attributes-toggle-btn.kw-toggle-active {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #475569;
}

.kw-attributes-toggle-btn.kw-toggle-active:hover {
  background: #e2e8f0;
  border-color: #94a3b8;
}

.kw-toggle-icon {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.kw-attributes-slider {
  margin-top: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.kw-attributes-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.875rem 1rem;
  position: relative;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.kw-attributes-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #3b82f6;
  border-radius: 8px 8px 0 0;
}

.kw-attributes-header h3 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.025em;
}

.kw-attributes-header h3::before {
  content: '📄';
  font-size: 0.8rem;
  color: #3b82f6;
}

.kw-attributes-content {
  padding: 0;
  position: relative;
}


.kw-attributes-table-wrapper {
  overflow-x: auto;
  max-height: 400px;
  overflow-y: auto;
  position: relative;
  border-radius: 0 0 8px 8px;
}

/* Scroll indicators */
.kw-attributes-table-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.8));
  pointer-events: none;
  border-radius: 0 0 8px 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kw-attributes-table-wrapper:hover::after {
  opacity: 1;
}

/* Custom scrollbar */
.kw-attributes-table-wrapper::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.kw-attributes-table-wrapper::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}

.kw-attributes-table-wrapper::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
  transition: background 0.2s ease;
}

.kw-attributes-table-wrapper::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Scroll shadow indicators */
.kw-attributes-table-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 20px;
  background: linear-gradient(rgba(255, 255, 255, 0.8), transparent);
  pointer-events: none;
  border-radius: 8px 8px 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.kw-attributes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.75rem;
}

.kw-attributes-table thead th {
  background: #f1f5f9;
  color: #475569;
  font-weight: 600;
  padding: 0.6rem 0.8rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1;
}

.kw-attributes-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}

.kw-attributes-table tbody tr:hover {
  background: #f8fafc;
}

.kw-attributes-table tbody tr:last-child {
  border-bottom: none;
}

.kw-attr-name {
  padding: 0.6rem 0.8rem;
  font-weight: 500;
  color: #1e293b;
  width: 30%;
  min-width: 100px;
}

.kw-attr-value {
  padding: 0.6rem 0.8rem;
  color: #64748b;
  word-break: break-word;
  max-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Multiple values styling */
.kw-multi-value-row .kw-attr-name::after {
  content: ' (Multiple)';
  font-size: 0.65rem;
  color: #64748b;
  font-weight: 400;
  margin-left: 0.25rem;
}

.kw-multi-value-container {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.kw-single-value {
  font-size: 0.7rem;
  color: #64748b;
  word-break: break-all;
  padding: 0.1rem 0;
}

.kw-attributes-actions {
  padding: 1rem 1.25rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.kw-clear-form {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.kw-clear-btn {
  padding: 0.6rem 0.8rem;
  font-size: 0.75rem;
  height: auto;
  min-width: auto;
}

.kw-attributes-note {
  font-size: 0.7rem;
  color: #64748b;
  line-height: 1.4;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  margin-top: 0.4rem;
}

.kw-attributes-note strong {
  color: #1e293b;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .kw-attributes-toggle-btn {
      width: 100%;
      justify-content: center;
  }
  
  .kw-attributes-table-wrapper {
      max-height: 300px;
  }
  
  .kw-clear-form {
      flex-direction: column;
      align-items: flex-start;
  }
}

/* Follow Setup Guide button - compact size class */
.kw-setup-guide-btn {
  height: 32px !important;
  font-size: 11px !important;
  padding-left: .75rem !important;
  padding-right: .75rem !important;
  gap: 0.25rem !important;
}

/* Make the SVG icons smaller for setup guide button */
.kw-setup-guide-btn svg {
  width: 14px !important;
  height: 14px !important;
}

.kw-setup-guide-btn svg:last-child {
  width: 10px !important;
  height: 10px !important;
}

/* Configure Identity Provider Manually heading */



/* Radio Group Styles for Deactivation Feedback */
.kw-radio-group-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 15px;
  display: block;
}

.kw-radio-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
}

.kw-radio-item {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: 4px 0;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}

.kw-radio-item:hover {
  background-color: #f8f9fa;
  color: #4caf50;
}

.kw-radio-item input[type="radio"] {
  margin: 0;
  margin-right: 12px;
  width: 16px;
  height: 16px;
  accent-color: #3498db;
  cursor: pointer;
}

.kw-radio-label {
  font-size: 13px;
  color: #555;
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
}

/* IDP Type Pill Styling */
.kw-idp-type-pill {
  display: inline-block;
  background: #f5f5f5;
  color: #666;
  font-size: 8px;
  font-weight: 400;
  padding: 1px 6px;
  border-radius: 8px;
  margin-top: -2px;
  border: 1px solid #e0e0e0;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  max-width: fit-content;
  opacity: 0.8;
}



/* Service Provider Details Section */
.sp-details-section {
background: #ffffff;
border-radius: 12px;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
padding: 20px;
margin: 16px 16px;
border: 1px solid #f1f5f9;
}

.sp-details-header {
margin-bottom: 32px;
position: relative;
}

.sp-details-header::after {
content: '';
position: absolute;
bottom: -8px;
left: 0;
right: 0;
height: 1px;
background: #e5e7eb;
}

.sp-details-title {
font-size: 15px;
font-weight: 600;
color: #374151;
margin: 0 0 6px 0;
line-height: 1.4;
display: flex;
align-items: center;
gap: 8px;
}

.sp-details-title .header-icon {
	width: 18px;
	height: 18px;
	color: #000000;
flex-shrink: 0;
}

.sp-details-description {
font-size: 12px;
color: #6b7280;
margin: 0;
line-height: 1.4;
}

.sp-details-grid {
display: flex;
flex-direction: column;
gap: 14px;
}

.sp-detail-item {
display: flex;
flex-direction: column;
gap: 3px;
}

.sp-detail-label {
font-size: 13px;
font-weight: 600;
color: rgb(37 99 235 );
margin: 0;
}

.sp-detail-container {
position: relative;
display: flex;
align-items: center;
width: 100%;
background: #fafbfc;
border: 1px solid #e5e7eb;
border-radius: 8px;
transition: all 0.2s ease;
overflow: hidden;
}

.sp-detail-container:hover {
border-color: #d1d5db;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sp-detail-container:focus-within {
border-color: #3b82f6;
box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.08);
}

.sp-detail-input {
flex: 1;
padding: 10px 12px;
border: none !important;
background: #fafbfc !important;
font-size: 12px;
color: #3a3e45;
font-family: inherit;
line-height: 1.4;
outline: none !important;
font-weight: 500;
box-shadow: none !important;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
margin: 0;
}

.sp-detail-input:focus {
outline: none !important;
border: none !important;
box-shadow: none !important;
background: #fafbfc !important;
}

.sp-detail-input:hover {
outline: none !important;
border: none !important;
box-shadow: none !important;
background: #fafbfc !important;
}

.sp-detail-input::placeholder {
color: #9ca3af;
}

.sp-detail-copy-btn {
position: relative;
background: #fafbfc;
border: none;
padding: 10px 12px;
cursor: pointer;
color: #6b7280;
transition: all 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
gap: 6px;
border-left: 1px solid #f1f5f9;
min-width: 80px;
height: 100%;
font-size: 13px;
font-weight: 500;
box-sizing: border-box;
}

.sp-detail-copy-btn:hover {
background-color: #f3f4f6;
color: #374151;
}

.sp-detail-copy-btn:active {
background-color: #e5e7eb;
}

.sp-detail-copy-btn .copy-icon,
.sp-detail-copy-btn .check-icon {
width: 14px;
height: 14px;
transition: all 0.2s ease;
flex-shrink: 0;
}

.sp-detail-copy-btn .check-icon {
display: none;
}

.sp-detail-copy-btn .copy-text {
font-size: 13px;
font-weight: 500;
transition: all 0.2s ease;
}

/* Copy button success state for SP details */
.sp-detail-copy-btn.copied {
background-color: #3b82f6;
color: #ffffff;
border-left-color: #2563eb;
}

.sp-detail-copy-btn.copied:hover {
background-color: #2563eb;
color: #ffffff;
}

.sp-detail-copy-btn.copied .copy-text {
color: #ffffff;
}

.sp-detail-copy-btn.copied .copy-icon {
display: none !important;
}

.sp-detail-copy-btn.copied .check-icon {
display: block !important;
}

/* Copy button styling for XML preview section (dark background) */
.kwsso-xml-code-box .sp-detail-copy-btn {
background: rgba(255, 255, 255, 0.1) !important;
color: #e9ecef !important;
border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.kwsso-xml-code-box .sp-detail-copy-btn:hover {
background: rgba(255, 255, 255, 0.15) !important;
color: #ffffff !important;
border-color: rgba(255, 255, 255, 0.3) !important;
}

.kwsso-xml-code-box .sp-detail-copy-btn.copied {
background-color: #3b82f6 !important;
color: #ffffff !important;
border-color: #2563eb !important;
}

.kwsso-xml-code-box .sp-detail-copy-btn.copied:hover {
background-color: #2563eb !important;
}

/* Download button hover effect */
.sp-detail-container .kw-main-button.primary:hover {
background-color: #2563eb !important;
transform: translateY(-1px);
box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}

/* Buttons container above XML preview */
.xml-buttons-container {
display: flex !important;
justify-content: flex-start !important;
gap: 8px !important;
margin-bottom: 8px !important;
}

/* Download button above XML preview */
.xml-buttons-container .kw-main-button.primary {
display: flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
background: #3b82f6 !important;
color: #ffffff !important;
border: none !important;
font-weight: 500 !important;
padding: 6px 12px !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
border-radius: 4px !important;
font-size: 12px !important;
}

.xml-buttons-container .kw-main-button.primary:hover {
background: #2563eb !important;
transform: translateY(-1px) !important;
box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3) !important;
}

.xml-buttons-container .kw-main-button.primary svg {
flex-shrink: 0 !important;
}

.xml-buttons-container .kw-main-button.primary span {
line-height: 1 !important;
}

/* Copy button above XML preview */
.xml-buttons-container .sp-detail-copy-btn {
display: flex !important;
align-items: center !important;
justify-content: center !important;
gap: 6px !important;
background: #fafbfc !important;
color: #374151 !important;
border: 1px solid #e5e7eb !important;
border-radius: 4px !important;
padding: 6px 12px !important;
cursor: pointer !important;
transition: all 0.2s ease !important;
font-size: 12px !important;
font-weight: 500 !important;
min-height: auto !important;
height: auto !important;
}

.xml-buttons-container .sp-detail-copy-btn:hover {
background: #f3f4f6 !important;
color: #374151 !important;
border-color: #d1d5db !important;
}

.xml-buttons-container .sp-detail-copy-btn.copied {
background-color: #3b82f6 !important;
color: #ffffff !important;
border-color: #2563eb !important;
}

.xml-buttons-container .sp-detail-copy-btn.copied:hover {
background-color: #2563eb !important;
}

.xml-buttons-container .sp-detail-copy-btn .copy-text {
font-size: 12px !important;
font-weight: 500 !important;
transition: all 0.2s ease !important;
}

/* XML content optimization */
.kwsso-xml-code-box pre {
white-space: pre-wrap !important;
word-wrap: break-word !important;
overflow-wrap: break-word !important;
padding: 8px !important;
margin: 0 !important;
font-size: 11px !important;
line-height: 1.3 !important;
}

/* Reduce empty space in XML container */
.kwsso-xml-code-box {
padding: 0px 15px !important;
}

.kwsso-xml-code-box pre:first-child {
margin-top: 0 !important;
padding-top: 8px !important;
}


