.skin-assessment-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
}
.skin-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
.skin-table th, .skin-table td {
    border: 1px solid #ddd;
    padding: 8px;
    vertical-align: top;
    text-align: center;
    word-wrap: break-word;
}
.skin-table td label {
    display: flex;
    align-items: center;
    gap: 8px;
}
.skin-table td input[type="radio"] {
    vertical-align: middle;
    margin: 0;
}
.score-desc {
    margin: 0;
    font-size: 12px;
    color: #555;
    text-align: left;
}
.buttons {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.buttons button {
    padding: 12px 24px;
    border: none;
    color: #fff;
    font-size: 16px;
    border-radius: 25px;
    cursor: pointer;
}
.buttons #assess-btn {
    background-color: #6a2cb1;
}
.buttons button[type="reset"] {
    background-color: #d10a00;
}
#assessment-result {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
}

/* Mobile card layout with visible scores and descriptions */
@media (max-width: 767px) {
  .skin-assessment-container {
    padding: 10px;
  }
  .skin-table thead {
    display: none;
  }
  .skin-table tr {
    display: block;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
  }
  .skin-table td {
    border: none;
    display: block;
    margin-bottom: 12px;
  }
  .skin-table td:nth-child(1) {
    font-weight: bold;
    margin-bottom: 8px;
  }
  .skin-table td:nth-child(2) {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
  }
  .skin-table td:nth-child(n+3) label {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .buttons {
    flex-direction: column;
    gap: 12px;
  }
  .buttons button {
    width: 100%;
  }
}
