@font-face {
  font-family: 'Inter';
  font-weight: 300;
  
  src: url('../../assets/fonts/inter/Inter-Light.woff2'),
}

@font-face {
  font-family: 'Inter';
  font-weight: 400;
  src: url('../../assets/fonts/Inter-Regular.woff2'),
}

@font-face {
  font-family: 'Inter';
  font-weight: 500;
  src: url('../../assets/fonts/Inter-Medium.woff2'),
}

@font-face {
  font-family: 'Inter';
  font-weight: 600;
  src: url('../../assets/fonts/Inter-SemiBold.woff2') ,
}

@font-face {
  font-family: 'Inter';
  font-weight: 700;
  src: url('../../assets/fonts/Inter-Bold.woff2'),
}



:root {
    --background: #f8f9fa;
    --foreground: #222222;
    --primary: #9b87f5; 
    --primary-hover: #7E69AB;
    --card-bg: #ffffff;
    --muted: #f1f3f5;
    --muted-foreground: #6c757d;
    --border: #e9ecef;
    --radius: 0.5rem;
    --sidebar-width: 250px;
    --sidebar-width-collapsed: 70px;
    --sidebar-bg: #1e1e2d;
    --sidebar-border: rgba(255, 255, 255, 0.1);
    --sidebar-accent: rgba(255, 255, 255, 0.1);
    --sidebar-accent-foreground: #ffffff;
    --sidebar-foreground: rgba(255, 255, 255, 0.7);
    --secondary: #e5e7eb;
    --secondary-hover: #d1d5db;
  }
  

  

  .page-container {
    font-family: 'Inter', sans-serif;

    display: flex;
    min-height: 100vh;
  }
  .sidebar {
    background-color:  var(--card-bg);
    color: #333; /* Dark gray text for better readability */
    width: 220px; /* Adjust as needed */
    /* height: 100vh; */
    display: flex;
    flex-direction: column;
    box-shadow: 1px 0 3px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    border-radius: 10px;
    margin-top: 2rem;
  }
  
  .sidebar-toggle {
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f5f5f5; /* Light gray for subtle contrast */
    color: #333;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
  }
  
  .sidebar-toggle:hover {
    background-color: #ddd;
    transform: scale(1.1);
  }
  
  .sidebar-menu {
    flex: 1;
    padding: .5rem 0;
    overflow-y: auto;
  }
  
  .sidebar-item {
    padding: 0.7rem .7rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #333;
  }
  
  .sidebar-item:hover {
    background-color: #f0f0f0; /* Subtle hover effect */
    color: #000;
  }
  
  .sidebar-item.active {
    background-color: var(--primary); /* Primary color for active state */
    color: white;
  }
  
  .sidebar-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
  }
  
  .sidebar-text {
    font-size: 0.9rem;
    font-weight: 500;
  }
  
  .sidebar-footer {
    padding: 1rem 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 0.875rem;
    color: #666;
  }
  
  
  /* Sidebar Styles
  .sidebar {
    width: var(--sidebar-width);
    background-color: var(--sidebar-bg);
    color: var(--sidebar-foreground);
    display: flex;
    flex-direction: column;
    transition: width 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    height: 100vh;
  } */
  
  .sidebar.collapsed {
    width: var(--sidebar-width-collapsed);
  }
  
  .sidebar-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--sidebar-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
  }
  
  .sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .brand-icon {
    color: var(--primary);
    width: 2rem;
    height: 2rem;
  }
  


.no-link-style {
  text-decoration: none;
  outline: none;
  box-shadow: none;
  border: none;
  color: inherit; /* Keeps the text color unchanged */
}

.no-link-style:focus,
.no-link-style:active {
  outline: none;
  box-shadow: none;
  border: none;
}
  .brand-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: rgb(0, 0, 0);
  }
