.azx-member-area {
    max-width: 1180px;
    margin: 0 auto;
    color: #252a30;
}

.azx-member-heading,
.azx-member-area-header {
    border-bottom: 1px solid #dfe4e8;
    margin-bottom: 28px;
    padding-bottom: 18px;
}

.azx-member-heading > span,
.azx-member-area-header span {
    color: #80bd00;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.azx-member-heading h2,
.azx-member-area-header h2 {
    margin: 5px 0 0;
    font-size: 36px;
    font-weight: 400;
}

.azx-member-login-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.azx-member-card {
    border: 1px solid #d6dde2;
    border-radius: 8px;
    padding: 24px;
}

.azx-member-card h3 { margin: 0 0 8px; font-size: 25px; font-weight: 400; }
.azx-member-card p { margin: 0 0 20px; color: #68727d; }
.azx-member-card form { display: grid; gap: 14px; }
.azx-member-card label,
.azx-member-filters label,
.azx-member-table-tools label { display: grid; gap: 6px; font-size: 13px; }
.azx-member-area input,
.azx-member-area select { box-sizing: border-box; width: 100%; min-height: 42px; border: 1px solid #cbd4db; border-radius: 4px; padding: 9px 11px; background: #fff; color: #252a30; }
.azx-member-area button { min-height: 42px; border: 0; border-radius: 4px; padding: 9px 18px; background: #8bc400; color: #fff; font-weight: 700; cursor: pointer; }
.azx-member-area button:hover { filter: brightness(.95); }
.azx-member-help { margin-top: 22px; color: #68727d; font-size: 13px; }
.azx-member-notice { margin: 0 0 22px; border-radius: 4px; padding: 12px 14px; }
.azx-member-notice-error { border: 1px solid #e3b5b5; background: #fff3f3; color: #8d2020; }

.azx-member-area-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.azx-member-actions { display: flex; align-items: center; gap: 16px; }
.azx-member-actions form { margin: 0; }
.azx-member-link { color: #609000; font-weight: 700; text-decoration: none; }
.azx-member-link:hover { color: #80bd00; text-decoration: underline; }
.azx-member-logout { background: #fff !important; border: 1px solid #8bc400 !important; color: #609000 !important; }
.azx-member-scope { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: -8px 0 16px; color: #68727d; font-size: 13px; }
.azx-member-scope-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.azx-member-quick-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -10px 0 18px; }
.azx-member-quick-filter { border: 1px solid #cbd4db; border-radius: 4px; padding: 8px 12px; color: #4d5660; font-size: 13px; text-decoration: none; }
.azx-member-quick-filter:hover,
.azx-member-quick-filter.is-active { border-color: #8bc400; background: #8bc400; color: #fff; }
.azx-member-button { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; box-sizing: border-box; border: 0; border-radius: 4px; padding: 9px 18px; background: #8bc400; color: #fff; font-weight: 700; text-decoration: none; cursor: pointer; }
.azx-member-button:hover { filter: brightness(.95); color: #fff; }
.azx-member-button-secondary { min-height: 36px; border: 1px solid #8bc400; background: #fff; color: #609000; }
.azx-member-button-secondary:hover { color: #609000; }
.azx-member-filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: end; margin-bottom: 22px; }
.azx-member-filters button { grid-column: 2; }
.azx-member-table-tools { display: flex; justify-content: flex-end; gap: 14px; margin-bottom: 12px; }
.azx-member-table-tools label { min-width: 180px; }
.azx-member-table-wrap { overflow-x: auto; }
.azx-member-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.azx-member-table th { padding: 13px 12px; text-align: left; white-space: nowrap; }
.azx-member-table td { padding: 13px 12px; border-top: 1px solid #edf0f2; white-space: nowrap; }
.azx-member-table td.azx-member-empty { padding: 24px 12px; text-align: center; white-space: normal; color: #68727d; }
.azx-member-table td.azx-member-actions-cell { white-space: nowrap; }
.azx-member-table tbody tr:nth-child(odd) { background: #f5f6f7; }
.azx-member-table tbody tr[hidden] { display: none; }
.azx-member-pagination { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-top: 18px; }
.azx-member-pagination label { display: grid; gap: 6px; font-size: 13px; }
.azx-member-pagination select { min-width: 78px; }
.azx-member-pagination-controls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.azx-member-pagination-controls button { min-height: 36px; padding: 7px 13px; }
.azx-member-pagination-controls button:disabled { cursor: default; opacity: .45; }
.azx-member-pagination-controls [data-member-pagination-page] { min-width: 92px; text-align: center; font-size: 13px; }
.azx-member-pagination-controls [data-member-pagination-summary] { margin-right: 8px; color: #68727d; font-size: 13px; }
.azx-member-status { font-weight: 500; }
.azx-member-status-confirmed { color: #2da33a; }
.azx-member-status-cancelled { color: #f03542; }
.azx-member-status-no_show,
.azx-member-status-waiting_confirmation,
.azx-member-status-not_confirmed,
.azx-member-status-pending_on_customer,
.azx-member-status-in_analysis { color: #f0ab00; }
.azx-member-notice-warning { display: flex; flex-wrap: wrap; gap: 6px 12px; border: 1px solid #f0d27a; border-left: 4px solid #f0ab00; background: #fff8df; color: #805b00; }
.azx-member-notice-warning strong { flex-basis: 100%; }
.azx-member-notice-warning a { color: #805b00; font-weight: 700; }
.azx-member-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.azx-member-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #d6dde2; border-radius: 8px; overflow: hidden; }
.azx-member-detail-field { display: grid; gap: 7px; min-width: 0; padding: 15px 16px; border-bottom: 1px solid #edf0f2; }
.azx-member-detail-field:nth-child(odd) { border-right: 1px solid #edf0f2; }
.azx-member-detail-field:nth-last-child(-n+2) { border-bottom: 0; }
.azx-member-detail-field > span { color: #68727d; font-size: 13px; }
.azx-member-detail-field > strong { overflow-wrap: anywhere; }
.azx-member-profile { display: grid; gap: 14px; }
.azx-member-profile-field { display: grid; gap: 6px; }
.azx-member-profile-field > span { font-size: 13px; }
.azx-member-profile-field > div { box-sizing: border-box; min-height: 42px; border: 1px solid #cbd4db; border-radius: 4px; padding: 10px 11px; background: #e8edf2; color: #4d5660; }

@media (max-width: 800px) {
    .azx-member-login-grid { grid-template-columns: 1fr; }
    .azx-member-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .azx-member-filters button { grid-column: span 2; }
    .azx-member-detail-grid { grid-template-columns: 1fr; }
    .azx-member-detail-field:nth-child(odd) { border-right: 0; }
    .azx-member-detail-field:nth-last-child(2) { border-bottom: 1px solid #edf0f2; }
    .azx-member-detail-field:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
    .azx-member-heading h2, .azx-member-area-header h2 { font-size: 28px; }
    .azx-member-area-header { align-items: flex-start; flex-direction: column; }
    .azx-member-actions { width: 100%; justify-content: space-between; }
    .azx-member-scope { align-items: flex-start; flex-direction: column; gap: 6px; }
    .azx-member-scope-actions { align-items: flex-start; flex-direction: column; gap: 9px; }
    .azx-member-quick-filters { gap: 6px; }
    .azx-member-quick-filter { padding: 7px 9px; }
    .azx-member-filters { grid-template-columns: 1fr; }
    .azx-member-filters button { grid-column: auto; }
    .azx-member-pagination { align-items: stretch; flex-direction: column; }
    .azx-member-pagination-controls { justify-content: space-between; flex-wrap: wrap; }
    .azx-member-pagination-controls [data-member-pagination-summary] { flex-basis: 100%; margin: 0; }
}

@media print {
    .azx-member-no-print { display: none !important; }
    .azx-member-area { max-width: none; }
    .azx-member-area-header { margin-bottom: 18px; }
    .azx-member-detail-grid { border-color: #999; }
    .azx-member-detail-field { border-color: #ccc !important; }
}
