* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  background: #ffffff;
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  min-height: 100vh;
}

/* Left Section */
.left-section {
  flex: 1;
  width: 50%;
  background: linear-gradient(135deg, #4a4a4a 0%, #2d2d2d 100%);
  color: white;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.left-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: url('https://images.pexels.com/photos/13080790/pexels-photo-13080790.jpeg?auto=compress&cs=tinysrgb&h=650&w=940') center/cover;
  opacity: 0.1;
  border-radius: 20px;
  transform: rotate(15deg);
}

.left-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.logo {
  z-index: 2;
}

.logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

.hero-content {
  z-index: 2;
  max-width: 450px;
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  text-align: left;
}

.hero-content h1 {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-content p {
  font-size: 1rem;
  opacity: 0.95;
  font-weight: 400;
  line-height: 1.5;
}

/* Right Section */
.right-section {
  flex: 1;
  width: 50%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.05);
  overflow-y: auto;
  max-height: 100vh;
}

.language-selector {
  display: flex;
  justify-content: flex-end;
  padding: 24px 40px 0;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  color: #475569;
}

.lang-btn:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-container {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
  min-height: calc(100vh - 80px);
}

.form-header {
  text-align: left;
  margin-bottom: 32px;
}

.form-header h2 {
  font-size: 1.75rem;
  color: #1e293b;
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.form-header p {
  color: #64748b;
  line-height: 1.6;
  font-size: 0.95rem;
}

.form-section {
  margin-bottom: 32px;
}

.form-section h3 {
  font-size: 1.1rem;
  color: #334155;
  margin-bottom: 16px;
  font-weight: 600;
}

.input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.reference-input {
  flex: 1;
  padding: 14px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: #ffffff;
}

.reference-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.reference-input::placeholder {
  color: #94a3b8;
}

.search-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.search-btn:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.search-btn:active {
  transform: translateY(0);
}

.details-placeholder {
  text-align: center;
  padding: 32px;
  background: #f8fafc;
  border: 2px dashed #cbd5e1;
  border-radius: 12px;
  color: #64748b;
  transition: all 0.2s ease;
}

.details-placeholder:hover {
  border-color: #94a3b8;
  background: #f1f5f9;
}

.info-section {
  text-align: center;
  margin-bottom: 32px;
  padding: 20px;
  background: #f0f9ff;
  border-radius: 12px;
  border-left: 4px solid #3b82f6;
}

.info-section p {
  color: #1e40af;
  line-height: 1.6;
  font-size: 0.9rem;
  margin: 0;
}

.form-footer {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
}

.form-footer p {
  color: #64748b;
  font-size: 0.9rem;
}

.contact-link {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Enhanced Styling for Payment Forms */
.payment-option {
  transition: all 0.3s ease !important;
  border-radius: 12px !important;
}

.payment-option:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  
  .container {
    flex-direction: column;
    min-height: 100vh;
  }
  
  .left-section {
    flex: none;
    height: 40vh;
    min-height: 300px;
    padding: 24px 20px;
    width: 100%;
    position: relative;
  }
  
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    max-width: 90%;
    width: 100%;
  }
  
  .hero-content h1 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  
  .right-section {
    flex: 1;
    width: 100%;
    max-height: none;
    overflow-y: visible;
  }
  
  .form-container {
    padding: 24px 20px;
    min-height: auto;
    justify-content: flex-start;
  }
  
  .language-selector {
    padding: 16px 20px 0;
  }
  
  .input-group {
    flex-direction: column;
    gap: 12px;
  }
  
  .search-btn {
    width: 100%;
    padding: 16px 28px;
  }
  
  .form-header {
    text-align: center;
    margin-bottom: 24px;
  }
  
  .form-header h2 {
    font-size: 1.5rem;
  }
  
  .details-placeholder {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .left-section {
    height: 35vh;
    min-height: 280px;
    padding: 20px 16px;
  }
  
  .hero-content h1 {
    font-size: 1.4rem;
    line-height: 1.3;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .form-header h2 {
    font-size: 1.3rem;
  }
  
  .form-container {
    padding: 20px 16px;
  }
  
  .language-selector {
    padding: 12px 16px 0;
  }
  
  .reference-input {
    padding: 16px;
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .search-btn {
    padding: 16px;
    font-size: 16px;
  }
  
  /* Improve mobile form styling */
  .form-section h3 {
    font-size: 1rem;
  }
  
  .info-section {
    padding: 16px;
    margin-bottom: 24px;
  }
  
  .form-footer {
    padding-top: 20px;
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .left-section {
    height: 50vh;
    min-height: 250px;
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
}

/* Very small screens */
@media (max-width: 320px) {
  .hero-content h1 {
    font-size: 1.2rem;
  }
  
  .form-header h2 {
    font-size: 1.2rem;
  }
  
  .form-container {
    padding: 16px 12px;
  }
  
  .language-selector {
    padding: 10px 12px 0;
  }
}

/* Loading Animation */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Success Animation */
@keyframes checkmark {
  0% { transform: scale(0); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

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

.fade-in {
  animation: fadeIn 0.5s ease-out;
}
