.testimonial-admin-page {
    background: #f3f7f6;
    color: #294d47;
    min-height: calc(100vh - 64px);
    padding: 26px;
}

.testimonial-admin-heading { align-items: flex-end; display: flex; gap: 24px; justify-content: space-between; margin-bottom: 22px; }
.testimonial-admin-eyebrow { color: #087a69; display: block; font-size: 11px; font-weight: 850; letter-spacing: .1em; margin-bottom: 5px; text-transform: uppercase; }
.testimonial-admin-heading h1 { color: #123f39; font-size: 30px; font-weight: 850; letter-spacing: -.025em; margin: 0 0 5px; }
.testimonial-admin-heading p { color: #6a817d; margin: 0; }
.testimonial-admin-actions { display: flex; gap: 8px; }
.testimonial-admin-alert { box-shadow: 0 8px 24px rgba(27, 75, 68, .06); margin-bottom: 18px; }

.testimonial-admin-stats { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; }
.testimonial-admin-stats > div { background: #fff; border: 1px solid #dce8e6; border-radius: 10px; box-shadow: 0 8px 24px rgba(27, 75, 68, .05); display: grid; min-height: 115px; padding: 18px 20px; }
.testimonial-admin-stats span { color: #607b75; font-size: 11px; font-weight: 850; text-transform: uppercase; }
.testimonial-admin-stats span i { color: #087a69; margin-right: 6px; }
.testimonial-admin-stats strong { color: #143f39; font-size: 31px; font-weight: 850; line-height: 1; margin-top: 12px; }

.testimonial-admin-card { background: #fff; border: 1px solid #dce8e6; border-radius: 10px; box-shadow: 0 12px 34px rgba(27, 75, 68, .06); overflow: hidden; }
.testimonial-admin-filters { align-items: center; border-bottom: 1px solid #e3ecea; display: grid; gap: 9px; grid-template-columns: minmax(300px, 1fr) 190px auto auto; padding: 16px; }
.testimonial-search-field { position: relative; }
.testimonial-search-field i { color: #829792; left: 13px; position: absolute; top: 12px; }
.testimonial-search-field input { padding-left: 38px; }
.testimonial-clear-filter { font-size: 12px; white-space: nowrap; }
.testimonial-table-summary { align-items: center; background: #fafcfc; border-bottom: 1px solid #e5edeb; color: #657d78; display: flex; font-size: 12px; justify-content: space-between; padding: 10px 16px; }
.testimonial-table-summary a { color: #087a69; font-weight: 750; text-decoration: none; }
.testimonial-table-summary a i { margin-right: 5px; }

.testimonial-admin-table th { background: #f2f7f6; border-color: #dfe9e7; color: #647c77; font-size: 10px; font-weight: 850; letter-spacing: .06em; padding: 12px 14px; text-transform: uppercase; white-space: nowrap; }
.testimonial-admin-table td { border-color: #e7eeed; color: #355b55; font-size: 13px; padding: 14px; }
.testimonial-person-cell { align-items: center; display: flex; gap: 11px; min-width: 235px; }
.testimonial-person-cell > span { border: 2px solid #d6e8e4; border-radius: 50%; flex: 0 0 48px; height: 48px; overflow: hidden; }
.testimonial-person-cell img { height: 100%; object-fit: cover; width: 100%; }
.testimonial-person-cell > div { display: grid; gap: 3px; }
.testimonial-person-cell strong { color: #173f39; }
.testimonial-person-cell small { color: #78908b; font-size: 11px; }
.testimonial-quote-cell { max-width: 470px; min-width: 310px; }
.testimonial-quote-cell p { color: #637d77; display: -webkit-box; font-size: 12px; line-height: 1.55; margin: 0; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.testimonial-table-stars { display: flex; gap: 2px; min-width: 105px; }
.testimonial-table-stars i { color: #d9dfdd; font-size: 15px; }
.testimonial-table-stars i.is-active { color: #f5af19; }
.testimonial-sort-value { align-items: center; background: #eef5f3; border-radius: 7px; color: #476a64; display: inline-flex; font-size: 12px; font-weight: 800; height: 31px; justify-content: center; min-width: 36px; }
.testimonial-status-badge { border-radius: 999px; display: inline-block; font-size: 11px; font-weight: 800; min-width: 105px; padding: 6px 10px; text-align: center; }
.testimonial-status-badge.is-active { background: #def4eb; color: #12684c; }
.testimonial-status-badge.is-hidden { background: #edf0ef; color: #687b77; }
.testimonial-row-actions { display: flex; gap: 6px; }
.testimonial-row-actions button { align-items: center; background: #fff; border: 1px solid #cfe0dd; border-radius: 7px; color: #087a69; display: flex; height: 34px; justify-content: center; width: 34px; }
.testimonial-row-actions button:hover { background: #edf7f5; }
.testimonial-row-actions button.is-delete { color: #b64c4c; }
.testimonial-row-actions button.is-delete:hover { background: #fff1f1; border-color: #eccccc; }
.testimonial-empty { align-items: center; color: #78908b; display: flex; flex-direction: column; gap: 7px; justify-content: center; min-height: 220px; text-align: center; }
.testimonial-empty > i { color: #9bb2ad; font-size: 30px; }
.testimonial-empty strong { color: #4b6c66; font-size: 14px; }
.testimonial-empty span { font-size: 12px; }

.testimonial-modal-backdrop { align-items: center; background: rgba(12, 38, 34, .62); display: flex; inset: 0; justify-content: center; padding: 22px; position: fixed; z-index: 1100; }
.testimonial-modal { background: #fff; border-radius: 10px; box-shadow: 0 30px 80px rgba(3, 28, 24, .28); max-height: calc(100vh - 44px); max-width: 760px; overflow: auto; width: 100%; }
.testimonial-modal > header { align-items: flex-start; border-bottom: 1px solid #e1ebe9; display: flex; gap: 18px; justify-content: space-between; padding: 22px 25px; }
.testimonial-modal > header span { color: #087a69; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.testimonial-modal > header h2 { color: #143f39; font-size: 21px; font-weight: 850; margin: 5px 0 0; }
.testimonial-modal > header button { align-items: center; background: #edf5f3; border: 0; border-radius: 7px; color: #56736d; display: flex; flex: 0 0 36px; height: 36px; justify-content: center; }
.testimonial-editor-body { padding: 24px 25px; }
.testimonial-editor-error { font-size: 12px; }
.testimonial-avatar-editor { align-items: center; background: #f5f9f8; border: 1px solid #dce8e5; border-radius: 9px; display: flex; gap: 16px; margin-bottom: 21px; padding: 15px; }
.testimonial-avatar-preview { border: 3px solid #fff; border-radius: 50%; box-shadow: 0 5px 15px rgba(25, 74, 66, .12); flex: 0 0 72px; height: 72px; overflow: hidden; }
.testimonial-avatar-preview img { height: 100%; object-fit: cover; width: 100%; }
.testimonial-avatar-editor > div { display: grid; gap: 6px; }
.testimonial-avatar-editor small { color: #78908b; font-size: 10px; }
.testimonial-upload-button { align-items: center; background: #fff; border: 1px solid #c9ded9; border-radius: 7px; color: #087a69; cursor: pointer; display: inline-flex; font-size: 12px; font-weight: 800; gap: 7px; max-width: 350px; overflow: hidden; padding: 9px 12px; text-overflow: ellipsis; white-space: nowrap; }
.testimonial-upload-button input { display: none; }
.testimonial-editor-grid { display: grid; gap: 17px 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.testimonial-editor-field.is-wide { grid-column: 1 / -1; }
.testimonial-editor-field label { color: #244a44; display: block; font-size: 12px; font-weight: 800; margin-bottom: 7px; }
.testimonial-editor-field label span { color: #c43f3f; }
.testimonial-editor-field .form-control,
.testimonial-editor-field .form-select { border-color: #cfdfdc; border-radius: 8px; box-shadow: none; font-size: 13px; min-height: 45px; }
.testimonial-editor-field textarea { min-height: 125px !important; resize: vertical; }
.testimonial-editor-field .validation-message { color: #b93f3f; font-size: 10px; margin-top: 5px; }
.testimonial-field-hint { align-items: flex-start; display: flex; justify-content: space-between; }
.testimonial-field-hint small { color: #90a09d; font-size: 10px; margin-left: auto; margin-top: 5px; }
.testimonial-rating-picker { align-items: center; display: flex; gap: 5px; }
.testimonial-rating-picker button { background: transparent; border: 0; color: #d5dcda; font-size: 29px; line-height: 1; padding: 2px; transition: color .15s ease, transform .15s ease; }
.testimonial-rating-picker button:hover { color: #ffc54b; transform: scale(1.1); }
.testimonial-rating-picker button.is-active { color: #f5af19; }
.testimonial-rating-picker strong { color: #5f7872; font-size: 12px; margin-left: 8px; }
.testimonial-modal form > footer { align-items: center; background: #f8fbfa; border-top: 1px solid #e1ebe9; display: flex; gap: 9px; justify-content: flex-end; padding: 15px 25px; }
.testimonial-delete-dialog { background: #fff; border-radius: 10px; box-shadow: 0 30px 80px rgba(3, 28, 24, .28); max-width: 430px; padding: 30px; text-align: center; width: 100%; }
.testimonial-delete-dialog > span { align-items: center; background: #fff0f0; border-radius: 50%; color: #b84747; display: flex; font-size: 23px; height: 56px; justify-content: center; margin: 0 auto 15px; width: 56px; }
.testimonial-delete-dialog h2 { color: #193f39; font-size: 21px; font-weight: 850; }
.testimonial-delete-dialog p { color: #6e817d; font-size: 13px; line-height: 1.6; }
.testimonial-delete-dialog > div { display: flex; gap: 8px; justify-content: center; margin-top: 20px; }

@media (max-width: 991.98px) {
    .testimonial-admin-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .testimonial-admin-filters { grid-template-columns: minmax(240px, 1fr) 180px auto; }
    .testimonial-clear-filter { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width: 767.98px) {
    .testimonial-admin-page { padding: 18px 14px; }
    .testimonial-admin-heading { align-items: flex-start; flex-direction: column; }
    .testimonial-admin-actions { width: 100%; }
    .testimonial-admin-actions .btn { flex: 1; }
    .testimonial-admin-stats { gap: 10px; grid-template-columns: 1fr 1fr; }
    .testimonial-admin-stats > div { min-height: 100px; padding: 15px; }
    .testimonial-admin-filters { grid-template-columns: 1fr; }
    .testimonial-clear-filter { grid-column: auto; }
    .testimonial-table-summary { align-items: flex-start; flex-direction: column; gap: 5px; }
    .testimonial-modal-backdrop { padding: 9px; }
    .testimonial-modal > header,
    .testimonial-editor-body { padding: 18px; }
    .testimonial-editor-grid { grid-template-columns: 1fr; }
    .testimonial-editor-field.is-wide { grid-column: auto; }
    .testimonial-modal form > footer { padding: 14px 18px; }
}

@media (max-width: 430px) {
    .testimonial-admin-stats { grid-template-columns: 1fr; }
    .testimonial-avatar-editor { align-items: flex-start; }
}
