body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
    background-color: #111;
    color: #ccc;
}

.container {
    display: flex;
}

/* Sidebar */
.sidebar {
    width: 230px;
    background: #151515;
    height: 95vh;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem 1rem 1rem;
    box-shadow: 4px 0 10px rgba(0, 0, 0, 0.4);
}

.sidebar .top {
    display: flex;
    flex-direction: column;
}

.sidebar .logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #e91e63;
    margin-bottom: 2rem;
    padding-left: 0.3rem;
}

.sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar nav a {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    padding: 0.6rem 0.8rem;
    border-radius: 10px;
    color: #ccc;
    font-weight: 500;
    transition: 0.2s;
}

.sidebar nav a:hover {
    background: #1e1e1e;
    color: #a82c2c;
}

.sidebar nav i {
    width: 22px;
    height: 22px;
}

/* Perfil do usuário */
.profile {
    position: relative;
    display: flex;
    justify-content: center;
    padding-bottom: 1rem;
    margin-top: auto;
    bottom: 14px;
}

.profile i {
    width: 36px;
    height: 36px;
    color: #aaa;
    transition: 0.3s ease;
}

.profile i:hover {
    transform: scale(1.15);
    color: #fff;
}

/* Main */
.main {
    flex: 1;
    padding: 2rem 3rem;
}

.main h1 {
    font-size: 2.2rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.main p {
    font-size: 0.95rem;
    color: #aaa;
    margin-bottom: 1.5rem;
}

.days {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.days button {
    background: #1e1e1e;
    border: none;
    padding: 0.7rem 1.5rem;
    color: #fff;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.days button:hover {
    background: #c0392b;
}

.exercises {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.exercise-card {
    background-color: #1a1a1a;
    border-radius: 20px;
    padding: 2rem;
    width: 320px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.exercise-card:hover {
    transform: scale(1.03);
}

.exercise-card i {
    font-size: 60px;
    color: #a82c2c;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.exercise-card i:hover {
    transform: scale(1.15);
}

.exercise-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.exercise-card p {
    color: #ccc;
    font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
  .container {
    flex-direction: column;
  }

  .sidebar {
    flex-direction: row;
    width: 100%;
    padding: 0.5rem;
    height: auto;
    border-radius: 0;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }

  .sidebar .logo {
    display: none;
  }

  .sidebar nav {
    flex-direction: row;
    gap: 1rem;
    overflow-x: auto;
  }

  .sidebar nav a {
    padding: 0.3rem;
    font-size: 0.8rem;
    flex-direction: column;
    align-items: center;
  }

  .sidebar nav i {
    font-size: 18px;
  }

  .profile i {
    font-size: 20px;
  }

  .main {
    padding: 1rem;
  }

  .days {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .days button {
    flex: 1 1 calc(50% - 0.5rem);
    padding: 0.6rem;
    font-size: 0.9rem;
  }

  .exercises {
    flex-direction: column;
    gap: 1rem;
  }

  .exercise-card {
    width: 100%;
    padding: 1rem;
  }

  .exercise-card i {
    font-size: 48px;
  }

  .exercise-card h3 {
    font-size: 1rem;
  }
}
