/* Member Pages Styles */

/* Page Header */
.drjob-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e6e6e6;
}

.drjob-header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.drjob-back-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #666;
  text-decoration: none;
  font-size: 14px;
}

.drjob-back-btn:hover {
  color: #007bff;
}

.drjob-page-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

.drjob-header-right {
  display: flex;
  gap: 12px;
}

/* Buttons */
.drjob-btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.drjob-btn-primary {
  background: #007bff;
  color: white;
}

.drjob-btn-primary:hover {
  background: #0056b3;
  color: white;
}

.drjob-btn-outline {
  background: transparent;
  color: #007bff;
  border: 1px solid #007bff;
}

.drjob-btn-outline:hover {
  background: #007bff;
  color: white;
}

/* Member List Styles */
.drjob-member-list {
  padding: 20px;
}

.drjob-member-search {
  margin-bottom: 30px;
}

.drjob-search-wrapper label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: #333;
}

.drjob-search-input-group {
  display: flex;
  gap: 10px;
  max-width: 400px;
}

.drjob-search-input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
}

.drjob-search-btn {
  padding: 10px 20px;
  background: #333;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}

.drjob-search-btn:hover {
  background: #555;
}

/* Table Styles */
.drjob-table-container {
  overflow-x: auto;
  margin-bottom: 30px;
}

.drjob-member-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.drjob-member-table thead {
  background: #a7c7e7;
}

.drjob-member-table th {
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  color: #333;
  font-size: 14px;
  position: relative;
}

.drjob-member-table th i {
  margin-left: 5px;
  color: #666;
}

.drjob-member-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: #555;
}

.drjob-member-table tbody tr:hover {
  background: #f9f9f9;
}

.drjob-action-buttons {
  display: flex;
  gap: 8px;
}

.drjob-action-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.drjob-share-btn {
  background: #e8f4fd;
  color: #007bff;
}

.drjob-edit-btn {
  background: #e8f5e8;
  color: #28a745;
}

.drjob-delete-btn {
  background: #fce8e8;
  color: #dc3545;
}

.drjob-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Pagination */
.drjob-pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.drjob-pagination-controls {
  display: flex;
  gap: 5px;
  align-items: center;
}

.drjob-page-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  background: white;
  color: #555;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.2s ease;
}

.drjob-page-btn:hover:not(:disabled) {
  background: #f0f0f0;
}

.drjob-page-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.drjob-page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.drjob-page-dots {
  padding: 0 10px;
  color: #999;
}

/* Add Member Form Styles */
.drjob-add-member {
  padding: 20px;
}

/* Tabs */
.drjob-tabs {
  display: flex;
  margin-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
}

.drjob-tab {
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  position: relative;
  transition: all 0.3s ease;
}

.drjob-tab.active {
  color: #007bff;
}

.drjob-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: #007bff;
}

/* Form Styles */
.drjob-member-form {
  /* max-width: 800px; */
}

.drjob-form-section {
  margin-bottom: 30px;
}

.drjob-form-section h3 {
  margin-bottom: 15px;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

/* Photo Upload */
.drjob-photo-upload {
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  background: #fafafa;
}

.drjob-upload-area {
  position: relative;
}

.drjob-upload-icon i {
  font-size: 48px;
  color: #ccc;
  margin-bottom: 15px;
}

.drjob-upload-text {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.drjob-upload-link {
  color: #007bff;
  cursor: pointer;
}

.drjob-upload-hint {
  font-size: 12px;
  color: #999;
}

/* Photo Preview Styles */
.drjob-upload-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.drjob-photo-preview {
  border: 2px dashed #ddd;
  border-radius: 8px;
  padding: 20px;
  background: white;
}

.drjob-photo-preview img {
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.drjob-file-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.drjob-upload-progress {
  background: white;
  padding: 15px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.drjob-file-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}

.drjob-remove-file {
  margin-left: auto;
  background: none;
  border: none;
  color: #dc3545;
  cursor: pointer;
}

.drjob-progress-bar {
  height: 6px;
  background: #f0f0f0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 5px;
}

.drjob-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6b35, #ff8c42);
  transition: width 0.3s ease;
}

.drjob-progress-text {
  text-align: right;
  font-size: 12px;
  color: #666;
}

/* Form Grid */
.drjob-form-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.drjob-form-row {
  display: flex;
  gap: 20px;
}

.drjob-form-group {
  flex: 1;
}

.drjob-form-group.full-width {
  width: 100%;
}

.drjob-form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
  font-size: 14px;
}

.drjob-form-group input,
.drjob-form-group select,
.drjob-form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.drjob-form-group input:focus,
.drjob-form-group select:focus,
.drjob-form-group textarea:focus {
  outline: none;
  border-color: #007bff;
}

/* Phone Input */
.drjob-phone-input {
  display: flex;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
}

.drjob-country-code {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 15px;
  background: #f8f9fa;
  border-right: 1px solid #ddd;
  min-width: 80px;
}

.drjob-country-code img {
  width: 20px;
  height: 15px;
}

.drjob-phone-input input {
  border: none;
  flex: 1;
}

/* Radio Group */
.drjob-radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.drjob-radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
}

