.ticket-public-page {
    background: linear-gradient(160deg, #eef4fb 0%, #f8f9fc 45%, #f3f6fa 100%);
    min-height: 100vh;
}

.ticket-public-hero {
    position: relative;
    overflow: hidden;
    background: transparent;
    padding: 1.75rem 0 0.5rem;
}

.ticket-public-hero-plain .ticket-public-hero-title {
    color: #1a3a5c;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.ticket-public-hero-plain .ticket-public-hero-sub {
    color: #6c757d;
    font-size: 0.9rem;
    margin: 0.35rem 0 0;
}

.ticket-public-wrap {
    max-width: 820px;
    margin: 1rem auto 2.5rem;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

.ticket-public-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(15, 45, 80, 0.08);
    overflow: hidden;
}

.ticket-public-card-header {
    padding: 1.25rem 1.5rem 0.75rem;
    border-bottom: 1px solid #eef1f5;
}

.ticket-public-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.ticket-public-tip {
    background: #f0f6ff;
    border: 1px solid #cfe2ff;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    color: #345;
    margin-bottom: 1.25rem;
}

.ticket-public-tip a {
    font-weight: 500;
}

.ticket-public-section {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6c757d;
    margin: 1.25rem 0 0.75rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid #eef1f5;
}

.ticket-public-section:first-child {
    margin-top: 0;
}

.ticket-public-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.35rem;
}

.ticket-public-label .req {
    color: #dc3545;
}

.ticket-public-input-group .input-group-text {
    background: #f8f9fb;
    border-color: #dee2e6;
    color: #6c757d;
}

.ticket-public-input-group .form-control,
.ticket-public-input-group .form-select {
    border-color: #dee2e6;
}

.ticket-public-input-group .form-control:focus,
.ticket-public-input-group .form-select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}

.ticket-priority-options {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ticket-priority-option {
    flex: 1;
    min-width: 120px;
}

.ticket-priority-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.ticket-priority-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #495057;
    background: #fff;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    margin: 0;
}

.ticket-priority-option input:checked + label {
    border-color: #0d6efd;
    background: #eef4ff;
    color: #0d6efd;
}

.ticket-priority-option input[value="紧急"]:checked + label {
    border-color: #dc3545;
    background: #fff5f5;
    color: #dc3545;
}

.ticket-public-file-hint {
    font-size: 0.8125rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.ticket-public-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    border-top: 1px solid #eef1f5;
}

.ticket-public-actions .btn-submit {
    min-width: 200px;
    padding: 0.7rem 1.5rem;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(13, 110, 253, 0.25);
}

.ticket-public-top-links {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ticket-public-top-links a {
    font-size: 0.875rem;
    text-decoration: none;
    color: #0d6efd;
    background: #fff;
    border: 1px solid #cfe2ff;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.ticket-public-top-links a:hover {
    background: #eef4ff;
}

@media (max-width: 576px) {
    .ticket-public-wrap {
        margin-top: 0.5rem;
    }

    .ticket-public-hero {
        padding-top: 1.25rem;
    }

    .ticket-public-card-body,
    .ticket-public-card-header {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

.ticket-public-wrap-wide {
    max-width: 960px;
}

.ticket-public-alert {
    border-radius: 10px;
    margin-top: 1rem;
}

.ticket-public-dl dt {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.ticket-public-dl dd {
    font-size: 0.9375rem;
}

.ticket-public-timeline {
    border-left: 2px solid #e9ecef;
    margin-left: 0.35rem;
    padding-left: 1rem;
}

.ticket-public-timeline-item {
    padding-bottom: 1rem;
    margin-bottom: 0.25rem;
}

.ticket-public-timeline-item:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.ticket-public-card-warning {
    border-color: #ffc107;
}

.ticket-public-card-warning > .ticket-public-card-header {
    background: #fffbf0;
    border-bottom-color: #ffe69c;
}
