/* Photo Uploader Component Styles */

.photo-uploader {
  background-color: rgba(26, 15, 46, 0.8);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  border: 1px solid #E5D1A4;
}

.photo-uploader-light {
  background-color: rgba(245, 245, 245, 0.95);
  border: 1px solid #2D1B4E;
}

.photo-uploader-header {
  margin-bottom: 1.5rem;
}

.photo-uploader-dark h3 {
  color: #E5D1A4;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.photo-uploader-light h3 {
  color: #2D1B4E;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.content-policy-warning {
  background: rgba(255, 243, 205, 0.2);
  border: 1px solid rgba(255, 234, 167, 0.5);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.photo-uploader-dark .content-policy-warning {
  color: #E5D1A4;
}

.photo-uploader-light .content-policy-warning {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
}

.content-policy-warning i {
  font-size: 18px;
}

.photo-uploader-dark .content-policy-warning i {
  color: #E5D1A4;
}

.photo-uploader-light .content-policy-warning i {
  color: #856404;
}

.content-policy-warning div {
  font-size: 14px;
  line-height: 1.4;
}

.photo-uploader-form {
  width: 100%;
}

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

.photo-uploader-dark .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #F0E6D2;
  font-weight: 500;
}

.photo-uploader-light .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2D1B4E;
  font-weight: 500;
}

.photo-uploader-dark .form-control {
  width: 100%;
  background-color: rgba(26, 15, 46, 0.8);
  border: 1px solid #E5D1A4;
  border-radius: 5px;
  padding: 0.8rem;
  color: #f5f5f5;
  font-family: 'Montserrat', sans-serif;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.photo-uploader-light .form-control {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #2D1B4E;
  border-radius: 5px;
  padding: 0.8rem;
  color: #333333;
  font-family: 'Montserrat', sans-serif;
  resize: vertical;
  transition: border-color 0.3s ease;
}

.photo-uploader-dark .form-control:focus {
  outline: none;
  border-color: #F0E6D2;
  box-shadow: 0 0 5px rgba(229, 209, 164, 0.5);
}

.photo-uploader-light .form-control:focus {
  outline: none;
  border-color: #432874;
  box-shadow: 0 0 5px rgba(45, 27, 78, 0.3);
}

.file-upload {
  position: relative;
  display: inline-block;
  width: 100%;
}

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

.photo-uploader-dark .file-upload-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(26, 15, 46, 0.8);
  border: 1px dashed #E5D1A4;
  border-radius: 5px;
  padding: 2rem;
  width: 100%;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.photo-uploader-light .file-upload-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(245, 245, 245, 0.5);
  border: 1px dashed #2D1B4E;
  border-radius: 5px;
  padding: 2rem;
  width: 100%;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.photo-uploader-dark .file-upload-btn:hover,
.photo-uploader-dark .file-upload-btn.highlight {
  background-color: rgba(229, 209, 164, 0.1);
}

.photo-uploader-light .file-upload-btn:hover,
.photo-uploader-light .file-upload-btn.highlight {
  background-color: rgba(45, 27, 78, 0.1);
}

.photo-uploader-dark .file-upload-btn i {
  font-size: 2rem;
  color: #E5D1A4;
  margin-bottom: 1rem;
}

.photo-uploader-light .file-upload-btn i {
  font-size: 2rem;
  color: #2D1B4E;
  margin-bottom: 1rem;
}

.photo-uploader-dark .file-upload-text {
  color: #e0e0e0;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.photo-uploader-light .file-upload-text {
  color: #333333;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.photo-uploader-dark .file-upload-info {
  color: #aaaaaa;
  font-size: 0.8rem;
}

.photo-uploader-light .file-upload-info {
  color: #666666;
  font-size: 0.8rem;
}

.file-preview {
  margin-top: 1rem;
  text-align: center;
}

.file-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 5px;
}

.photo-uploader-dark .file-preview img {
  border: 2px solid #E5D1A4;
}

.photo-uploader-light .file-preview img {
  border: 2px solid #2D1B4E;
}

.photo-uploader-dark .submit-btn {
  background-color: #2D1B4E;
  color: #E5D1A4;
  border: 1px solid #E5D1A4;
  border-radius: 5px;
  padding: 0.8rem 2rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.photo-uploader-light .submit-btn {
  background-color: #2D1B4E;
  color: #ffffff;
  border: 1px solid #2D1B4E;
  border-radius: 5px;
  padding: 0.8rem 2rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.photo-uploader-dark .submit-btn:hover {
  background-color: #E5D1A4;
  color: #2D1B4E;
}

.photo-uploader-light .submit-btn:hover {
  background-color: #432874;
  color: #ffffff;
}

.photo-uploader-dark .submit-btn:disabled {
  background-color: #534470;
  color: #d9d9d9;
  cursor: not-allowed;
}

.photo-uploader-light .submit-btn:disabled {
  background-color: #a7a7a7;
  border-color: #a7a7a7;
  color: #ffffff;
  cursor: not-allowed;
}

.upload-message {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: 5px;
  text-align: center;
}

.photo-uploader-dark .upload-message.success {
  background-color: rgba(40, 167, 69, 0.2);
  border: 1px solid rgba(40, 167, 69, 0.5);
  color: #75e096;
}

.photo-uploader-light .upload-message.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.photo-uploader-dark .upload-message.error {
  background-color: rgba(220, 53, 69, 0.2);
  border: 1px solid rgba(220, 53, 69, 0.5);
  color: #ff6b6b;
}

.photo-uploader-light .upload-message.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.photo-uploader-dark .upload-message.info {
  background-color: rgba(23, 162, 184, 0.2);
  border: 1px solid rgba(23, 162, 184, 0.5);
  color: #5dceec;
}

.photo-uploader-light .upload-message.info {
  background-color: #d1ecf1;
  border: 1px solid #bee5eb;
  color: #0c5460;
}

/* Responsive styles */
@media (max-width: 768px) {
  .photo-uploader {
    padding: 1.5rem;
  }
  
  .photo-uploader-header h3 {
    font-size: 1.3rem;
  }
  
  .file-upload-btn {
    padding: 1.5rem;
  }
  
  .file-upload-btn i {
    font-size: 1.5rem !important;
  }
}