@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;600;700&family=Noto+Sans+KR:wght@300;400;500;700&display=swap");
@import url("https://fonts.googleapis.com/icon?family=Material+Icons+Round");

.hc-auction {
    box-sizing: border-box;
}

.hc-auction * {
    box-sizing: border-box;
}

/* Public forms (register / lookup / cs) */
.hc-auction.hc-register,
.hc-auction.hc-lookup,
.hc-auction.hc-cs {
    --hc-vintage-dark: #1a1512;
    --hc-vintage-overlay: rgba(20, 15, 10, 0.85);
    --hc-vintage-gold: #d4b068;
    --hc-vintage-gold-hover: #e6c885;
    --hc-vintage-text: #e8e1d5;
    --hc-vintage-input-bg: rgba(255, 255, 255, 0.07);
    --hc-vintage-input-border: rgba(212, 176, 104, 0.3);
    --hc-vintage-secondary: #4a3e35;
    font-family: "Noto Sans KR", sans-serif;
    color: var(--hc-vintage-text);
    min-height: 100svh;
    height: 100svh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: clamp(10px, 2.5vh, 24px) 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--hc-vintage-dark);
}

.hc-auction.hc-register::before,
.hc-auction.hc-lookup::before,
.hc-auction.hc-cs::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuA7r0whCubFeT6hrLaLq1WDV0HxRtOHOUkwRSwxspR1hHwYDG_BM97Rs9OAEcivcF9V1kBq7GBO1VZqiAWXC04MPwpbtVJtqKJitD5mazgpShjWzaGhRY1xulxnK4aTht0Qf_9U3Gwd0PODsUbghEkNuV2SU7GiPauz-OHdcLYRV4RP7FZaJs7pIKNntpZvFmWEyBk6ZHhUnk8hWQc5Xln9utVGODlmRyZ8QHvLc-tY_qM5dRcH0RDueLd9nQ4GDU4FAWJnmvN4Pfqg");
    background-size: cover;
    background-position: center;
    filter: grayscale(30%) sepia(40%) blur(2px);
    opacity: 0.45;
}

.hc-auction.hc-register::after,
.hc-auction.hc-lookup::after,
.hc-auction.hc-cs::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(26, 18, 11, 0.9), rgba(44, 34, 26, 0.8), rgba(26, 18, 11, 0.9));
}

.hc-auction.hc-register > *,
.hc-auction.hc-lookup > *,
.hc-auction.hc-cs > * {
    position: relative;
    z-index: 2;
}

.hc-auction.hc-register .hc-card,
.hc-auction.hc-lookup .hc-card,
.hc-auction.hc-cs .hc-card {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: clamp(18px, 2.6vh, 28px) clamp(16px, 2.8vw, 24px);
    background: rgba(26, 21, 18, 0.8);
    border-radius: 18px;
    border: 1px solid rgba(212, 176, 104, 0.2);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
    max-height: none;
    transform-origin: top center;
}

.hc-auction.hc-register .hc-card-title,
.hc-auction.hc-lookup .hc-card-title,
.hc-auction.hc-cs .hc-card-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    margin-bottom: 16px;
}

.hc-auction.hc-register .hc-card-icon,
.hc-auction.hc-lookup .hc-card-icon,
.hc-auction.hc-cs .hc-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(212, 176, 104, 0.4);
    background: radial-gradient(circle at top, rgba(212, 176, 104, 0.2), transparent 60%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(212, 176, 104, 0.2);
}

.hc-auction.hc-register .hc-card-icon::before,
.hc-auction.hc-lookup .hc-card-icon::before,
.hc-auction.hc-cs .hc-card-icon::before {
    content: "person_add";
    font-family: "Material Icons Round";
    font-size: 30px;
    color: var(--hc-vintage-gold);
}

.hc-auction.hc-register .hc-card-title h3,
.hc-auction.hc-lookup .hc-card-title h3,
.hc-auction.hc-cs .hc-card-title h3 {
    margin: 0;
    line-height: 1.2;
    font-family: "Noto Serif KR", serif;
    font-size: clamp(22px, 3.4vw, 32px);
    font-weight: 700;
    color: var(--hc-vintage-gold);
}

