/* Dozenten Invitation Styles - Scoped to .dozenten-module */

.dozenten-module {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  padding: 3rem 0;
}

.dozenten-module .container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.dozenten-module .page-header {
  text-align: center;
  margin-bottom: 2rem;
}

.dozenten-module .icon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.dozenten-module .icon-badge-bg {
  background: linear-gradient(135deg, #8C084D 0%, #64062F 100%);
  padding: 0.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 12px rgba(140, 8, 77, 0.3);
}

.dozenten-module .page-title {
  font-size: 2.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8C084D 0%, #64062F 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.dozenten-module .page-subtitle {
  color: #6b7280;
  font-size: 1.125rem;
  margin-top: 0.5rem;
}

/* Tabs */
.dozenten-module .tabs-container {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  overflow: hidden;
  border: 1px solid #f3f4f6;
}

.dozenten-module .tabs-nav {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
}

.dozenten-module .tab-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  border-bottom: 4px solid transparent;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
  color: #6b7280;
}

.dozenten-module .tab-button:hover {
  background: #f9fafb;
  color: #374151;
}

.dozenten-module .tab-button.active {
  border-bottom-color: #8C084D;
  color: #8C084D;
  background: linear-gradient(180deg, rgba(140, 8, 77, 0.05) 0%, transparent 100%);
}

/* Cards */
.dozenten-module .card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid #f3f4f6;
  max-width: 800px;
  margin: 0 auto;
}

.dozenten-module .card-header {
  background: linear-gradient(135deg, #8C084D 0%, #64062F 100%);
  padding: 2rem;
}

.dozenten-module .card-header-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.dozenten-module .card-header-icon {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem;
  border-radius: 0.5rem;
  backdrop-filter: blur(10px);
}

.dozenten-module .card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  margin: 0;
}

.dozenten-module .card-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0.25rem 0 0 0;
}

.dozenten-module .card-body {
  padding: 2rem;
}

/* Form */
.dozenten-module .form-group {
  margin-bottom: 1.5rem;
}

.dozenten-module .form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.dozenten-module .form-label .required {
  color: #ef4444;
}

.dozenten-module .form-label .optional {
  color: #9ca3af;
  font-size: 0.75rem;
  font-weight: 400;
}

.dozenten-module .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.dozenten-module .form-input:focus {
  outline: none;
  border-color: #8C084D;
  box-shadow: 0 0 0 3px rgba(140, 8, 77, 0.1);
}

.dozenten-module .form-input-icon {
  position: relative;
}

.dozenten-module .form-input-icon input {
  padding-left: 2.75rem;
}

.dozenten-module .form-input-icon .icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  width: 1.25rem;
  height: 1.25rem;
}

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

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

/* Buttons */
.dozenten-module .btn-primary {
  width: 100%;
  background: linear-gradient(135deg, #8C084D 0%, #64062F 100%);
  color: white;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.dozenten-module .btn-primary:hover:not(:disabled) {
  box-shadow: 0 8px 20px rgba(140, 8, 77, 0.3);
  transform: scale(1.02);
}

.dozenten-module .btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Alert Boxes */
.dozenten-module .alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 2px solid;
  margin-bottom: 1.5rem;
}

.dozenten-module .alert-success {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}

.dozenten-module .alert-error {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.dozenten-module .alert .icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.dozenten-module .alert-message {
  font-size: 0.875rem;
  font-weight: 500;
}

/* Info Box */
.dozenten-module .info-box {
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  border: 2px solid #bfdbfe;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-top: 2rem;
}

.dozenten-module .info-box-content {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.dozenten-module .info-box-icon {
  background: #dbeafe;
  padding: 0.5rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
}

.dozenten-module .info-box-title {
  font-weight: 600;
  color: #1e3a8a;
  margin: 0 0 0.25rem 0;
}

.dozenten-module .info-box-text {
  font-size: 0.875rem;
  color: #1e40af;
  line-height: 1.6;
  margin: 0;
}

/* Upload Area */
.dozenten-module .upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 0.75rem;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.2s;
  cursor: pointer;
}

.dozenten-module .upload-area:hover {
  border-color: #8C084D;
  background: linear-gradient(135deg, rgba(140, 8, 77, 0.02) 0%, rgba(100, 6, 47, 0.02) 100%);
}

.dozenten-module .upload-icon-container {
  background: linear-gradient(135deg, #e9d5ff 0%, #fce7f3 100%);
  width: 5rem;
  height: 5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.dozenten-module .upload-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem 0;
}

.dozenten-module .upload-text {
  font-size: 0.875rem;
  color: #6b7280;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.dozenten-module .upload-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.dozenten-module .btn-upload {
  background: linear-gradient(135deg, #8C084D 0%, #64062F 100%);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dozenten-module .btn-upload:hover:not(:disabled) {
  box-shadow: 0 8px 20px rgba(140, 8, 77, 0.3);
  transform: scale(1.05);
}

.dozenten-module .btn-secondary {
  background: white;
  color: #374151;
  padding: 0.75rem 2rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.dozenten-module .btn-secondary:hover {
  border-color: #8C084D;
  color: #8C084D;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Results Summary */
.dozenten-module .results-summary {
  background: linear-gradient(135deg, #eff6ff 0%, #e0e7ff 100%);
  border: 2px solid #bfdbfe;
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.dozenten-module .results-summary-title {
  font-weight: 700;
  color: #1e3a8a;
  font-size: 1.125rem;
  margin: 0 0 1rem 0;
}

.dozenten-module .results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
}

.dozenten-module .result-card {
  background: white;
  border-radius: 0.5rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.dozenten-module .result-number {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}

.dozenten-module .result-number.success {
  color: #16a34a;
}

.dozenten-module .result-number.error {
  color: #dc2626;
}

.dozenten-module .result-number.total {
  color: #2563eb;
}

.dozenten-module .result-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  margin: 0;
}

/* Results List */
.dozenten-module .results-list-title {
  font-weight: 700;
  color: #111827;
  font-size: 1.125rem;
  margin: 0 0 1rem 0;
}

.dozenten-module .results-list {
  max-height: 24rem;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.dozenten-module .results-list::-webkit-scrollbar {
  width: 8px;
}

.dozenten-module .results-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.dozenten-module .results-list::-webkit-scrollbar-thumb {
  background: #8C084D;
  border-radius: 4px;
}

.dozenten-module .results-list::-webkit-scrollbar-thumb:hover {
  background: #64062F;
}

.dozenten-module .result-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 2px solid;
  margin-bottom: 0.75rem;
  transition: all 0.2s;
}

.dozenten-module .result-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dozenten-module .result-item.success {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.dozenten-module .result-item.error {
  background: #fef2f2;
  border-color: #fecaca;
}

.dozenten-module .result-item .icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.dozenten-module .result-item-email {
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
  word-break: break-all;
}

.dozenten-module .result-item-message {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

/* Spinner */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.dozenten-module .spinner {
  animation: spin 1s linear infinite;
}

/* List Bullets */
.dozenten-module .custom-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dozenten-module .custom-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  color: #1e40af;
}

.dozenten-module .custom-list li::before {
  content: '';
  width: 0.375rem;
  height: 0.375rem;
  background: #2563eb;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .dozenten-module {
    padding: 1.5rem 0;
  }
  
  .dozenten-module .page-title {
    font-size: 1.75rem;
  }
  
  .dozenten-module .card-body {
    padding: 1.5rem;
  }
  
  .dozenten-module .results-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .dozenten-module .upload-buttons {
    flex-direction: column;
  }
  
  .dozenten-module .btn-upload,
  .dozenten-module .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