/*   
  .sidebar-toggle {
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--sidebar-accent);
    color: var(--sidebar-accent-foreground);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.2s ease;
  }
  
  .sidebar-toggle:hover {
    background-color: var(--primary);
  }
  
  .sidebar-menu {
    flex: 1;
    padding: 1rem 0;
    overflow-y: auto;
  }
  
  .sidebar-item {
    padding: 0.625rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0.25rem 0.75rem;
    border-radius: 0.5rem;
    position: relative;
  }
  
  .sidebar-item:hover {
    background-color: var(--sidebar-accent);
    color: var(--sidebar-accent-foreground);
  }
  
  .sidebar-item.active {
    background-color: var(--primary);
    color: white;
  }
  
  .sidebar-icon {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
  }
  
  .sidebar-text {
    font-size: 0.9375rem;
    font-weight: 500;
  }
  
  .sidebar-footer {
    padding: 1rem 0;
    border-top: 1px solid var(--sidebar-border);
  } */
  
  /* Main Content */
  .main-content {
    flex: 1;
    overflow-x: hidden;
  }
  
  .page-header {
    padding: 1.5rem 2rem;
    background-color: var(--card-bg);
    border-bottom: 1px solid var(--border);
  }
  
  .page-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .page-subtitle {
    color: var(--muted-foreground);
    font-size: 0.9375rem;
  }
  
  .content-container {
    padding: 2rem;
  }
  
  .config-card {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
  .card-header {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  
  .card-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary);
    color: white;
    border-radius: 0.5rem;
  }
  
  .card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }
  
  .card-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  /* Button Styles */
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 0.375rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
  }
  
  .btn-primary:hover {
    background-color: var(--primary-hover);
  }
  
  .btn-secondary {
    background-color: var(--muted);
    color: var(--foreground);
    border: 1px solid var(--border);
  }
  
  .btn-secondary:hover {
    background-color: var(--border);
  }
  
  .btn-outline {
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
  }
  
  .btn-outline:hover {
    background-color: var(--muted);
  }
  
  /* Form Element Styles */
  .wpintidp-form-group {
    margin-bottom: 1rem;
  }
  
  .wpintidp-form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
  }
  
  .wpintidp-form-input,
  .wpintidp-form-select,
  .wpintidp-form-textarea {
    width: 100%;
    padding: 0.25rem 0.5rem !important;
    border: 2px solid var(--border) !important;
    border-radius: 0.375rem !important;
    font-size: 0.875rem !important;
    font-family: inherit !important;
    background-color: white !important;
    transition: border-color 0.2s ease !important;
  }
  
  .wpintidp-form-textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  .wpintidp-form-input:focus,
  .wpintidp-form-select:focus,
  .wpintidp-form-textarea:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px rgba(155, 135, 245, 0.2) !important;
  }
  
  .form-help {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.25rem;
  }
  
  /* Toggle Switch */
  .toggle-switch {
    position: relative;
    display: inline-block;
    width: 3rem;
    height: 1.5rem;
  }
  
  .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--muted);
    transition: .4s;
    border-radius: 1.5rem;
  }
  
  .toggle-slider:before {
    position: absolute;
    content: "";
    height: 1.25rem;
    width: 1.25rem;
    left: 0.125rem;
    bottom: 0.125rem;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
  }
  
  input:checked + .toggle-slider {
    background-color: var(--primary);
  }
  
  input:focus + .toggle-slider {
    box-shadow: 0 0 1px var(--primary);
  }
  
  input:checked + .toggle-slider:before {
    transform: translateX(1.5rem);
  }
  
  /* Table Styles */
  .table-container {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
  
  .table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .table th,
  .table td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
  }
  
  .table th {
    background-color: var(--muted);
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--muted-foreground);
  }
  
  .table tr:last-child td {
    border-bottom: none;
  }
  
  .table tbody tr:hover {
    background-color: var(--muted);
  }
  
  /* Copy Button */
  .copy-button {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: background-color 0.2s ease, color 0.2s ease;
  }
  
  .copy-button:hover {
    background-color: var(--muted);
    color: var(--foreground);
  }
  
  .copy-button.copied {
    color: #10b981;
  }
  
  /* Notification */
  .notification {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background-color: #10b981;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: fadeIn 0.3s ease-out;
  }
  
  .notification.error {
    background-color: #ef4444;
  }
  
  .notification.fade-out {
    animation: fadeOut 0.3s ease-out forwards;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeOut {
    from {
      opacity: 1;
      transform: translateY(0);
    }
    to {
      opacity: 0;
      transform: translateY(-10px);
    }
  }
  
  /* Service Provider Styles */
  .sp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
  }
  
  .sp-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--card-bg);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
  }
  
  .sp-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
  }
  
  .sp-header {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    background-color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .sp-logo {
    width: 2.5rem;
    height: 2.5rem;
    background-color: white;
    border-radius: 0.375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  }
  
.disabled {
  opacity: 0.4;               /* Faded appearance */
  cursor: not-allowed  !important;        /* Cursor shows disabled state */
  color: #999 !important;     /* Light gray text */
  background-color: #eee !important; /* Light gray background */
  border-color: #ccc !important;     /* Light gray border */
}


  .sp-title {
    font-weight: 600;
    font-size: 1rem;
  }
  
  .sp-content {
    padding: 1rem;
  }
  
  .sp-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .sp-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--muted-foreground);
  }
  
  .sp-attribute-panel {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
  }
  
  /* Support Form */