.hc-auction.hc-register .hc-form,
.hc-auction.hc-lookup .hc-form,
.hc-auction.hc-cs .hc-form {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2.6vh, 18px);
}

.hc-auction.hc-register .hc-form--stacked input,
.hc-auction.hc-register .hc-form--stacked textarea,
.hc-auction.hc-register .hc-form--stacked select,
.hc-auction.hc-lookup .hc-form--stacked input,
.hc-auction.hc-lookup .hc-form--stacked textarea,
.hc-auction.hc-lookup .hc-form--stacked select,
.hc-auction.hc-cs .hc-form--stacked input,
.hc-auction.hc-cs .hc-form--stacked textarea,
.hc-auction.hc-cs .hc-form--stacked select {
    width: 100%;
}

.hc-auction.hc-register label,
.hc-auction.hc-lookup label,
.hc-auction.hc-cs label {
    font-family: "Noto Serif KR", serif;
    font-size: clamp(13px, 2.4vw, 16px);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(212, 176, 104, 0.8);
}

.hc-auction.hc-register input,
.hc-auction.hc-register textarea,
.hc-auction.hc-register select,
.hc-auction.hc-lookup input,
.hc-auction.hc-lookup textarea,
.hc-auction.hc-lookup select,
.hc-auction.hc-cs input,
.hc-auction.hc-cs textarea,
.hc-auction.hc-cs select {
    padding: clamp(12px, 2.4vh, 16px) clamp(14px, 2.2vw, 18px);
    border-radius: 10px;
    border: 1px solid var(--hc-vintage-input-border);
    background: var(--hc-vintage-input-bg);
    color: var(--hc-vintage-text);
    font-size: clamp(15px, 2.4vw, 18px);
    font-family: "Noto Sans KR", sans-serif;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hc-auction.hc-register input::placeholder,
.hc-auction.hc-register textarea::placeholder,
.hc-auction.hc-lookup input::placeholder,
.hc-auction.hc-lookup textarea::placeholder,
.hc-auction.hc-cs input::placeholder,
.hc-auction.hc-cs textarea::placeholder {
    color: rgba(232, 225, 213, 0.3);
}

.hc-auction.hc-register input:focus,
.hc-auction.hc-register textarea:focus,
.hc-auction.hc-lookup input:focus,
.hc-auction.hc-lookup textarea:focus,
.hc-auction.hc-cs input:focus,
.hc-auction.hc-cs textarea:focus {
    outline: none;
    border-color: var(--hc-vintage-gold);
    box-shadow: 0 0 0 1px var(--hc-vintage-gold);
}

.hc-auction.hc-register input[readonly] {
    cursor: not-allowed;
}

.hc-auction.hc-register .hc-inline,
.hc-auction.hc-lookup .hc-inline,
.hc-auction.hc-cs .hc-inline {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hc-auction.hc-register .hc-inline-group,
.hc-auction.hc-lookup .hc-inline-group,
.hc-auction.hc-cs .hc-inline-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.hc-auction.hc-register .hc-address-row input,
.hc-auction.hc-lookup .hc-address-row input,
.hc-auction.hc-cs .hc-address-row input {
    flex: 1 1 220px;
}

.hc-auction.hc-register .hc-address-row button,
.hc-auction.hc-lookup .hc-address-row button,
.hc-auction.hc-cs .hc-address-row button {
    background: rgba(74, 62, 53, 0.6);
    color: var(--hc-vintage-gold);
    border: 1px solid rgba(212, 176, 104, 0.3);
    font-size: clamp(14px, 2vw, 16px);
    border-radius: 10px;
    padding: clamp(10px, 2vh, 14px) clamp(16px, 2.4vw, 20px);
    font-family: "Noto Serif KR", serif;
    font-weight: 600;
}

.hc-auction.hc-register .hc-address-row button:hover,
.hc-auction.hc-lookup .hc-address-row button:hover,
.hc-auction.hc-cs .hc-address-row button:hover {
    background: rgba(74, 62, 53, 0.9);
    color: #fff;
}

.hc-auction.hc-register .hc-consent,
.hc-auction.hc-lookup .hc-consent,
.hc-auction.hc-cs .hc-consent {
    padding: 16px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(212, 176, 104, 0.1);
    align-items: flex-start;
    gap: 12px;
}

.hc-auction.hc-register .hc-policy-actions {
    margin-top: -6px;
    display: flex;
    justify-content: flex-start;
}

.hc-auction.hc-register .hc-policy-open {
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 10px;
}

.hc-auction.hc-register .hc-register-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
}

.hc-auction.hc-register .hc-register-modal.is-open {
    display: flex;
}

.hc-auction.hc-register .hc-register-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, 0.6);
}

