@import "../../../customer-service-styles.scss";

.ios-container {
  max-width: 100%;
  height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: $background-tertiary;
}

.ios-header {
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: $background-primary;
  border-bottom: 1px solid $border-color;
  position: sticky;
  top: 0;
  z-index: 10;

  h1 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 auto;
  }
}

.ios-back-btn {
  background: none;
  border: none;
  padding: 8px;
  z-index: 11;
}

.ios-content {
  padding: 16px;
}

.stats-bar {
  display: flex;
  justify-content: space-around;
  background-color: $background-primary;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: $shadow-sm;
}

.stat-item {
  text-align: center;

  .value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: $primary-color;
    margin-bottom: 4px;
  }

  .label {
    font-size: 14px;
    color: $text-tertiary;
  }
}

.assignment-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.assignment-card {
  background-color: $background-primary;
  border-radius: 12px;
  padding: 16px;
  box-shadow: $shadow-sm;
  transition: transform 0.2s ease;

  &:active {
    transform: scale(0.98);
  }
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;

  h3 {
    font-size: 16px;
    margin: 0;
    color: $text-primary;
  }
}

.priority-badge {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;

  &.high {
    background-color: rgba($danger-color, 0.1);
    color: $danger-color;
  }

  &:not(.high) {
    background-color: rgba($success-color, 0.1);
    color: $success-color;
  }
}

.description {
  color: $text-secondary;
  margin: 0 0 16px;
  line-height: 1.5;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;

  .meta {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: $text-tertiary;

    svg {
      width: 14px;
      height: 14px;
      margin-right: 4px;
      vertical-align: middle;
    }
  }
}

.ios-btn {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  background-color: $primary-color;
  color: white;
  border: none;
  transition: all 0.2s ease;
}