@import url("https://fonts.googleapis.com/css2?family=Heebo:wght@300;400;500;600;700&display=swap");

.forms-single-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Heebo", Arial, sans-serif;
  direction: rtl;
}

.form-generator-container {
  background: #ffffff;
  padding: 0;
  border: 2px solid #000;
  margin: 20px 0;
  position: relative;
}

/* Header Section */
.form-header {
  border-bottom: 2px solid #000;
  padding: 15px 20px;
}

.company-info {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}
.company-logo img {
  width: 140px;
  height: auto;
}

@media (max-width: 768px) {
  .company-logo img {
    width: 100px;
  }
}

.tagline {
  font-size: 12px;
  color: #333;
  margin-top: 2px;
}

.form-number {
  font-size: 12px;
  color: #333;
}

.form-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  margin: 10px 0;
  color: #000;
}

.form-subtitle {
  font-size: 20px;
  font-weight: 700;
  text-align: right;
  margin: 20px 0;
  padding: 16px;
  color: #000;
}

/* Professional Table Styling */
.form-table.professional {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0;
  font-size: 14px;
  direction: rtl;
}

.form-table.professional td.form-cell {
  border: 1px solid #000;
  padding: 8px 12px;
  vertical-align: top;
  position: relative;
}

.form-table.professional td.form-input {
  border: 1px solid #000;
  padding: 8px 12px;
  vertical-align: middle;
  background: #fff;
}

.form-table.professional td.form-label {
  border: 1px solid #000;
  padding: 8px 12px;
  vertical-align: middle;
  background: #f8f9fa;
  font-weight: 600;
  color: #000;
  font-size: 12px;
  text-align: right;
  width: 200px;
  min-width: 200px;
}

@media (max-width: 768px) {
  .form-table.professional td.form-label {
    width: 100px;
    min-width: 100%;
  }
}

.form-table.professional label {
  display: block;
  font-weight: 600;
  color: #000;
  font-size: 12px;
  margin-bottom: 4px;
  text-align: right;
}

.form-table.professional input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 14px;
  padding: 4px 0;
  color: #000;
  font-family: "Heebo", Arial, sans-serif;
}

.form-table.professional input:focus {
  outline: 1px solid #4a90e2;
  background: #f8f9fa;
}

.form-table.professional input[type="date"] {
  direction: ltr;
}

/* Large field styling */
.form-cell.large-field {
  height: 80px;
}

.form-cell.large-field label {
  line-height: 1.3;
  font-size: 11px;
}

.form-label.large-field {
  height: 80px;
  line-height: 1.3;
  font-size: 11px;
}

/* Section titles */
.section-title {
  color: #000;
  margin: 16px 0;
  padding: 16px 15px;
  font-size: 18px;
  font-weight: 600;
  text-align: right;
}

/* Signature section */
.signature-section {
  border: 2px solid #000;
  margin-top: 20px;
  padding: 15px;
}

.signature-box label {
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
  color: #000;
}

.signature-box input {
  width: 100%;
  border-bottom: 1px solid #000;
  border-top: none;
  border-left: none;
  border-right: none;
  padding: 8px 0;
  background: transparent;
  font-size: 14px;
}

/* Page Header Info */
.page-header-info {
  position: absolute;
  top: 10px;
  left: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 10px 0;
  margin-top: 10px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .page-header-info {
    font-size: 8px;
  }
  .page-header-info span {
    font-size: 8px;
  }
}

.nav-btn {
  background: #4a90e2 !important;
  color: white !important;
  border: none !important;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer !important;
  font-family: "Heebo", Arial, sans-serif;
  font-size: 14px;
  transition: background 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
  background: #357abd;
}

.nav-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.page-indicators {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.page-dot.active {
  background: #4a90e2;
  transform: scale(1.2);
}

.page-dot:hover {
  background: #357abd;
}

/* Form Pages */
.form-page {
  min-height: 400px;
  padding: 24px;
  display: block;
}

.form-page#page-1 {
  display: block;
}

.form-page:not(#page-1) {
  display: none;
}

/* Checkbox Styling */
.checkbox-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.checkbox-cell {
  width: 80%;
}

.checkbox-only {
  width: 20%;
  text-align: center;
  vertical-align: middle;
}

/* File Input Styling */
.file-input {
  padding: 12px !important;
}