.hc-auction.hc-register .hc-register-modal-content {
    position: relative;
    width: min(88vw, 420px);
    text-align: center;
    padding: 26px 24px;
    border-radius: 16px;
    background: rgba(26, 21, 18, 0.98);
    border: 1px solid rgba(212, 176, 104, 0.35);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    color: var(--hc-vintage-text);
}

.hc-auction.hc-register .hc-register-modal-content h4 {
    margin: 0 0 8px;
    font-family: "Noto Serif KR", serif;
    font-size: 20px;
    color: var(--hc-vintage-gold);
}

.hc-auction.hc-register .hc-register-modal-content p {
    margin: 0;
    font-size: 14px;
}

.hc-policy-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
}

.hc-policy-modal.is-open {
    display: flex;
}

.hc-policy-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 8, 8, 0.7);
}

.hc-policy-content {
    position: relative;
    width: min(92vw, 720px);
    max-height: min(86vh, 720px);
    overflow: hidden;
    background: rgba(26, 21, 18, 0.98);
    border: 1px solid rgba(212, 176, 104, 0.35);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    color: var(--hc-vintage-text);
    display: flex;
    flex-direction: column;
}

.hc-policy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(212, 176, 104, 0.2);
}

.hc-policy-header h4 {
    margin: 0;
    font-family: "Noto Serif KR", serif;
    font-size: 18px;
    color: var(--hc-vintage-gold);
}

.hc-policy-close {
    background: transparent;
    color: var(--hc-vintage-gold);
    border: 1px solid rgba(212, 176, 104, 0.4);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}

.hc-policy-body {
    padding: 16px 18px 20px;
    font-size: 14px;
    line-height: 1.6;
    overflow: auto;
}

body.hc-modal-open {
    overflow: hidden;
}

