/* Faturanı Gönder Page Styles */
* {
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

.breadcrumb-section {
  position: relative;
  height: 281px;
  background-image: url('../assets/breadcrumb.png');
  background-color: #f2f8f5;
  background-size: auto 450px;
  background-position: 5% bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.breadcrumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  pointer-events: none;
}

.breadcrumb-content {
  position: relative;
  z-index: 2;
  text-align: left;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumb-title {
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600;
  font-size: 34px;
  color: #0c121d;
  margin-bottom: 15px;
  text-transform: capitalize;
  line-height: 1.2;
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 11px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 16px;
}

.breadcrumb-nav li {
  color: #797979;
}

.breadcrumb-nav li a {
  color: #797979;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-nav li a:hover {
  color: #2dc457;
}

.breadcrumb-nav li.active {
  color: #797979;
}

.breadcrumb-nav .separator img {
  width: 6px;
  height: 9px;
}


/* Main Content Section */
.main-content-section {
  padding: 2rem 0;
  background: white;
}

.main-content-section .container {
  max-width: 1400px;
}

/* Info Section (Left Column) */
.info-section {
  padding-right: 2rem;
}

.section-heading h2 {
  color: #323c45;
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.heading-underline {
  width: 95px;
  height: 2px;
  background: #39ca6e;
  border-radius: 50px;
  margin-bottom: 2rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 3rem;
}

.info-list li {
  color: #717171;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 37.8px;
  margin-bottom: 0.5rem;
}

.info-image {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 538px;
}

.info-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Form Card (Right Column) */
.form-card {
  background: #fbfbfb;
  border-top: 3px solid #38c760;
  border-radius: 5px;
  box-shadow: 0px 10px 4px 0px rgba(0, 0, 0, 0.05);
  padding: 2.5rem 3.5rem;
  max-width: 663px;
  margin-left: auto;
}

.form-title {
  font-family: "Poppins", sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #000;
  margin-bottom: 2.5rem;
  line-height: 1.2;
}

.text-highlight {
  color: #38c760;
}

.form-label {
  color: #000;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: capitalize;
  display: block;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-control {
  width: 100%;
  height: 50px;
  padding: 0.75rem 3rem 0.75rem 1rem;
  border: 1px solid rgba(98, 94, 88, 0.2);
  border-radius: 5px;
  background: white;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #000;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #38c760;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(56, 199, 96, 0.15);
}

.input-icon {
  position: absolute;
  right: 1rem;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-input-wrapper .input-icon svg {
  opacity: 0.5;
}

/* File Input Styling */
input[type="file"] {
  padding: 0.75rem 3rem 0.75rem 1rem;
}

input[type="file"]::file-selector-button {
  display: none;
}

/* Submit Button */
.btn-submit {
  width: 100%;
  max-width: 550px;
  height: 55px;
  background: #38c760;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}

.btn-submit:hover {
  background: #38c760;
  color: white;
}


/* Responsive Design */
@media (max-width: 1200px) {
  .form-card {
    padding: 2rem 2.5rem;
  }
  
  .info-section {
    padding-right: 1rem;
  }
}

@media (max-width: 991px) {
  .info-section {
    padding-right: 0;
    margin-bottom: 3rem;
  }
  
  .info-image {
    max-width: 100%;
  }
  
  .form-card {
    margin-left: 0;
    max-width: 100%;
  }
  
  .section-heading h2 {
    font-size: 30px;
  }
  
  .page-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .breadcrumb-section {
    padding: 3rem 0 1.5rem;
    min-height: 100px;
  }

    .breadcrumb-title {
    font-size: 28px;
  }
  
  .main-content-section {
    padding: 2rem 0;
  }
  
  .form-card {
    padding: 2rem 1.5rem;
  }
  
  .form-title {
    font-size: 26px;
    margin-bottom: 2rem;
  }
  
  .section-heading h2 {
    font-size: 26px;
  }
  
  .info-list li {
    font-size: 16px;
    line-height: 30px;
  }
  
  .page-title {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .form-card {
    padding: 1.5rem 1rem;
  }

      .breadcrumb-section {
    height: 220px;
    background-size: auto 280px;
    background-position: center bottom;
  }

  .form-title {
    font-size: 22px;
  }
  
  .section-heading h2 {
    font-size: 22px;
  }
  
  .info-list li {
    font-size: 15px;
    line-height: 28px;
  }
  
  .btn-submit {
    height: 50px;
    font-size: 15px;
  }
  
  .form-control {
    height: 45px;
    font-size: 14px;
  }
  
  .form-label {
    font-size: 14px;
  }
}


/* Focus styles for better accessibility */
.form-control:focus,
.btn-submit:focus {
  outline: 2px solid #38c760;
  outline-offset: 2px;
}

/* Loading state for button (optional) */
.btn-submit.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.btn-submit.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success Message Component */
.success-message-wrapper {
  display: none;
  justify-content: center;
  align-items: center;
  min-height: 500px;
  padding: 3rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.success-message-wrapper.show {
  opacity: 1;
  transform: translateY(0);
}

.success-card {
  background: white;
  border-radius: 5px;
  box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.1);
  padding: 0rem 2rem 1rem 2rem;
  max-width: 368px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.success-icon-wrapper {
  position: relative;
width: 368px;
height: 154px;
display: flex;
}

.checkicon{
    width: 112px;
height: 113px;
aspect-ratio: 112/113;
    position: absolute;
    left: 61px;
    top: 16px;
}

.success-checkmark {
  position: relative;
}

.success-text {
  color: #405263;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.btn-success-ok {
  width: 100%;
  max-width: 311px;
  height: 50px;
  background: #2dc457;
  color: white;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-success-ok:hover {
  background: #26b04a;
}


/* Responsive adjustments for success message */
@media (max-width: 768px) {
  .success-card {
    padding: 0rem 2rem 1rem 2rem;
  }
  
  .checkmark {
    width: 60px;
    height: 60px;
  }
  
  .success-text {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .success-message-wrapper {
    min-height: 400px;
    padding: 2rem 0;
  }
  
  .success-card {
    padding: 0rem 2rem 1rem 2rem;
    gap: 1.5rem;
  }
  
  
  .checkmark {
    width: 50px;
    height: 50px;
  }
  
  .success-text {
    font-size: 15px;
  }
  
  .btn-success-ok {
    height: 45px;
    font-size: 15px;
  }
}