.file-input input[type="file"] {
  width: 80%;
  padding: 8px 12px;
  border: 2px dashed #ddd;
  border-radius: 4px;
  background: #fafafa;
  font-family: "Heebo", Arial, sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.file-input input[type="file"]:hover {
  border-color: #4a90e2;
  background: #f0f8ff;
}

.file-input input[type="file"]:focus {
  outline: none;
  border-color: #4a90e2;
  background: #f0f8ff;
  box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

.file-info {
  margin-top: 6px;
}

.file-types {
  font-size: 11px;
  color: #666;
  font-style: italic;
}

.current-file {
  margin-top: 4px;
  font-size: 12px;
  color: #2563eb;
}

.current-file a {
  color: #2563eb;
  text-decoration: underline;
}

.current-file a:hover {
  color: #1d4ed8;
}

/* Page 3 Qualifications Table Styling */
.qualifications-table {
  margin-bottom: 20px;
}

.qualifications-table .checkbox-col {
  width: 50px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #000;
  padding: 12px;
}

.qualifications-table .form-label-large {
  border: 1px solid #000;
  padding: 12px 15px;
  vertical-align: middle;
  background: #f8f9fa;
  font-weight: 500;
  color: #000;
  font-size: 13px;
  text-align: right;
  line-height: 1.4;
}

.sub-options {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #ddd;
}

.sub-options label {
  display: block;
  margin: 4px 0;
  font-weight: normal;
  font-size: 12px;
}

.sub-options input[type="checkbox"] {
  margin-left: 8px;
  width: 16px;
  height: 16px;
}

/* Company Selection Section */
.company-selection {
  margin-top: 20px;
}

.company-columns {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

@media (max-width: 768px) {
  .company-columns {
    flex-direction: column;
  }
}

.company-column {
  flex: 1;
  border: 1px solid #000;
}

.column-header {
  background: #000;
  color: #fff;
  padding: 8px 15px;
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

.company-options {
  padding: 15px;
  background: #fff;
}

.company-options label {
  display: block;
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.4;
}

.company-options input[type="checkbox"] {
  margin-left: 8px;
  width: 16px;
  height: 16px;
}

/* Form actions */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-top: 1px solid #ddd;
}

.center-actions {
  display: flex;
  gap: 15px;
}

.form-submit-btn,
.form-save-btn,
.form-continue-btn {
  background: #4a90e2 !important;
  color: white !important;
  padding: 12px 30px;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  font-size: 16px;
  font-weight: 600;
  font-family: "Heebo", Arial, sans-serif;
  transition: all 0.3s ease;
}

.form-save-btn {
  background: #28a745;
}

.form-continue-btn {
  background: #28a745;
}

.form-submit-btn:hover {
  background: #357abd;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.form-save-btn:hover,
.form-continue-btn:hover {
  background: #218838;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.form-submit-btn:disabled,
.form-save-btn:disabled,
.form-continue-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Messages */
.form-generator-messages {
  margin-bottom: 20px;
  padding: 0 20px;
}

.form-message {
  padding: 12px 15px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-weight: 500;
  text-align: center;
}

.form-message.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.form-message.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

/* Responsive design */
@media (max-width: 768px) {
  .forms-single-container {
    padding: 10px;
  }

  .form-generator-container {
    border: 1px solid #000;
    position: relative;
  }

  .company-info {
    flex-direction: column;
    text-align: center;
  }

  .form-title {
    font-size: 18px;
  }

  .form-table.professional td.form-cell {
    padding: 6px 8px;
  }

  .form-table.professional label {
    font-size: 11px;
  }

  .form-table.professional input {
    font-size: 12px;
  }
}

/* Page 4 Specific Styling */
.coverage-table {
  margin-bottom: 25px;
}

.coverage-table .checkbox-col {
  width: 50px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #000;
  padding: 12px;
}

.coverage-table .form-label-large {
  border: 1px solid #000;
  padding: 12px 15px;
  vertical-align: middle;
  background: #f8f9fa;
  font-weight: 500;
  color: #000;
  font-size: 13px;
  text-align: right;
  line-height: 1.4;
}

/* Companies Table Styling for Page 4 */
.companies-table {
  margin-top: 15px;
}

.companies-table th {
  background: #f8f9fa;
  border: 1px solid #000;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  color: #000;
}

.companies-table .company-header {
  width: 40%;
  text-align: right;
}

.companies-table .assignment-header,
.companies-table .agent-number-header {
  width: 30%;
}

.companies-table .company-name {
  background: #f8f9fa;
  border: 1px solid #000;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 12px;
  text-align: right;
  color: #000;
}

.companies-table .assignment-field,
.companies-table .agent-number-field {
  border: 1px solid #000;
  padding: 8px 12px;
  background: #fff;
}

.companies-table .assignment-field input,
.companies-table .agent-number-field input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 12px;
  padding: 4px;
  text-align: center;
}

.companies-table .assignment-field input:focus,
.companies-table .agent-number-field input:focus {
  outline: 1px solid #4a90e2;
  background: #f9f9f9;
}

/* Companies Assignment Table Styling - Updated to match Page 4 */
.companies-assignment-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  margin-top: 15px;
}

.companies-assignment-table th {
  background: #f8f9fa;
  border: 1px solid #000;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  color: #000;
}

.companies-assignment-table .company-header {
  width: 40%;
  text-align: right;
}

.companies-assignment-table .assignment-header,
.companies-assignment-table .agent-number-header {
  width: 30%;
}

.companies-assignment-table .company-name {
  background: #f8f9fa;
  border: 1px solid #000;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 12px;
  text-align: right;
  color: #000;
}

.companies-assignment-table .assignment-field,
.companies-assignment-table .agent-number-field {
  border: 1px solid #000;
  padding: 8px 12px;
  background: #fff;
}

.companies-assignment-table .assignment-field input,
.companies-assignment-table .agent-number-field input {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 12px;
  padding: 4px;
  text-align: center;
}

.companies-assignment-table .assignment-field input:focus,
.companies-assignment-table .agent-number-field input:focus {
  outline: 1px solid #4a90e2;
  background: #f9f9f9;
}

/* Companies List Section Styling */
.companies-list-section {
  margin: 30px 0;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.companies-list-section p {
  margin-bottom: 15px;
  font-weight: 600;
  color: #333;
}

.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  text-align: right;
}

.company-item {
  padding: 8px 12px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.company-item.clickable {
  cursor: pointer;
  user-select: none;
}

.company-item.clickable:hover {
  background: #f0f8ff;
  border-color: #4a90e2;
}

.company-item input[type="checkbox"] {
  margin: 0;
  transform: scale(1.2);
  accent-color: #4a90e2;
}

.company-item .company-name {
  flex: 1;
  text-align: right;
}

@media (max-width: 768px) {
  .companies-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Final Confirmation Styling */
.final-confirmation {
  background: #f8f9fa;
  border: 2px solid #4a90e2;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  text-align: center;
}

.final-confirmation label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  font-size: 14px;
}

.final-confirmation input[type="checkbox"] {
  transform: scale(1.3);
  accent-color: #4a90e2;
}

@media print {
  .form-actions {
    display: none;
  }

  .form-generator-messages {
    display: none;
  }

  body {
    font-size: 12px;
  }
}

/* Page 8 Styles */

.page8-content .form-table.professional {
  border: 1px solid #ddd;
  border-collapse: collapse;
}

.page8-content .form-table.professional td {
  border: 1px solid #ddd;
  padding: 12px 15px;
  vertical-align: middle;
}

/* Page 7 Professional Services Table Styling */
#page-7 .form-table.professional .checkbox-col {
  width: 50px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #000;
  padding: 12px;
}

#page-7 .form-table.professional .form-label-large {
  border: 1px solid #000;
  padding: 12px 15px;
  vertical-align: middle;
  background: #f8f9fa;
  font-weight: 500;
  color: #000;
  font-size: 13px;
  text-align: right;
  line-height: 1.4;
}

/* Page 8 Additional Training Table Styling */
.page8-content .form-table.professional .checkbox-col {
  width: 50px;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #000;
  padding: 12px;
}

.page8-content .form-table.professional .form-label-large {
  border: 1px solid #000;
  padding: 12px 15px;
  vertical-align: middle;
  background: #f8f9fa;
  font-weight: 500;
  color: #000;
  font-size: 13px;
  text-align: right;
  line-height: 1.4;
}

.success-message {
  text-align: center;
  margin: 40px 0;
  padding: 30px;
  color: black;
  border-radius: 10px;
}

.success-message h2 {
  margin: 0;
  font-size: 28px;
  font-weight: bold;
}

/* Congratulations Popup Modal */
.congrats-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.congrats-overlay.show {
  opacity: 1;
  visibility: visible;
}

.congrats-modal {
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
  color: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: scale(0.8) translateY(-30px);
  transition: all 0.3s ease;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.congrats-overlay.show .congrats-modal {
  transform: scale(1) translateY(0);
}

.congrats-icon {
  font-size: 60px;
  margin-bottom: 20px;
  display: block;
  animation: bounce 2s infinite;
}

.congrats-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
  font-family: "Heebo", Arial, sans-serif;
}

.congrats-message {
  font-size: 16px;
  margin-bottom: 25px;
  line-height: 1.5;
  font-family: "Heebo", Arial, sans-serif;
}

.congrats-close-btn {
  background: white;
  color: #4a90e2;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Heebo", Arial, sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.congrats-close-btn:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.4);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Responsive design for popup */
@media (max-width: 480px) {
  .congrats-modal {
    padding: 30px 20px;
    margin: 20px;
  }

  .congrats-icon {
    font-size: 50px;
  }

  .congrats-title {
    font-size: 24px;
  }

  .congrats-message {
    font-size: 14px;
  }
}

/* Toast Notification System */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  pointer-events: none;
}

.toast {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  padding: 16px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: "Heebo", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  min-width: 300px;
  max-width: 400px;
  pointer-events: auto;
  transform: translateX(100%);
  opacity: 0;
  transition: all 0.3s ease;
  position: relative;
  direction: rtl;
  text-align: right;
}

.toast.toast-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.toast.toast-error {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.toast.toast-info {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast.hide {
  transform: translateX(100%);
  opacity: 0;
}

.toast-icon {
  display: inline-block;
  margin-left: 8px;
  font-size: 16px;
}

.toast-message {
  display: inline-block;
  line-height: 1.4;
}

.toast-close {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.toast-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.toast-progress {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0 0 8px 8px;
}

.toast-progress-bar {
  height: 100%;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 0 0 8px 8px;
  transition: width linear;
}

/* Responsive design for toast */
@media (max-width: 480px) {
  .toast-container {
    top: 10px;
    right: 10px;
    left: 10px;
  }

  .toast {
    min-width: auto;
    max-width: none;
    margin-bottom: 8px;
    padding: 12px 16px;
  }

  .toast-message {
    font-size: 13px;
  }
}

/* Print Button Styles */
.print-section {
  text-align: center;
  margin: 30px 0;
  padding: 20px;
  border-top: 2px solid #ddd;
}

.print-btn {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
  color: white !important;
  border: none !important;
  padding: 15px 30px !important;
  border-radius: 8px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  font-family: "Heebo", Arial, sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  min-width: 200px;
}

.print-btn:hover {
  background: linear-gradient(135deg, #218838 0%, #1e7e34 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.print-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3);
}

.print-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.print-icon {
  font-size: 20px;
  display: inline-block;
}

/* Print-specific styles */
@media print {
  .print-section {
    display: none !important;
  }

  .form-actions {
    display: none !important;
  }

  .form-generator-messages {
    display: none !important;
  }

  .page-header-info {
    display: none !important;
  }

  .toast-container {
    display: none !important;
  }

  .userway_buttons_wrapper {
    display: none !important;
  }

  .chaty-widget {
    display: none !important;
  }

  body {
    font-size: 12px;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .form-generator-container {
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
  }

  .form-header {
    page-break-after: avoid;
    border-bottom: 2px solid #000;
    padding: 10px;
    margin-bottom: 15px;
  }

  .form-page {
    display: block !important;
    page-break-after: always;
    min-height: auto;
    padding: 20px;
  }

  .form-page:last-child {
    page-break-after: auto;
  }

  .form-page#page-1 {
    page-break-before: avoid;
  }

  .form-table.professional {
    page-break-inside: avoid;
  }

  .form-table.professional tr {
    page-break-inside: avoid;
  }
}

/* Password Protection Styles */
.password-protection-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.password-form-wrapper {
  background: white;
  border: 2px solid #4a90e2;
  border-radius: 15px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
  text-align: center;
  font-family: "Heebo", Arial, sans-serif;
  direction: rtl;
}

.password-header h2 {
  color: #4a90e2;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.password-header p {
  color: #666;
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.password-error {
  background: #f8d7da;
  color: #721c24;
  padding: 12px 15px;
  border: 1px solid #f5c6cb;
  border-radius: 5px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
}

.password-input-group {
  margin-bottom: 25px;
  text-align: right;
}

.password-input-group label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 16px;
}

.password-input-group input {
  width: 100%;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: "Heebo", Arial, sans-serif;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  direction: ltr;
  text-align: center;
}

.password-input-group input:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 10px rgba(74, 144, 226, 0.2);
}

.password-submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%) !important;
  color: white !important;
  border: none !important;
  padding: 15px 25px !important;
  border-radius: 8px !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  font-family: "Heebo", Arial, sans-serif;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.password-submit-btn:hover {
  background: linear-gradient(135deg, #357abd 0%, #2a5a8a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.password-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(74, 144, 226, 0.3);
}

/* Responsive design for password protection */
@media (max-width: 480px) {
  .password-form-wrapper {
    padding: 30px 20px;
    margin: 20px;
  }

  .password-header h2 {
    font-size: 24px;
  }

  .password-header p {
    font-size: 14px;
  }

  .password-input-group input,
  .password-submit-btn {
    font-size: 16px;
    padding: 12px;
  }
}