.hc-auction .hc-consent input[type="checkbox"] {
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin: 0;
    padding: 0;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    border: 1.5px solid rgba(212, 176, 104, 0.5);
    border-radius: 6px;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hc-auction .hc-consent input[type="checkbox"]:checked {
    border-color: var(--hc-vintage-gold);
}

.hc-auction .hc-consent input[type="checkbox"]:checked::after {
    transform: rotate(45deg) scale(1);
}

.hc-auction .hc-consent input[type="checkbox"]:focus-visible {
    outline: 2px solid rgba(212, 176, 104, 0.6);
    outline-offset: 2px;
}

.hc-auction .hc-consent span {
    font-size: 13px;
    color: rgba(232, 225, 213, 0.7);
}

.hc-auction.hc-register .hc-form-actions,
.hc-auction.hc-lookup .hc-form-actions,
.hc-auction.hc-cs .hc-form-actions {
    position: static;
    display: grid;
    gap: 12px;
    padding-top: 24px;
    background: transparent;
    border-top: 1px solid rgba(212, 176, 104, 0.2);
    z-index: 5;
}

.hc-auction.hc-register .hc-form-actions button,
.hc-auction.hc-lookup .hc-form-actions button,
.hc-auction.hc-cs .hc-form-actions button {
    width: 100%;
}

.hc-auction.hc-register button,
.hc-auction.hc-lookup button,
.hc-auction.hc-cs button {
    font-family: "Noto Serif KR", serif;
    font-size: 20px;
    font-weight: 600;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hc-auction.hc-register button[type="submit"],
.hc-auction.hc-lookup button[type="submit"],
.hc-auction.hc-cs button[type="submit"] {
    background: var(--hc-vintage-gold);
    color: #1a120b;
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.25);
}

.hc-auction.hc-register button[type="submit"]:hover,
.hc-auction.hc-lookup button[type="submit"]:hover,
.hc-auction.hc-cs button[type="submit"]:hover {
    background: var(--hc-vintage-gold-hover);
    transform: translateY(-2px);
}

.hc-auction.hc-register .hc-button-secondary,
.hc-auction.hc-lookup .hc-button-secondary,
.hc-auction.hc-cs .hc-button-secondary {
    background: transparent;
    color: rgba(212, 176, 104, 0.8);
    border: 1px solid rgba(212, 176, 104, 0.3);
    font-size: 18px;
}

.hc-auction.hc-register .hc-button-secondary:hover,
.hc-auction.hc-lookup .hc-button-secondary:hover,
.hc-auction.hc-cs .hc-button-secondary:hover {
    background: rgba(212, 176, 104, 0.1);
    color: var(--hc-vintage-gold);
}

.hc-auction.hc-register .hc-form--stacked {
    padding-bottom: 0;
}

.hc-auction.hc-register .hc-message,
.hc-auction.hc-lookup .hc-message,
.hc-auction.hc-cs .hc-message {
    margin: 0;
    font-size: 13px;
    color: rgba(212, 176, 104, 0.8);
}

.hc-auction.hc-lookup .hc-results {
    display: none;
    margin-top: 18px;
    width: 100%;
    gap: 12px;
}

.hc-auction.hc-lookup .hc-results.active {
    display: grid;
}

.hc-auction.hc-lookup .hc-lookup-fields {
    display: grid;
    gap: 12px;
}

.hc-auction.hc-lookup[data-hc-lookup-state="results"] .hc-lookup-fields {
    display: none;
}

.hc-auction.hc-lookup[data-hc-lookup-state="results"] .hc-form-actions [data-hc-submit] {
    display: none;
}

.hc-auction.hc-lookup[data-hc-lookup-state="results"] {
    align-items: flex-start;
}

.hc-auction.hc-lookup .hc-order-date {
    font-size: 12px;
    color: rgba(232, 225, 213, 0.7);
}

.hc-auction-toast {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: rgba(26, 18, 11, 0.92);
    color: #e8e1d5;
    border: 1px solid rgba(212, 176, 104, 0.4);
    padding: 12px 20px;
    border-radius: 12px;
    font-family: "Noto Sans KR", sans-serif;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 9999;
}

.hc-auction-toast.show {
    opacity: 1;
}

.hc-auction.hc-lookup .hc-order-card {
    border: 1px solid rgba(212, 176, 104, 0.2);
    background: rgba(0, 0, 0, 0.35);
    padding: 12px 16px;
    margin-top: 12px;
    border-radius: 10px;
    color: var(--hc-vintage-text);
}

.hc-auction.hc-lookup .hc-order-card ul {
    margin: 6px 0 0 18px;
    padding: 0;
}

@media (max-width: 600px) {
    .hc-auction.hc-register,
    .hc-auction.hc-lookup,
    .hc-auction.hc-cs {
        padding: 14px 10px 18px;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .hc-auction.hc-register .hc-card-title h3,
    .hc-auction.hc-lookup .hc-card-title h3,
    .hc-auction.hc-cs .hc-card-title h3 {
        font-size: 22px;
    }

    .hc-auction.hc-register input,
    .hc-auction.hc-lookup input,
    .hc-auction.hc-cs input,
    .hc-auction.hc-register textarea,
    .hc-auction.hc-lookup textarea,
    .hc-auction.hc-cs textarea {
        font-size: 15px;
        padding: 10px 12px;
    }

    .hc-auction.hc-register .hc-address-row input,
    .hc-auction.hc-lookup .hc-address-row input,
    .hc-auction.hc-cs .hc-address-row input {
        padding: 4px 10px;
        font-size: 14px;
        line-height: 1.2;
        min-height: 0;
        height: 36px !important;
        flex: 0 0 auto !important;
        flex-basis: auto !important;
        width: 100%;
    }

    .hc-auction.hc-register .hc-address-row button,
    .hc-auction.hc-lookup .hc-address-row button,
    .hc-auction.hc-cs .hc-address-row button {
        padding: 0 14px;
        height: 36px;
        font-size: 14px;
    }

    .hc-auction.hc-register .hc-inline-group,
    .hc-auction.hc-lookup .hc-inline-group,
    .hc-auction.hc-cs .hc-inline-group {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-height: 720px) {
    .hc-auction.hc-register .hc-card,
    .hc-auction.hc-lookup .hc-card,
    .hc-auction.hc-cs .hc-card {
        padding: 16px 16px;
    }

    .hc-auction.hc-register .hc-card-icon,
    .hc-auction.hc-lookup .hc-card-icon,
    .hc-auction.hc-cs .hc-card-icon {
        width: 44px;
        height: 44px;
    }

    .hc-auction.hc-register .hc-card-icon::before,
    .hc-auction.hc-lookup .hc-card-icon::before,
    .hc-auction.hc-cs .hc-card-icon::before {
        font-size: 22px;
    }

    .hc-auction.hc-register .hc-form,
    .hc-auction.hc-lookup .hc-form,
    .hc-auction.hc-cs .hc-form {
        gap: 10px;
    }

    .hc-auction.hc-register input,
    .hc-auction.hc-lookup input,
    .hc-auction.hc-cs input {
        padding: 9px 12px;
        font-size: 14px;
    }
}

/* Admin dashboard styles */
.hc-auction.hc-admin {
    font-family: Arial, sans-serif;
    line-height: 1.4;
    color: #222;
}

.hc-auction.hc-admin .hc-session-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hc-auction.hc-admin .hc-session-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.hc-auction.hc-admin .hc-session-controls input[type="date"] {
    min-height: 38px;
}

.hc-auction.hc-admin [data-hc-session-select] {
    min-height: 38px;
    line-height: 1.4;
    width: 200px;
    max-width: 100%;
}

.hc-auction.hc-admin [data-hc-customer-list],
.hc-auction.hc-admin [data-hc-customer-admin-list] {
    min-height: 160px;
    margin-top: 8px;
    overflow-y: auto;
}

.hc-auction.hc-admin [data-hc-item-select] {
    margin-bottom: 8px;
    min-height: 42px;
    line-height: 1.4;
    padding: 10px 12px;
}

.hc-auction.hc-admin .hc-item-controls {
    margin-bottom: 12px;
}

.hc-auction.hc-admin .hc-order-items {
    margin-top: 8px;
    display: grid;
    gap: 8px;
}

.hc-auction.hc-admin .hc-order-items .hc-list-item {
    align-items: center;
}

.hc-auction.hc-admin .hc-order-item-entry {
    display: grid;
    gap: 6px;
    margin-bottom: 8px;
}

.hc-auction.hc-admin .hc-order-item-header,
.hc-auction.hc-admin .hc-order-items-header {
    display: grid;
    grid-template-columns: 2fr 1fr 0.7fr 1fr 0.7fr;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.hc-auction.hc-admin .hc-order-item-header {
    margin-bottom: 6px;
}

.hc-auction.hc-admin .hc-order-items-header {
    margin-top: 10px;
    padding: 6px 4px;
    background: #f6f7f8;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.hc-auction.hc-admin .hc-order-item-header span:last-child,
.hc-auction.hc-admin .hc-order-items-header span:last-child {
    text-align: center;
}

.hc-auction.hc-admin .hc-order-item-fields,
.hc-auction.hc-admin .hc-order-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 0.7fr 1fr 0.7fr;
    gap: 8px;
    align-items: center;
}

.hc-auction.hc-admin .hc-order-item-fields input,
.hc-auction.hc-admin .hc-order-item-fields button,
.hc-auction.hc-admin .hc-order-item-row input {
    width: 100%;
    min-width: 0;
}

.hc-auction.hc-admin .hc-order-item-row button,
.hc-auction.hc-admin .hc-order-item-fields button {
    width: 100%;
    min-width: 64px;
}

.hc-auction.hc-admin .hc-totals {
    text-align: right;
    justify-items: end;
}

.hc-auction.hc-admin .hc-actions {
    justify-content: flex-end;
}

.hc-auction.hc-admin .hc-admin-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 10000;
}

.hc-auction.hc-admin .hc-admin-modal.is-open {
    display: flex;
}

.hc-auction.hc-admin .hc-admin-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hc-auction.hc-admin .hc-admin-modal-card {
    position: relative;
    width: min(92vw, 420px);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hc-auction.hc-admin .hc-admin-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.hc-auction.hc-admin .hc-admin-modal-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hc-auction.hc-admin .hc-admin-modal-card.hc-admin-modal-wide {
    width: min(92vw, 760px);
    max-height: 86vh;
    overflow: auto;
}

.hc-auction.hc-admin.hc-admin-locked {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.hc-auction.hc-admin.hc-admin-locked .hc-admin-card {
    width: 100%;
    max-width: 360px;
    text-align: center;
    padding: 24px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.hc-auction.hc-admin.hc-admin-locked .hc-admin-actions {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.hc-auction.hc-admin.hc-admin-locked .hc-admin-secondary {
    background: #f2f2f2;
    color: #333;
    border: 1px solid #ccc;
}

.hc-auction.hc-admin.hc-admin-locked .hc-admin-secondary:hover {
    background: #e6e6e6;
}

.hc-auction.hc-admin h3,
.hc-auction.hc-admin h4 {
    margin: 0 0 10px;
}

.hc-auction.hc-admin .hc-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hc-auction.hc-admin label {
    font-size: 13px;
    font-weight: 600;
}

.hc-auction.hc-admin input,
.hc-auction.hc-admin textarea,
.hc-auction.hc-admin select,
.hc-auction.hc-admin button {
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.hc-auction.hc-admin input[type="checkbox"] {
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
}

.hc-auction.hc-admin button {
    background: #1f4b7a;
    color: #fff;
    border: none;
    cursor: pointer;
}

.hc-auction.hc-admin button:hover {
    background: #163857;
}

.hc-auction.hc-admin .hc-admin-secondary {
    background: #f2f2f2;
    color: #333;
    border: 1px solid #ccc;
}

.hc-auction.hc-admin .hc-admin-secondary:hover {
    background: #e6e6e6;
}

.hc-auction.hc-admin .hc-inline {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hc-auction.hc-admin .hc-inline-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.hc-auction.hc-admin .hc-item-panel {
    align-items: start;
}

.hc-auction.hc-admin .hc-item-list-header {
    display: grid;
    grid-template-columns: 60px 1fr 90px 90px 140px;
    gap: 8px;
    align-items: center;
    padding: 6px 4px;
    font-size: 13px;
    font-weight: 600;
    background: #f6f7f8;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 6px;
}

.hc-auction.hc-admin .hc-item-list .hc-list-item {
    display: grid;
    grid-template-columns: 60px 1fr 90px 90px 140px;
    gap: 8px;
    align-items: center;
}

.hc-auction.hc-admin .hc-item-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.hc-auction.hc-admin .hc-address-row {
    flex-wrap: nowrap;
}

.hc-auction.hc-admin .hc-address-row input {
    flex: 1 1 auto;
}

.hc-auction.hc-admin .hc-message {
    margin-top: 8px;
    font-size: 13px;
    color: #0f5132;
}

.hc-auction.hc-admin .hc-message.error {
    color: #842029;
}

.hc-auction.hc-admin .hc-tabs {
    display: flex;
    gap: 8px;
    margin: 12px 0;
}

.hc-auction.hc-admin .hc-tabs button {
    background: #eee;
    color: #333;
}

.hc-auction.hc-admin .hc-tabs button.active {
    background: #1f4b7a;
    color: #fff;
}

.hc-auction.hc-admin .hc-tab-panel {
    display: none;
}

.hc-auction.hc-admin .hc-tab-panel.active {
    display: block;
}

.hc-auction.hc-admin .hc-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.hc-auction.hc-admin .hc-list {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px;
    max-height: 240px;
    overflow-y: auto;
}

.hc-auction.hc-admin .hc-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 4px;
    border-bottom: 1px solid #eee;
    gap: 10px;
}

.hc-auction.hc-admin .hc-list-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hc-auction.hc-admin .hc-admin-danger {
    background: #b3261e;
    color: #fff;
    border: none;
}

.hc-auction.hc-admin .hc-admin-danger:hover {
    background: #8f1f18;
}

.hc-auction.hc-admin .hc-list-item:last-child {
    border-bottom: none;
}

.hc-auction.hc-admin .hc-order-items {
    border: 1px dashed #ccc;
    padding: 8px;
    border-radius: 4px;
    min-height: 60px;
}

.hc-auction.hc-admin .hc-order-card {
    border: 1px solid #ddd;
    padding: 8px;
    margin-top: 8px;
}

.hc-auction.hc-admin .hc-order-card ul {
    margin: 6px 0 0 16px;
    padding: 0;
}

.hc-auction.hc-admin .hc-totals {
    margin-top: 12px;
    display: grid;
    gap: 6px;
}

.hc-auction.hc-admin .hc-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.hc-auction.hc-admin .hc-report table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.hc-auction.hc-admin .hc-report-total {
    text-align: right;
}

.hc-auction.hc-admin .hc-report th,
.hc-auction.hc-admin .hc-report td {
    border: 1px solid #ddd;
    padding: 6px;
    text-align: left;
    font-size: 13px;
    vertical-align: middle;
}

.hc-auction.hc-admin .hc-inquiry-content {
    white-space: pre-wrap;
    word-break: break-word;
}

.hc-auction.hc-admin .hc-report-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.hc-auction.hc-admin .hc-report thead th {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
}

.hc-auction.hc-admin .hc-report .hc-report-center {
    text-align: center;
}

.hc-auction.hc-admin .hc-report .hc-report-right {
    text-align: right;
}

.hc-auction.hc-admin .hc-report .hc-report-actions {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.hc-auction.hc-admin .hc-report .hc-report-actions button {
    padding: 6px 8px;
    font-size: 12px;
}

.hc-auction.hc-admin .hc-report-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.hc-auction.hc-admin .hc-report-pagination span {
    font-size: 13px;
    color: #555;
}

.hc-auction.hc-admin .hc-report-pagination button[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.hc-auction.hc-admin .hc-inquiry-status-btn {
    min-width: 64px;
}

.hc-auction.hc-admin .hc-inquiry-preview {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal;
}

.hc-auction.hc-admin .hc-inquiry-detail {
    display: none;
}

.hc-auction.hc-admin .hc-inquiry-detail.is-open {
    display: table-row;
}

.hc-auction.hc-admin .hc-inquiry-detail td {
    background: #fafafa;
}

.hc-auction.hc-admin .hc-report .hc-report-check-cell {
    width: 36px;
    padding: 0;
    text-align: center;
    line-height: 1;
    position: relative;
}

.hc-auction.hc-admin .hc-report .hc-report-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hc-auction.hc-admin .hc-report .hc-report-check input[type="checkbox"] {
    margin: 0;
    display: inline-block;
}

.hc-auction.hc-admin .hc-report input[type="checkbox"] {
    width: 16px;
    height: 16px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    vertical-align: middle;
}

@media (max-width: 600px) {
    .hc-auction.hc-admin .hc-tabs {
        flex-wrap: wrap;
    }

    .hc-auction.hc-admin .hc-order-item-header,
    .hc-auction.hc-admin .hc-order-items-header,
    .hc-auction.hc-admin .hc-order-item-fields,
    .hc-auction.hc-admin .hc-order-item-row {
        grid-template-columns: 1fr 1fr;
    }

    .hc-auction.hc-admin .hc-order-item-header span:last-child,
    .hc-auction.hc-admin .hc-order-items-header span:last-child {
        display: none;
    }

    .hc-auction.hc-admin .hc-order-item-fields button,
    .hc-auction.hc-admin .hc-order-item-row button {
        grid-column: 1 / -1;
    }

    .hc-auction.hc-admin .hc-inline-group {
        flex-direction: column;
        align-items: stretch;
    }

    .hc-auction.hc-admin .hc-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
