.step-analiz-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  // background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  // box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);

  // Header
  .header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);

    .header-icon {
      font-size: 2.5rem;
      animation: float 3s ease-in-out infinite;
    }

    .header-content {
      h3 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 700;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
      }

      .subtitle {
        margin: 0.25rem 0 0 0;
        font-size: 0.875rem;
        opacity: 0.9;
      }
    }
  }

  // API Durumu
  .api-durum {
    .uyari {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1rem;
      background: rgba(255, 193, 7, 0.2);
      border: 1px solid rgba(255, 193, 7, 0.5);
      border-radius: 8px;
      font-size: 0.875rem;

      .icon {
        font-size: 1.25rem;
      }

      .btn-yenile {
        margin-left: auto;
        background: transparent;
        border: none;
        color: white;
        font-size: 1.25rem;
        cursor: pointer;
        transition: transform 0.2s;

        &:hover {
          transform: rotate(180deg);
        }
      }
    }
  }

  // Yükleme Bölümü
  .yukleme-bolumu {
    display: flex;
    flex-direction: column;
    gap: 1rem;

    .dosya-sec {
      .dosya-label {
        cursor: pointer;
        display: block;
      }

      .dosya-box {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem;
        background: rgba(255, 255, 255, 0.1);
        border: 2px dashed rgba(255, 255, 255, 0.3);
        border-radius: 12px;
        transition: all 0.3s;
        cursor: pointer;
        position: relative;

        &:hover {
          background: rgba(255, 255, 255, 0.15);
          border-color: rgba(255, 255, 255, 0.5);
          transform: translateY(-2px);
        }

        &.has-file {
          background: rgba(76, 175, 80, 0.2);
          border-color: rgba(76, 175, 80, 0.5);
        }

        &.drag-over {
          background: rgba(33, 150, 243, 0.3);
          border-color: rgba(33, 150, 243, 0.8);
          transform: scale(1.02);
          box-shadow: 0 8px 32px rgba(33, 150, 243, 0.3);

          .dosya-icon {
            transform: scale(1.1);
            animation: pulse 1s infinite;
          }
        }

        .dosya-icon {
          font-size: 2.5rem;
        }

        .dosya-text {
          flex: 1;

          strong {
            display: block;
            font-size: 1rem;
            margin-bottom: 0.25rem;
          }

          small {
            font-size: 0.75rem;
            opacity: 0.8;
          }
        }
      }
    }

    .ayarlar {
      display: flex;
      flex-direction: column;
      gap: 1rem;

      .ayar-grup {
        label {
          display: block;
          font-size: 0.875rem;
          margin-bottom: 0.5rem;
          font-weight: 600;
          opacity: 0.9;
        }

        .select-input {
          width: 100%;
          padding: 0.75rem;
          background: rgba(255, 255, 255, 0.15);
          border: 1px solid rgba(255, 255, 255, 0.3);
          border-radius: 8px;
          color: white;
          font-size: 0.875rem;
          outline: none;
          transition: all 0.2s;

          &:focus {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.5);
          }

          &:disabled {
            opacity: 0.5;
            cursor: not-allowed;
          }

          option {
            background: #667eea;
            color: white;
          }
        }

        .range-input {
          width: 100%;
          height: 6px;
          background: rgba(255, 255, 255, 0.2);
          border-radius: 3px;
          outline: none;
          -webkit-appearance: none;

          &::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 18px;
            height: 18px;
            background: white;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
          }

          &::-moz-range-thumb {
            width: 18px;
            height: 18px;
            background: white;
            border-radius: 50%;
            cursor: pointer;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
          }

          &:disabled {
            opacity: 0.5;
            cursor: not-allowed;
          }
        }
      }
    }

    .hata-mesaj {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1rem;
      background: rgba(244, 67, 54, 0.2);
      border: 1px solid rgba(244, 67, 54, 0.5);
      border-radius: 8px;
      font-size: 0.875rem;

      .icon {
        font-size: 1.25rem;
      }
    }

    .btn-analiz {
      padding: 1rem 2rem;
      background: rgba(255, 255, 255, 0.2);
      border: 2px solid rgba(255, 255, 255, 0.5);
      border-radius: 12px;
      color: white;
      font-size: 1rem;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.3s;
      text-transform: uppercase;
      letter-spacing: 0.5px;

      &:hover:not(:disabled) {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      }

      &:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }
    }
  }

  // Sonuç Bölümü
  .sonuc-bolumu {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 0.5s ease-out;

    .ozet-kartlar {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
      gap: 1rem;

      .ozet-kart {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 12px;
        backdrop-filter: blur(10px);
        transition: transform 0.2s;

        &:hover {
          transform: translateY(-3px);
        }

        .kart-icon {
          font-size: 2rem;
        }

        .kart-content {
          .kart-deger {
            font-size: 1.25rem;
            font-weight: 700;
            line-height: 1.2;
          }

          .kart-baslik {
            font-size: 0.75rem;
            opacity: 0.8;
            margin-top: 0.25rem;
          }
        }
      }
    }

    .en-agir-parca {
      padding: 1rem;
      background: rgba(255, 255, 255, 0.1);
      border: 2px solid rgba(255, 215, 0, 0.5);
      border-radius: 12px;

      .parca-header {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.75rem;

        .parca-icon {
          font-size: 1.5rem;
        }

        .parca-baslik {
          font-size: 1rem;
          font-weight: 700;
        }
      }

      .parca-detay {
        .parca-isim {
          font-size: 1rem;
          font-weight: 600;
          margin-bottom: 0.75rem;
          color: rgba(255, 215, 0, 1);
        }

        .parca-bilgi {
          display: flex;
          flex-direction: column;
          gap: 0.5rem;

          .bilgi-item {
            display: flex;
            justify-content: space-between;
            font-size: 0.875rem;

            .bilgi-label {
              opacity: 0.8;
            }

            .bilgi-deger {
              font-weight: 600;
            }
          }
        }
      }
    }

    .malzeme-bilgi {
      padding: 1rem;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;

      .bilgi-satir {
        display: flex;
        justify-content: space-between;
        font-size: 0.875rem;

        .bilgi-label {
          opacity: 0.8;
        }

        .bilgi-deger {
          font-weight: 600;
        }
      }
    }

    .action-buttons {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1rem;

      .btn-3d-goster,
      .btn-yeni-analiz {
        padding: 1rem 2rem;
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.5);
        border-radius: 12px;
        color: white;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s;
        text-transform: uppercase;
        letter-spacing: 0.5px;

        &:hover:not(:disabled) {
          background: rgba(255, 255, 255, 0.3);
          transform: translateY(-2px);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
        }

        &:disabled {
          opacity: 0.5;
          cursor: not-allowed;
        }
      }

      .btn-3d-goster {
        background: rgba(76, 175, 80, 0.3);
        border-color: rgba(76, 175, 80, 0.7);

        &:hover:not(:disabled) {
          background: rgba(76, 175, 80, 0.4);
        }
      }
    }
  }
}

// Animasyonlar
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