.support-form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
  .support-form-overlay.visible {
  display: flex; /* Only shown when visible */
}
  
  .support-form-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }
  
  .support-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
  }
  
  .support-form-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
  }
  .sidebar-divider {
    height: 1px;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0), 
        rgba(0, 0, 0, 0.1) 20%, 
        rgba(0, 0, 0, 0.1) 80%, 
        rgba(0, 0, 0, 0)
    );
    border-radius: 1px;
}
  .premium-tag {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #9B6B9E, #6B4B9E);
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 8px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.premium-tag svg {
    margin-right: 4px;
}

.premium-tag svg:last-child {
    margin-right: 0;
} 
  .close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted-foreground);
    transition: color 0.2s ease;
  }
  
  .close-button:hover {
    color: var(--foreground);
  }
  
  .support-form-content {
    padding: 1.5rem;
  }
  
  .support-contact-form {
    margin-top: 1rem;
  }
  
  .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .sp-info
  {
    display: flex;
        align-items: center;
        gap: 10px;
  }
  
  .support-info {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--muted-foreground);
  }
  
  .support-info p {
    margin: 0.5rem 0;
  }
  
  /* License Plans Styles */
  .plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .plan-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
  
  .plan-header {
    padding: 1.5rem;
    background-color: var(--muted);
    border-bottom: 1px solid var(--border);
  }
  
  .plan-content {
    padding: 1.5rem;
    flex-grow: 1;
  }
  
  .plan-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
  }
  
  .premium-plan {
    border: 2px solid var(--primary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .premium-plan .plan-header {
    background-color: rgba(155, 135, 245, 0.1);
    border-bottom: 1px solid rgba(155, 135, 245, 0.2);
  }
  
  /* IdP Metadata Styles */
  .metadata-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .metadata-item {
    background-color: var(--muted);
    border-radius: var(--radius);
    padding: 1rem;
    border: 1px solid var(--border);
  }
  
  .metadata-item-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }
  
  .metadata-xml {
    background-color: var(--muted);
    border-radius: var(--radius);
    padding: 1rem;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
  }
  
  .metadata-xml pre {
    background-color: var(--card-bg);
    border-radius: var(--radius);
    padding: 1rem;
    margin-top: 0.5rem;
    max-height: 400px;
    overflow: auto;
    border: 1px solid var(--border);
  }
  
  .metadata-xml pre code {
    font-family: monospace;
    font-size: 0.8125rem;
    white-space: pre;
    color: var(--foreground);
  }
  
  .metadata-url {
    background-color: var(--muted);
    border-radius: var(--radius);
    padding: 1rem;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
    grid-column: 1 / -1;
  }
  
  /* Signin Options Styles */
  .shortcode-box {
    background-color: var(--muted);
    border-radius: var(--radius);
    padding: 1rem;
    border: 1px solid var(--border);
    margin-bottom: 1rem;
  }
  
  .signin-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
  }
  
  .signin-option-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
  }
  
  .signin-option-header {
    padding: 1rem;
    background-color: var(--muted);
    border-bottom: 1px solid var(--border);
  }
  
  .signin-option-content {
    padding: 1rem;
  }
  
  /* Lists for plans and feature comparisons */
  .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }
  
  .check-icon {
    color: #10b981;
  }
  
  .x-icon {
    color: #ef4444;
  }
  
  /* File Upload Styles */
  .file-upload-container {
    position: relative;
    width: 100%;
  }
  
  .file-upload {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
  }
  
  .file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    background-color: var(--muted);
  }
  
  .file-upload-label:hover {
    border-color: var(--primary);
    background-color: rgba(155, 135, 245, 0.05);
  }
  
  .file-upload-label svg {
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
  }
  
  .file-upload-label span {
    font-size: 0.875rem;
    color: var(--muted-foreground);
  }
  
  .section-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
  }
  
  .advanced-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
  
  .toggle-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
  }
  
  .toggle-label {
    font-size: 0.875rem;
  }
  
  /* Additional Responsive Styles */
  @media (max-width: 768px) {
    .advanced-settings-grid {
      grid-template-columns: 1fr;
    }
    
    .file-upload-label {
      padding: 1.5rem;
    }
  }
  