﻿

* { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
}

.create-container {
  min-height: 100vh;
  padding: 1rem;
}

.form-wrapper {
  max-width: 48rem;
  margin: 0 auto;
  padding: 1rem;
}

.form-card {
  background-color: var(--bg-secondary);
  border-radius: 0.75rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.header {
  margin-bottom: 2rem;
  text-align: center;
}

.header-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--text-primary);
  outline: none;
  transition: all 0.2s;
}

.input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-hover);
}

.input::placeholder {
  color: var(--text-secondary);
}

.file-input {
  display: none;
}

.file-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.file-label:hover {
  background-color: var(--border);
}

.submit-button {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: var(--accent);
    color: white;
    font-weight: 500;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
    text-decoration: none;
}

.submit-button:hover {
  background-color: var(--accent-hover);
}

.submit-button:active {
  background-color: var(--accent-active);
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.profile-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.workouts-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.workout-item {
  background-color: var(--bg-input);
  border-radius: 0.5rem;
  padding: 1.5rem;
  transition: transform 0.2s;
}

.workout-item:hover {
  transform: translateY(-2px);
}

.workout-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.workout-actions {
  display: flex;
  gap: 1rem;
}

.delete-button {
    width: 100%;
    padding-top:  0.3rem;
    color: var(--text-primary);
    font-weight: 500;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.2s;
}


@media (max-width: 640px) {
    .form-wrapper {
    padding: 0.5rem;
  }

  .profile-section {
    flex-direction: column;
    text-align: center;
  }

  .workout-actions {
    flex-direction: column;
  }
}


/*-----------------------------------*/