.drr38-photo-field {
    margin: 1.2rem 0;
    padding: 1rem;
    border: 1px solid #dce5df;
    border-radius: 10px;
    background: #f7faf7;
    color: #26382d;
}
.drr38-photo-field input[type="file"] {
    display: block;
    max-width: 100%;
    font-size: 15px;
}
.drr38-photo-field .drr38-photo-help,
.drr38-photo-field .drr38-photo-consent {
    margin: 0.65rem 0 0;
    font-size: 13px;
    line-height: 1.55;
}
.drr38-photo-field .drr38-photo-consent label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.drr38-photo-field .drr38-photo-consent input {
    flex: 0 0 auto;
    margin-top: 0.25rem;
}
.drr38-photo-field .drr38-photo-preview {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
}
.drr38-photo-field .drr38-photo-preview img {
    width: auto;
    max-width: min(100%, 220px);
    max-height: 180px;
    border-radius: 8px;
    object-fit: contain;
}
.drr38-photo-field .drr38-clear-photo {
    margin-top: 0.75rem;
    padding: 0.5rem 0.7rem;
    border: 1px solid #bfd0c4;
    background: #fff;
    color: #245c39;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
}
.drr38-photo-field [hidden] {
    display: none !important;
}
.drr38-photo-form-error,
.drr38-photo-file-error {
    color: #842626;
    background: #fff3f1;
    padding: 0.75rem;
    border-left: 3px solid #b43b32;
    margin: 0.8rem 0;
    font-size: 14px;
}
#reviews #comments .drr38-review-photo {
    margin: 1rem 0;
}
#reviews #comments .drr38-review-photo .drr38-photo-link {
    display: inline-block;
    max-width: 100%;
}
#reviews #comments .drr38-review-photo img {
    display: block;
    position: static;
    width: auto;
    height: auto;
    max-width: min(100%, 240px);
    max-height: 220px;
    border-radius: 10px;
    object-fit: contain;
}
#reviews #comments .drr38-review-photo figcaption {
    margin-top: 0.4rem;
    color: #647268;
    font-size: 12px;
}
.drr38-admin-photo {
    max-width: 240px;
    max-height: 200px;
    width: auto;
    height: auto;
    border-radius: 8px;
}
.drr38-photo-dialog {
    border: 0;
    border-radius: 12px;
    padding: 1rem;
    max-width: min(94vw, 1100px);
    max-height: 92vh;
    color: #26382d;
    background: #fff;
}
.drr38-photo-dialog::backdrop {
    background: rgba(0, 0, 0, 0.72);
}
.drr38-photo-dialog .drr38-photo-dialog-head {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.75rem;
}
.drr38-photo-dialog button {
    padding: 0.55rem 0.85rem;
    border: 1px solid #ccd9cf;
    border-radius: 6px;
    background: #f7faf7;
    color: #26382d;
    cursor: pointer;
}
.drr38-photo-dialog img {
    display: block;
    max-width: 100%;
    max-height: 76vh;
    width: auto;
    height: auto;
    margin: auto;
    object-fit: contain;
}
