/* skin_concern_result.css */

.sc-result-wrapper {
  max-width: 480px;
  padding: 1rem 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Concern pill */
.sc-concern-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--signature-pale-blue);
    /* border: 1px solid #dde3d8; */
    border-radius: 20px;
    padding: 5px 14px 6px 14px;
    font-size: var(--local-text-base);
    color: #003595;
    margin: 5px 0 20px 0;
}

.sc-concern-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #639922;
  flex-shrink: 0;
}

/* Section */
.sc-section {
  margin-bottom: 24px;
}

.sc-sec-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #8a9285;
  margin-bottom: 4px;
}

.sc-sec-desc {
  font-size: 12px;
  color: #7a8275;
  margin-bottom: 10px;
  line-height: 1.5;
}

/* Divider before warning section */
.sc-divider {
  height: 1px;
  background: #e8ebe4;
  margin-bottom: 20px;
}

/* Cards */
.sc-card {
  background: #ffffff;
  border: 1px solid #e4e8e0;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.sc-card:last-child {
  margin-bottom: 0;
}

.sc-card:hover {
  transform: translateY(-1px);
  border-color: #c8d0c2;
}

.sc-card--warn {
  background: #fff5f5;
  border-color: #f5c6c6;
}

.sc-card--warn:hover {
  border-color: #e8a0a0;
}

/* Dot */
.sc-dot-wrap {
  padding-top: 5px;
  flex-shrink: 0;
}

.sc-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* .sc-dot--green { 
  background: #639922;
}

.sc-dot--red {
  background: #c0392b;
}
*/

/* Card body */
.sc-card-body {
  flex: 1;
  min-width: 0;
}

.sc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.sc-card-name {
  font-size: 14px;
  font-weight: 600;
  color: #2d3226;
}

.sc-card--warn .sc-card-name {
  color: #2d3226;
}

.sc-card-tag {
  font-size: 10px;
  color: #8a9285;
  background: #f4f6f2;
  border: 1px solid #dde3d8;
  border-radius: 5px;
  padding: 2px 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.sc-card--warn .sc-card-tag {
  background: #fdecea;
  border-color: #f5c6c6;
  color: #a94040;
}

.sc-card-note {
  font-size: 12px;
  color: #6b7566;
  line-height: 1.55;
  margin: 0;
}

.sc-card--warn .sc-card-note {
  color: #b05050;
}

