// ==========================================================================
// Versions - Historique des versions
// ==========================================================================

@use '../base/variables' as *;

.admin-versions {
  background: $color-neutral;
  min-height: 100vh;

  .version-list {
    background: $color-light;
    border-radius: $radius-md;
    overflow: hidden;
  }

  .version-item {
    padding: 20px;
    border-bottom: 1px solid $color-neutral;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s;

    &:last-child {
      border-bottom: none;
    }

    &:hover {
      background: $color-neutral;
    }
  }

  .version-info {
    h3 {
      color: $color-dark;
      margin-bottom: 5px;
      font-size: 16px;
    }

    p {
      color: $color-primary-dark;
      font-size: 14px;
    }
  }

  .version-actions {
    button {
      padding: 10px 20px;
      background: #3498db;
      color: $color-light;
      border: none;
      border-radius: $radius-sm;
      cursor: pointer;
      transition: background 0.2s;

      &:hover {
        background: #2980b9;
      }
    }
  }
}
