.refund-request {
    padding: 1rem 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--rave-text-primary);
    font-family: Arial, Helvetica, sans-serif;
    overflow-wrap: anywhere;
    min-width: 0;
}

.refund-request__head {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.refund-request__title {
    min-width: 0;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--rave-text-primary);
}

.refund-request__order {
    margin-left: 0.3rem;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
}

.refund-request__status {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.6rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--rave-text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    white-space: nowrap;
}

.refund-request--pending .refund-request__status {
    border-color: rgba(0, 255, 255, 0.4);
    background: rgba(0, 255, 255, 0.1);
    color: var(--rave-secondary);
}

.refund-request--approved .refund-request__status {
    border-color: rgba(0, 255, 136, 0.4);
    background: rgba(0, 255, 136, 0.1);
    color: var(--rave-success);
}

.refund-request--declined .refund-request__status {
    border-color: rgba(255, 82, 82, 0.45);
    background: rgba(255, 82, 82, 0.12);
    color: var(--rave-danger);
}

.refund-request__event {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.5);
}

.refund-request__text {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--rave-text-muted);
}

.refund-request__date {
    white-space: nowrap;
}

.refund-request .refund-decline-reason {
    white-space: pre-wrap;
    color: var(--rave-text-primary);
}

.refund-request__action {
    margin: 0.4rem 0 0;
}

.refund-request__link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    margin: -0.6rem 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--rave-secondary);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
    list-style: none;
}

.refund-request__link::-webkit-details-marker {
    display: none;
}

.refund-request__link:hover {
    color: var(--rave-primary);
}

.refund-request__form {
    margin-top: 0.4rem;
}

.refund-request__form[open] > .refund-request__link {
    color: var(--rave-text-muted);
}

.refund-request__panel {
    margin-top: 0.75rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.refund-request__panel p {
    margin: 0 0 0.75rem;
    font-size: 0.85rem;
    line-height: 1.45;
    color: var(--rave-text-muted);
}

.refund-request__panel p strong {
    color: var(--rave-text-primary);
}

.refund-request__panel label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--rave-text-primary);
}

.refund-request__panel .refund-request__hint {
    margin: -0.15rem 0 0.4rem;
    font-size: 0.8rem;
}

.refund-request__panel select,
.refund-request__panel textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0.5rem 0.65rem;
    margin-bottom: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    background: var(--rave-dark);
    color: var(--rave-text-primary);
    font: inherit;
    font-size: 0.9rem;
    line-height: 1.45;
}

.refund-request__panel textarea {
    resize: vertical;
}

.refund-request__submit {
    min-height: 44px;
    padding: 0 1.25rem;
    border: 1px solid var(--rave-secondary);
    border-radius: 22px;
    background: transparent;
    color: var(--rave-secondary);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.refund-request__submit:hover {
    border-color: var(--rave-primary);
    color: var(--rave-primary);
}

.refund-request :focus-visible {
    outline: 2px solid var(--rave-secondary);
    outline-offset: 3px;
}

.refund-request-updates {
    margin-top: 1.5rem;
    padding: 0.25rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
}

.refund-request-updates .refund-request:first-child {
    border-top: 0;
}

.ticket-refund-policy {
    margin: 0.5rem 0 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    overflow-wrap: anywhere;
}

.ticket-refund-policy a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: underline;
}

.ticket-refund-policy a:hover {
    color: var(--rave-primary);
}