.drjob-radio-option input[type="radio"] {
  width: auto;
  margin: 0;
}

.drjob-radio-checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 50%;
  position: relative;
}

.drjob-radio-option input[type="radio"]:checked + .drjob-radio-checkmark {
  border-color: #007bff;
}

.drjob-radio-option input[type="radio"]:checked + .drjob-radio-checkmark::after {
  content: "";
  width: 8px;
  height: 8px;
  background: #007bff;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Select with Arrow */
.drjob-form-group {
  position: relative;
}

.drjob-select-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #666;
}

.drjob-date-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

/* Error Messages */
.drjob-error {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

/* Form Actions */
.drjob-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e6e6e6;
}

/* Permission Styles */
.drjob-permission-list {
  padding: 20px 0;
}

.drjob-role-section {
  margin-bottom: 30px;
}

.drjob-role-section h3 {
  margin-bottom: 10px;
  color: #333;
  font-size: 16px;
  font-weight: 600;
}

.drjob-role-select {
  position: relative;
  max-width: 200px;
}

.drjob-role-dropdown {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: white;
  font-size: 14px;
  color: #333;
  cursor: pointer;
}

.drjob-permission-table-container {
  overflow-x: auto;
  margin-bottom: 30px;
}

.drjob-permission-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.drjob-permission-table thead {
  background: #a7c7e7;
}

.drjob-permission-table th {
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.drjob-type-header {
  position: relative;
}

.drjob-permission-table td {
  padding: 15px 12px;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
}

.drjob-permission-type {
  text-align: left;
  font-weight: 500;
  color: #333;
}

/* Custom Checkbox */
.drjob-checkbox-container {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.drjob-checkbox-container input {
  opacity: 0;
  position: absolute;
  cursor: pointer;
  height: 0;
  width: 0;
}

.drjob-checkmark {
  height: 20px;
  width: 20px;
  background-color: #ffffff;
  border: 2px solid #ddd;
  border-radius: 3px;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease;
}

.drjob-checkbox-container input:checked ~ .drjob-checkmark {
  background-color: #007bff;
  border-color: #007bff;
}

.drjob-checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.drjob-checkbox-container input:checked ~ .drjob-checkmark:after {
  display: block;
}

.drjob-checkbox-container .drjob-checkmark:after {
  left: 6px;
  top: 2px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.drjob-permission-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e6e6e6;
}

/* Security Settings Styles */
.security-section {
  background: white;
  border-radius: 20px;
  border: 1px solid #e5e7eb;
  padding: 32px;
  margin-bottom: 20px;
}

.security-setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.setting-info {
  flex: 1;
}

.setting-title {
  font-size: 20px;
  font-weight: 600;
  color: #111827;
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.setting-description {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.setting-action {
  flex-shrink: 0;
}

.drjob-btn-danger {
  background: #ef4444;
  color: white;
}

.drjob-btn-danger:hover:not(:disabled) {
  background: #dc2626;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .drjob-page-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .drjob-form-row {
    flex-direction: column;
  }

  .drjob-radio-group {
    flex-direction: column;
    gap: 10px;
  }

  .drjob-form-actions,
  .drjob-permission-actions {
    flex-direction: column;
  }

  .security-setting {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .setting-action {
    width: 100%;
  }

  .setting-action .drjob-btn {
    width: 100%;
  }

  .drjob-table-container {
    font-size: 12px;
  }

  .drjob-member-table th,
  .drjob-member-table td {
    padding: 10px 8px;
  }
}

/* Sidebar Icon for Members */
.members-nav-icon {
  background: url("/images/cadidate-icon.svg") no-repeat center;
  background-size: 20px 20px;
  width: 20px;
  height: 20px;
}

/* Coming soon placeholder */
.drjob-coming-soon {
  padding: 40px;
  text-align: center;
  color: #666;
  font-style: italic;
}

/* Designation Autocomplete Styles for Members Form */
.drjob-member-form .designation-autocomplete {
  position: relative;
}

.drjob-member-form .figma-autocomplete-container {
  position: relative;
}

.drjob-member-form .figma-example-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: #93c5fd;
  border: 1px solid #a6c5e4;
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  z-index: 5;
}

.drjob-member-form .figma-example-btn:hover {
  background: #7dd3fc;
}

.drjob-member-form .figma-autocomplete-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  margin-top: 4px;
  max-height: 200px;
  overflow-y: auto;
}

.drjob-member-form .figma-autocomplete-option {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.drjob-member-form .figma-autocomplete-option:hover {
  background: #f8f9fa;
  color: #007bff;
}

.drjob-member-form .designation-example-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  margin-top: 4px;
  padding: 16px;
  max-height: 300px;
  overflow-y: auto;
}

.drjob-member-form .designation-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drjob-member-form .designation-option-btn {
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #374151;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.drjob-member-form .designation-option-btn:hover {
  background: #007bff;
  color: white;
  border-color: #007bff;
}
.setting-action .btn-preview{
  border-radius:10px ;
  font-size: 15px;
}
.setting-action .drjob-submit-btn.cancel-btn{
  margin-top: 0px !important;
      margin-top: 0px !important;
        height: 51px;
        font-size: 15px;
}