* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, Arial, sans-serif;
    background: #f5f7fb;
    color: #222;
}

.container {
    width: 95%;
    max-width: 1300px;
    margin: 40px auto;
}

h1 {
    margin-bottom: 15px;
}

p {
    margin-bottom: 25px;
}

.muscle-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.muscle-btn {
    border: none;
    background: #2563eb;
    color: white;
    padding: 18px;
    border-radius: 12px;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
}

.muscle-btn:hover {
    background: #1d4ed8;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.back-link {
    text-decoration: none;
    color: #2563eb;
    font-weight: bold;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

.card h2 {
    margin-bottom: 15px;
}

.form-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

input,
select {
    padding: 12px;
    border: 1px solid #d7dbe2;
    border-radius: 8px;
}

#addSessionBtn {
    margin-top: 15px;
    border: none;
    background: #16a34a;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    background: white;
    border-collapse: collapse;
}

th {
    background: #eef2ff;
    font-weight: 600;
}

th,
td {
    border: 1px solid #d7dbe2;
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.session-data {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.session-id {
    font-weight: 700;
    color: #2563eb;
}