.photo-upload-policy-card {
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(248,250,252,.94));
  box-shadow: 0 14px 35px rgba(15, 23, 42, .08);
  padding: 16px;
  margin: 12px 0 16px;
}

.photo-upload-policy-card.limit-reached {
  border-color: rgba(185, 28, 28, .22);
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(254,242,242,.9));
}

.photo-policy-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.photo-policy-head strong {
  display: block;
  font-size: 1.05rem;
  color: #0f172a;
}

.photo-policy-existing-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.photo-policy-existing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  padding: 10px 12px;
}

.photo-policy-existing-item span {
  font-weight: 700;
  color: #111827;
}

.photo-policy-existing-item small,
.photo-replace-select small,
.photo-limit-field small {
  display: block;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.35;
}

.photo-replace-select,
.photo-limit-field {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  font-weight: 700;
  color: #0f172a;
}

.photo-replace-select select,
.photo-limit-field input {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, .14);
  border-radius: 14px;
  padding: 11px 12px;
  background: #fff;
  font: inherit;
}

.photo-limit-field {
  grid-column: 1 / -1;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 16px;
  background: rgba(248, 250, 252, .86);
  padding: 14px;
}

.btn-delete-photo {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
  color: #fff !important;
}

@media (max-width: 720px) {
  .photo-policy-head,
  .photo-policy-existing-item {
    align-items: stretch;
    flex-direction: column;
  }

  .photo-upload-policy-card {
    border-radius: 16px;
    padding: 14px;
  }
}
