:root {
  --primary-color: #6c5ce7;
  --secondary-color: #a29bfe;
  --dark-color: #2d3436;
  --light-color: #f5f6fa;
  --danger-color: #ff7675;
  --success-color: #00b894;
  --card-bg: rgba(255, 255, 255, 0.1);
  --card-border: rgba(255, 255, 255, 0.2);
  --gradient-start: #6c5ce7;
  --gradient-end: #a29bfe;
  --text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

body {
  background: linear-gradient(
    135deg,
    var(--gradient-start),
    var(--gradient-end)
  );
  min-height: 100vh;
  color: var(--light-color);
  display: grid;
  grid-template-columns: auto 1fr;
  text-shadow: var(--text-shadow);
}
#image {
  max-width: 100%;
  margin-top: 10px;
  display: none;
  border-radius: 8px;
}
#imageInput {
  margin-top: 20px;
  border: 2px dashed #0077cc;
  border-radius: 8px;
  width: 120px;
  height: 150px;
}
button {
  margin-top: 10px;
  padding: 10px 20px;
  background: #0077cc;
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}
button:hover {
  background: #005fa3;
}
input[type="file"] {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  margin-bottom: 20px;
}
.cropper-modal {
  background-color: transparent !important;
}

.text-dark {
  color: black !important;
}

.container {
  max-width: 1200px;
  margin: 30px auto;
  padding: 25px;
  background: rgba(45, 52, 54, 0.85);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
  width: 100%;
  transition: all 0.3s ease;
}

.container:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-5px);
}

h2 {
  color: var(--light-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 15px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

label {
  font-weight: 500;
  color: var(--light-color);
  margin-bottom: 8px;
  display: block;
  letter-spacing: 0.3px;
}

.form-control {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--card-border);
  border-radius: 10px;
  padding: 12px 15px;
  color: var(--light-color);
  transition: all 0.3s;
  width: 100%;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.3),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.2);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.error {
  color: var(--danger-color);
  font-size: 0.85rem;
  margin-top: 5px;
  display: block;
  font-weight: 500;
}

.btn {
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-success {
  background: linear-gradient(135deg, var(--success-color), #00cec9);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
  width: -webkit-fill-available;
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 184, 148, 0.4);
}

.btn-primary {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.4);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  width: -webkit-fill-available;
}

.translate-button {
  margin-top: 15px;
  text-decoration: none;
}

.progress-container {
  margin-bottom: 30px;
}

.progress {
  height: 10px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-bar {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary-color),
    var(--secondary-color)
  );
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(108, 92, 231, 0.5);
}

.progress-text {
  text-align: center;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--light-color);
  font-weight: 500;
}

.form-section {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 15px;
  margin-bottom: 25px;
  border: 1px solid var(--card-border);
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.form-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.form-section-title {
  font-weight: 600;
  color: var(--light-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.form-section-title i {
  color: var(--primary-color);
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

#blah {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--card-border);
  max-width: 100%;
  height: auto;
}

.payment-info {
  background: rgba(0, 184, 148, 0.2);
  padding: 15px;
  border-radius: 10px;
  margin-top: 20px;
  margin-bottom: 4px;
  border-left: 4px solid var(--success-color);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.payment-info i {
  color: var(--success-color);
  font-size: 1.2rem;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-md-3,
.col-md-4,
.col-md-6,
.col-md-9 {
  padding: 0 15px;
  margin-bottom: 15px;
}

.col-md-3 {
  width: 25%;
}
.col-md-4 {
  width: 33.333%;
}
.col-md-6 {
  width: 50%;
}
.col-md-9 {
  width: 75%;
}

/* Improved responsive styles */
@media (max-width: 992px) {
  .col-md-3,
  .col-md-4,
  .col-md-6,
  .col-md-9 {
    width: 50%;
  }

  .container {
    padding: 20px;
  }

  .form-section {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  body {
    display: block;
    /* padding: 10px; */
  }

  .container {
    margin: 10px auto;
    padding: 15px;
  }

  .col-md-3,
  .col-md-4,
  .col-md-6,
  .col-md-9 {
    width: 100%;
  }

  .form-section {
    padding: 15px;
  }

  h2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .btn {
    padding: 10px 15px;
    font-size: 14px;
  }

  .form-control {
    padding: 10px;
    font-size: 14px;
  }

  .form-section-title {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    margin: 5px auto;
    padding: 10px;
    border-radius: 15px;
  }

  .form-section {
    padding: 12px;
    margin-bottom: 15px;
  }

  .form-group {
    margin-bottom: 15px;
  }

  .progress-container {
    margin-bottom: 20px;
  }

  .payment-info {
    padding: 10px;
    font-size: 14px;
  }
}

/* Fix for navbar positioning */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

/* Fix for form layout on mobile */
.form-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 992px) {
  .form-layout {
    grid-template-columns: 3fr 1fr;
  }
}

/* Custom select styling */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 30px;
}

/* File input styling */
input[type="file"].form-control {
  padding: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px dashed var(--card-border);
}

input[type="file"].form-control::-webkit-file-upload-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-right: 10px;
  font-weight: 500;
}

/* Textarea styling */
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* Animation for form sections */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-section {
  animation: fadeIn 0.5s ease forwards;
}

.form-section:nth-child(1) {
  animation-delay: 0.1s;
}
.form-section:nth-child(2) {
  animation-delay: 0.2s;
}
.form-section:nth-child(3) {
  animation-delay: 0.3s;
}
.form-section:nth-child(4) {
  animation-delay: 0.4s;
}
.form-section:nth-child(5) {
  animation-delay: 0.5s;
}

/* Glow effect for focus elements */
.form-control:focus,
.btn:focus {
  box-shadow: 0 0 15px rgba(108, 92, 231, 0.5);
}

/* Improved heading style */
h2 {
  position: relative;
  overflow: hidden;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), transparent);
}
