.hrr-wrap {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.hrr-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    padding: 44px 48px 40px;
}

.hrr-manual-card {
    margin-top: 28px;
}

.hrr-title {
    margin: 0 0 34px;
    text-align: center;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
    color: #000000;
}

.hrr-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hrr-field {
    position: relative;
}

.hrr-field input,
.hrr-field textarea,
.hrr-field select {
    width: 100%;
    border: 1px solid #8d8d8d;
    border-radius: 10px;
    min-height: 72px;
    padding: 22px 24px;
    font-size: 16px;
    line-height: 1.4;
    color: #111111;
    background: #ffffff;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.hrr-field textarea {
    min-height: 120px;
    resize: vertical;
}

.hrr-field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 58px;
}

.hrr-select-field::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 22px;
    width: 11px;
    height: 11px;
    border-right: 3px solid #707070;
    border-bottom: 3px solid #707070;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

.hrr-field input::placeholder,
.hrr-field textarea::placeholder,
.hrr-field select,
.hrr-field select option[value=""] {
    color: #b2b2b2;
}

.hrr-field input:focus,
.hrr-field textarea:focus,
.hrr-field select:focus {
    border-color: #000000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}

.hrr-submit,
.hrr-refund-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 82px;
    border: 0;
    border-radius: 8px;
    background: #000000;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, opacity 0.2s ease;
}

.hrr-submit:hover,
.hrr-refund-btn:hover {
    opacity: 0.92;
}

.hrr-submit:active,
.hrr-refund-btn:active {
    transform: translateY(1px);
}

.hrr-submit.is-loading,
.hrr-refund-btn.is-loading {
    opacity: 0.65;
    cursor: wait;
}

.hrr-contact-box {
    padding-top: 12px;
    text-align: center;
}

.hrr-contact-box h3 {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: #000000;
}

.hrr-contact-box p {
    margin: 0;
    font-size: 18px;
    color: #222222;
}

.hrr-contact-box a {
    color: #111111;
    text-decoration: none;
}

#hrr-response {
    margin-top: 28px;
}

.hrr-message {
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 18px;
    font-size: 15px;
}

.hrr-message-success {
    background: #edf9f0;
    color: #14532d;
    border: 1px solid #bbf7d0;
}

.hrr-message-error {
    background: #fff1f2;
    color: #9f1239;
    border: 1px solid #fecdd3;
}

.hrr-record-not-found {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.hrr-record-not-found a {
    color: #9f1239;
    font-weight: 700;
    text-decoration: underline;
}

.hrr-results-wrap {
    margin-top: 24px;
}

.hrr-results-header {
    margin-bottom: 18px;
}

.hrr-results-header h3 {
    margin: 0 0 6px;
    font-size: 24px;
    line-height: 1.3;
    color: #111111;
}

.hrr-results-header p {
    margin: 0;
    color: #555555;
}

.hrr-orders-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 18px;
}

.hrr-order-card {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    padding: 22px;
}

.hrr-order-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.hrr-order-top strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
    color: #111111;
}

.hrr-order-top span {
    color: #666666;
    font-size: 14px;
}

.hrr-status {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f3f4f6;
    color: #111827;
    font-size: 13px;
    font-weight: 600;
    text-transform: capitalize;
}

.hrr-order-meta p {
    margin: 0 0 8px;
    color: #333333;
    font-size: 14px;
}

.hrr-order-items {
    margin: 18px 0 18px;
}

.hrr-order-items h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: #111111;
}

.hrr-order-items ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hrr-order-items li {
    background: #f9fafb;
    border-radius: 8px;
    padding: 12px 14px;
}

.hrr-order-items li span,
.hrr-order-items li small {
    display: block;
}

.hrr-order-items li span {
    font-size: 14px;
    font-weight: 600;
    color: #111111;
    margin-bottom: 4px;
}

.hrr-order-items li small {
    color: #6b7280;
}

.hrr-refund-btn {
    min-height: 56px;
    font-size: 16px;
}

@media (max-width: 767px) {
    .hrr-wrap {
        padding: 24px 14px 40px;
    }

    .hrr-card {
        padding: 28px 18px 24px;
    }

    .hrr-title {
        font-size: 22px;
    }

    .hrr-field input,
    .hrr-field textarea,
    .hrr-field select {
        min-height: 62px;
        padding: 18px 18px;
    }

    .hrr-submit {
        min-height: 68px;
    }

    .hrr-order-top {
        flex-direction: column;
    }

    .hrr-select-field::after {
        right: 18px;
    }
}
