// Ölçü İste Component Stil Dosyası
// Header
.header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

.header-icon {
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

.header-content {
  flex: 1;
}

h3 {
  margin: 0;
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
}

.subtitle {
  margin: 0.25rem 0 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

// Animasyonlar
@keyframes float {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }

  // Dosya Yükleme Alanı
  .dosya-sec {
    margin-bottom: 1rem;
  }

  .dosya-label {
    display: block;
    cursor: pointer;
  }

  .dosya-box {
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);

    &:hover {
      border-color: rgba(255, 255, 255, 0.5);
      background: rgba(255, 255, 255, 0.08);
    }

    &.drag-over {
      border-color: #4a9eff;
      background: rgba(74, 158, 255, 0.1);
      transform: scale(1.02);
    }
  }

  .dosya-icon {
    font-size: 2rem;
    margin-bottom: 0rem;
    animation: float 3s ease-in-out infinite;
  }

  .dosya-text {
    color: white;

    strong {
      display: block;
      font-size: 1.1rem;
      margin-bottom: 0.5rem;
    }

    small {
      color: rgba(255, 255, 255, 0.7);
      font-size: 0.9rem;
    }
  }

  // Dosyalar Listesi
  .dosyalar-listesi {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .liste-baslik {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);

    span {
      color: white;
      font-weight: bold;
      font-size: 1rem;
    }
  }

  .temizle-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;

    &:hover {
      background: rgba(239, 68, 68, 0.3);
      border-color: rgba(239, 68, 68, 0.5);
      transform: translateY(-1px);
    }
  }

  // Dosya Item
  .dosya-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    margin-bottom: 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;

    &:hover {
      background: rgba(255, 255, 255, 0.06);
      border-color: rgba(255, 255, 255, 0.15);
    }

    &:last-child {
      margin-bottom: 0;
    }
  }

  .dosya-bilgi {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 0.8rem;
  }

  .dosya-icon-small {
    font-size: 1.5rem;
    opacity: 0.8;
  }

  .dosya-detay {
    flex: 1;
  }

  .dosya-ad {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
    word-break: break-all;
  }

  .dosya-boyut {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
  }

  .dosya-islemler {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .durum-indikatoru {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;

    &.basarili {
      background: rgba(34, 197, 94, 0.2);
      color: #22c55e;
      border: 1px solid rgba(34, 197, 94, 0.3);
    }

    &.yukleniyor {
      background: rgba(59, 130, 246, 0.2);
      color: #3b82f6;
      border: 1px solid rgba(59, 130, 246, 0.3);
      animation: pulse 1.5s ease-in-out infinite;
    }

    &.hata {
      background: rgba(239, 68, 68, 0.2);
      color: #ef4444;
      border: 1px solid rgba(239, 68, 68, 0.3);
    }
  }

  .sil-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #f87171;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 0.9rem;

    &:hover {
      background: rgba(239, 68, 68, 0.2);
      border-color: rgba(239, 68, 68, 0.4);
      transform: translateY(-1px);
    }
  }

  // Animasyonlar
  @keyframes pulse {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
  }