/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/.pnpm/next@15.4.10_@babel+core@7.28.5_@playwright+test@1.56.1_react-dom@19.2.1_react@19.2.1__react@19.2.1_sass@1.77.4/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/.pnpm/next@15.4.10_@babel+core@7.28.5_@playwright+test@1.56.1_react-dom@19.2.1_react@19.2.1__react@19.2.1_sass@1.77.4/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./src/app/(frontend)/components/RegistrationForm.css ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.registration-form-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.registration-form-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: rgb(1000, 1000, 1000);
  text-align: center;
}

.straumann-banner {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.subtitle {
  text-align: center;
  color: rgba(1000, 1000, 1000, 0.8);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.form-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(1000, 1000, 1000, 0.2);
}

.form-section:last-of-type {
  border-bottom: none;
}

.form-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: rgb(1000, 1000, 1000);
}

.section-description {
  color: rgba(1000, 1000, 1000, 0.8);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1.5rem;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: rgb(1000, 1000, 1000);
}

.required {
  color: #ff6b6b;
}

.form-group input[type='text'],
.form-group input[type='email'],
.form-group input[type='tel'],
.form-group input[type='number'],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(1000, 1000, 1000, 0.3);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(1000, 1000, 1000, 0.1);
  color: rgb(1000, 1000, 1000);
  transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007bff;
  background: rgba(1000, 1000, 1000, 0.15);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group select option {
  background: rgb(0, 0, 0);
  color: rgb(1000, 1000, 1000);
}

.error {
  display: block;
  color: #ff6b6b;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.error-message {
  background: rgba(255, 107, 107, 0.2);
  border: 1px solid #ff6b6b;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: #ff6b6b;
}

.error-message p {
  margin: 0.5rem 0;
}

.validation-message {
  background: rgba(255, 193, 7, 0.2);
  border: 1px solid #ffc107;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1rem;
  color: #ffc107;
  text-align: center;
}

.validation-message p {
  margin: 0;
  font-weight: 500;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: normal;
  color: rgb(1000, 1000, 1000);
  line-height: 1.5;
}

.checkbox-label input[type='checkbox'] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 20px;
  min-width: 20px;
  max-width: 20px;
  padding: 0;
  border: 1px solid rgba(1000, 1000, 1000, 0.3);
  border-radius: 4px;
  background: rgba(1000, 1000, 1000, 0.1);
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
  margin: 0;
  align-self: flex-start;
  margin-top: 2px;
}

.checkbox-label > span {
  flex: 1 1;
  line-height: 1.5;
  padding-top: 0;
  margin-top: 0;
}

.checkbox-label input[type='checkbox']:hover {
  border-color: rgba(1000, 1000, 1000, 0.5);
  background: rgba(1000, 1000, 1000, 0.15);
}

.checkbox-label input[type='checkbox']:checked {
  background: #007bff;
  border-color: #007bff;
}

.checkbox-label input[type='checkbox']:checked::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -60%) rotate(45deg);
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
}

.checkbox-label input[type='checkbox']:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.checkbox-label input[type='checkbox'].error {
  border-color: #ff6b6b;
  background: rgba(255, 107, 107, 0.1);
}

.checkbox-label input[type='checkbox'].error:checked {
  background: #ff6b6b;
}

.checkbox-label input[type='checkbox'].error:focus {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.25);
}

.required-checkbox span {
  display: flex;
  align-items: flex-start;
}

.workshop-instructions {
  background: rgba(1000, 1000, 1000, 0.1);
  border-left: 4px solid #007bff;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-radius: 4px;
}

.workshop-instructions p {
  margin: 0.75rem 0;
  line-height: 1.6;
  color: rgba(1000, 1000, 1000, 0.9);
}

.workshop-instructions ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.workshop-instructions li {
  margin: 0.5rem 0;
  line-height: 1.6;
  color: rgba(1000, 1000, 1000, 0.9);
}

.workshop-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.workshop-item {
  padding: 1.5rem;
  border: 1px solid rgba(1000, 1000, 1000, 0.2);
  border-radius: 4px;
  background: rgba(1000, 1000, 1000, 0.05);
}

.workshop-item label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  cursor: pointer;
  font-weight: normal;
}

.workshop-title-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
}

.workshop-number {
  font-weight: bold;
  color: #007bff;
  min-width: 2rem;
}

.workshop-title {
  flex: 1 1;
  line-height: 1.5;
  color: rgb(1000, 1000, 1000);
}

.workshop-priority {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(1000, 1000, 1000, 0.3);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  background: rgba(1000, 1000, 1000, 0.1);
  color: rgb(1000, 1000, 1000);
  transition: border-color 0.2s, background 0.2s;
}

.workshop-priority:hover {
  border-color: rgba(1000, 1000, 1000, 0.5);
}

.workshop-priority:focus {
  outline: none;
  border-color: #007bff;
  background: rgba(1000, 1000, 1000, 0.15);
}

.workshop-priority option {
  background: rgb(0, 0, 0);
  color: rgb(1000, 1000, 1000);
}

@media (max-width: 768px) {
  .workshop-priority {
    width: 100%;
  }
}

.form-actions {
  margin-top: 3rem;
  text-align: center;
}

.submit-button {
  background: #007bff;
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
  min-width: 250px;
}

.submit-button:hover:not(:disabled) {
  background: #0056b3;
}

.submit-button:disabled {
  background: #666;
  cursor: not-allowed;
}

.submit-button.disabled {
  background: #666;
  cursor: not-allowed;
  opacity: 0.6;
}

.payment-note {
  margin-top: 1rem;
  color: rgba(1000, 1000, 1000, 0.8);
  font-size: 0.9rem;
}

/* Payment Modal */
.payment-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.payment-modal-content {
  background: rgb(0, 0, 0);
  border: 1px solid rgba(1000, 1000, 1000, 0.3);
  border-radius: 8px;
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.payment-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(1000, 1000, 1000, 0.2);
  border: 1px solid rgba(1000, 1000, 1000, 0.3);
  color: rgb(1000, 1000, 1000);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  transition: all 0.2s;
}

.payment-modal-close:hover {
  background: rgba(1000, 1000, 1000, 0.3);
  border-color: rgba(1000, 1000, 1000, 0.5);
}

.payment-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(1000, 1000, 1000, 0.2);
}

.payment-modal-header h3 {
  margin: 0;
  color: rgb(1000, 1000, 1000);
  font-size: 1.5rem;
}

.payment-modal-body {
  padding: 1rem;
  flex: 1 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.payment-iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 4px;
  background: white;
}

@media (max-width: 768px) {
  .payment-modal-content {
    max-width: 100%;
    max-height: 95vh;
  }

  .payment-modal-body {
    padding: 0.5rem;
  }

  .payment-iframe {
    height: 500px;
  }
}

/* PhD Fields */
.phd-fields {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: rgba(1000, 1000, 1000, 0.05);
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.field-hint {
  font-size: 0.875rem;
  color: rgba(1000, 1000, 1000, 0.7);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.file-selected {
  display: block;
  font-size: 0.875rem;
  color: #28a745;
  margin-top: 0.5rem;
}

.phd-fields .form-group:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .registration-form-wrapper {
    padding: 1.5rem 1rem;
  }

  .registration-form-wrapper h1 {
    font-size: 2rem;
  }

  .form-section h2 {
    font-size: 1.5rem;
  }
}


