.gallery-submission-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #007cba;
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  margin: 20px 0;
}
.gallery-submission-btn:hover {
  background: #005a87;
  color: white;
  text-decoration: none;
}
.gallery-submission-btn:focus {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

.gallery-submission-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: none;
}
.gallery-submission-popup.active {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-submission-popup .submission-popup-content {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.gallery-submission-popup .submission-popup-content .popup-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #eee;
  position: relative;
}
.gallery-submission-popup .submission-popup-content .popup-header .popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}
.gallery-submission-popup .submission-popup-content .popup-header .popup-close:hover {
  background: #f5f5f5;
  color: #333;
}
.gallery-submission-popup .submission-popup-content .popup-header h2 {
  margin: 0;
  font-size: 24px;
  color: #333;
  font-weight: 600;
}
.gallery-submission-popup .submission-popup-content .popup-header .step-indicator {
  display: flex;
  align-items: center;
  margin-top: 16px;
  gap: 8px;
}
.gallery-submission-popup .submission-popup-content .popup-header .step-indicator .step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
}
.gallery-submission-popup .submission-popup-content .popup-header .step-indicator .step.active {
  background: #333;
  color: white;
}
.gallery-submission-popup .submission-popup-content .popup-header .step-indicator .step.completed {
  background: #008a20;
  color: white;
}
.gallery-submission-popup .submission-popup-content .popup-header .step-indicator .step-line {
  flex: 1;
  height: 2px;
  background: #e0e0e0;
  transition: all 0.3s ease;
}
.gallery-submission-popup .submission-popup-content .popup-header .step-indicator .step-line.completed {
  background: #4caf50;
}
.gallery-submission-popup .submission-popup-content .popup-body {
  padding: 24px;
}
.gallery-submission-popup .submission-popup-content .popup-body .step-content {
  display: none;
}
.gallery-submission-popup .submission-popup-content .popup-body .step-content.active {
  display: block;
}
.gallery-submission-popup .submission-popup-content .popup-body .step-content h3 {
  margin: 0 0 16px 0;
  font-size: 20px;
  color: #333;
}
.gallery-submission-popup .submission-popup-content .popup-body .step-content p {
  margin: 0 0 16px 0;
  color: #666;
  line-height: 1.5;
}
.gallery-submission-popup .submission-popup-content .popup-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gallery-submission-popup .submission-popup-content .popup-footer .btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gallery-submission-popup .submission-popup-content .popup-footer .btn.btn-secondary {
  background: #f5f5f5;
  color: #666;
}
.gallery-submission-popup .submission-popup-content .popup-footer .btn.btn-secondary:hover {
  background: #e0e0e0;
  color: #333;
}
.gallery-submission-popup .submission-popup-content .popup-footer .btn.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.gallery-submission-popup .submission-popup-content .popup-footer .btn.btn-primary {
  background: #333;
  color: white;
  transform: translateY(0px);
  transition: 0.3s ease;
}
.gallery-submission-popup .submission-popup-content .popup-footer .btn.btn-primary:hover {
  transform: translateY(-1px);
  transition: 0.3s ease;
}
.gallery-submission-popup .submission-popup-content .popup-footer .btn.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.gallery-submission-popup .submission-popup-content .popup-footer .btn.btn-primary.loading {
  opacity: 0.7;
  cursor: not-allowed;
}
.gallery-submission-popup .submission-popup-content .popup-footer .btn.btn-primary.loading .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.photo-upload-area {
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #fafafa;
}
.photo-upload-area:hover, .photo-upload-area.dragover {
  border-color: #007cba;
  background: #f0f8ff;
}
.photo-upload-area .upload-icon {
  font-size: 48px;
  color: #ccc;
  margin-bottom: 16px;
}
.photo-upload-area .upload-text {
  font-size: 16px;
  color: #666;
  margin-bottom: 8px;
}
.photo-upload-area .upload-subtext {
  font-size: 14px;
  color: #999;
}
.photo-upload-area input[type=file] {
  display: none;
}

.uploaded-images {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}
.uploaded-images .uploaded-image {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  border: 2px solid #e0e0e0;
}
.uploaded-images .uploaded-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.uploaded-images .uploaded-image .remove-image {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  transition: all 0.3s ease;
}
.uploaded-images .uploaded-image .remove-image:hover {
  background: #ff4444;
  color: white;
}
.uploaded-images .uploaded-image .image-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #007cba;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.caption-step .caption-input {
  width: 100%;
  min-height: 120px;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.3s ease;
}
.caption-step .caption-input:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}
.caption-step .caption-counter {
  text-align: right;
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.contact-step .form-group {
  margin-bottom: 20px;
}
.contact-step .form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
}
.contact-step .form-group input[type=text],
.contact-step .form-group input[type=email] {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}
.contact-step .form-group input[type=text]:focus,
.contact-step .form-group input[type=email]:focus {
  outline: none;
  border-color: #007cba;
  box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}
.contact-step .form-group input[type=text].error,
.contact-step .form-group input[type=email].error {
  border-color: #ff4444;
}
.contact-step .consent-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
}
.contact-step .consent-group input[type=checkbox] {
  margin-top: 2px;
  width: 18px;
  height: 18px;
  accent-color: #007cba;
}
.contact-step .consent-group label {
  flex: 1;
  margin: 0;
  color: #666;
  line-height: 1.5;
  cursor: pointer;
}
.contact-step .consent-group label a {
  color: #007cba;
  text-decoration: none;
}
.contact-step .consent-group label a:hover {
  text-decoration: underline;
}

.submission-success {
  text-align: center;
  padding: 40px 20px;
}
.submission-success .success-icon {
  font-size: 64px;
  color: #4caf50;
  margin-bottom: 24px;
}
.submission-success h3 {
  color: #333;
  margin-bottom: 16px;
}
.submission-success p {
  color: #666;
  line-height: 1.5;
}

.error-message {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 6px;
  padding: 12px 16px;
  color: #c53030;
  font-size: 14px;
  margin-bottom: 16px;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .gallery-submission-popup .submission-popup-content {
    width: 95%;
    margin: 10px;
  }
  .gallery-submission-popup .submission-popup-content .popup-header {
    padding: 20px 20px 16px;
  }
  .gallery-submission-popup .submission-popup-content .popup-header h2 {
    font-size: 20px;
  }
  .gallery-submission-popup .submission-popup-content .popup-body {
    padding: 20px;
  }
  .gallery-submission-popup .submission-popup-content .popup-footer {
    padding: 16px 20px 20px;
    flex-direction: column;
    gap: 12px;
  }
  .gallery-submission-popup .submission-popup-content .popup-footer .btn {
    width: 100%;
    justify-content: center;
  }
  .uploaded-images {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
  }
  .photo-upload-area {
    padding: 30px 15px;
  }
  .photo-upload-area .upload-icon {
    font-size: 36px;
  }
}
/*# sourceMappingURL=submission.css.map */
