/* ============================================
   AVIATOR CLONE - STYLES
   ============================================ */

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #1a1a1a;
  color: #333333;
  min-height: 100vh;
}

/* Main Container */
.container {
  display: flex;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  align-items: flex-start;
}

/* Left Column - Form Section */
.form-section {
  width: 480px;
  background: linear-gradient(180deg,
    #0d0805 0%,
    #2a1508 15%,
    #5c3015 30%,
    #8B5020 45%,
    #B87333 60%,
    #D4884A 75%,
    #E8A060 90%,
    #F0B070 100%
  );
  border-radius: 15px;
  padding: 0 20px 25px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: visible;
}

/* Right Column - Iframe Section */
.iframe-section {
  width: 521px;
  min-height: 600px;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid #E8E8E8;
}

/* Airplane Container - extends beyond form */
.airplane-container {
  width: calc(100% + 40px);
  margin-left: -20px;
  margin-right: -20px;
  margin-top: -20px;
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.airplane-image {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
}

/* Form Fields Container */
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 0 5px;
}

/* ============================================
   Signal Fields (SAIA EM, VÁLIDO ATÉ)
   ============================================ */
.signal-field {
  display: flex;
  align-items: center;
  gap: 15px;
  background: linear-gradient(180deg, #5a2525 0%, #4a1e1e 100%);
  border: 3px solid rgba(255, 245, 230, 0.8);
  border-radius: 15px;
  padding: 15px 20px;
}

.field-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(180deg, #ff4444 0%, #cc0000 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.field-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.field-label {
  color: white;
  font-size: 24px;
  font-weight: 700;
}

.field-value {
  font-size: 36px;
  font-weight: 700;
}

.field-value.green {
  color: #00FF55;
}

.field-value.gold {
  color: #FFCB00;
}

/* ============================================
   Assertividade Field
   ============================================ */
.assertividade-field {
  background: linear-gradient(180deg, #5a3525 0%, #4a2e1e 100%);
  border: 3px solid rgba(255, 245, 230, 0.8);
  border-radius: 15px;
  padding: 12px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  align-self: center;
  width: auto;
}

.assertividade-label {
  color: white;
  font-size: 18px;
  font-weight: 400;
}

.assertividade-value {
  color: #90EE90;
  font-size: 22px;
  font-weight: 700;
}

/* ============================================
   Generate Button
   ============================================ */
.generate-button {
  width: 100%;
  background: linear-gradient(180deg, #4CD964 0%, #34C759 50%, #30B350 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(76, 217, 100, 0.4);
  margin-top: 5px;
}

.generate-button:hover {
  background: linear-gradient(180deg, #5CE074 0%, #44D769 50%, #40C360 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(76, 217, 100, 0.5);
}

.generate-button:active {
  transform: translateY(0);
}

.generate-button.disabled-button {
  opacity: 0.6;
  pointer-events: none;
  cursor: not-allowed;
}

/* ============================================
   Multiplicador Footer
   ============================================ */
.multiplicador-footer {
  background: transparent;
  padding: 15px 20px;
  color: #FFD700;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin-top: 10px;
}

/* Iframe Embed */
.iframe-embed {
  width: 100%;
  height: 100%;
  min-height: 600px;
  border: none;
  border-radius: 10px;
}

/* ============================================
   Responsive - Mobile
   ============================================ */
@media (max-width: 767px) {
  .container {
    flex-direction: column;
    padding: 10px;
    align-items: center;
  }

  .form-section,
  .iframe-section {
    width: 100%;
    max-width: 480px;
  }

  .field-label {
    font-size: 18px;
  }

  .field-value {
    font-size: 28px;
  }
}

/* ============================================
   Responsive - Tablet
   ============================================ */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    flex-direction: column;
    align-items: center;
  }
}
