.wsds-ticket-system {
    --wsds-border: #d9dee8;
    --wsds-ink: #172033;
    --wsds-muted: #617087;
    --wsds-soft: #f6f8fb;
    --wsds-accent: #0f766e;
    color: var(--wsds-ink);
    font: inherit;
}

.wsds-ticket-system *,
.wsds-ticket-system *::before,
.wsds-ticket-system *::after {
    box-sizing: border-box;
}

.wsds-ticket-system label {
    display: grid;
    gap: 6px;
    margin: 0 0 16px;
    font-weight: 600;
}

.wsds-ticket-system input,
.wsds-ticket-system select,
.wsds-ticket-system textarea {
    width: 100%;
    border: 1px solid var(--wsds-border);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--wsds-ink);
    background: #fff;
    font: inherit;
}

.wsds-ticket-system textarea {
    resize: vertical;
}

.wsds-ticket-system button,
.wsds-login input[type="submit"] {
    border: 0;
    border-radius: 6px;
    padding: 10px 16px;
    color: #fff;
    background: var(--wsds-accent);
    font-weight: 700;
    cursor: pointer;
}

.wsds-dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.wsds-dashboard-header h2,
.wsds-ticket-card h3,
.wsds-ticket-responses h4 {
    margin: 0;
}

.wsds-dashboard-header span,
.wsds-ticket-card header p,
.wsds-response time {
    color: var(--wsds-muted);
}

.wsds-ticket-card {
    border: 1px solid var(--wsds-border);
    border-radius: 8px;
    margin: 0 0 18px;
    padding: 18px;
    background: #fff;
}

.wsds-ticket-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--wsds-border);
    padding-bottom: 14px;
}

.wsds-ticket-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.wsds-ticket-badges span {
    border: 1px solid var(--wsds-border);
    border-radius: 999px;
    padding: 4px 10px;
    background: var(--wsds-soft);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.wsds-ticket-body,
.wsds-ticket-responses,
.wsds-response-form {
    margin-top: 16px;
}

.wsds-response {
    border-left: 3px solid var(--wsds-accent);
    margin-top: 12px;
    padding: 10px 12px;
    background: var(--wsds-soft);
}

.wsds-attachment a {
    font-weight: 700;
    color: var(--wsds-accent);
}

.wsds-response strong,
.wsds-response time {
    display: inline-block;
    margin-right: 8px;
}

.wsds-ticket-notice,
.wsds-empty {
    border: 1px solid var(--wsds-border);
    border-radius: 8px;
    margin: 0 0 16px;
    padding: 12px 14px;
    background: var(--wsds-soft);
}

.wsds-ticket-notice-success {
    border-color: #8fd1b6;
    background: #effaf5;
}

.wsds-ticket-notice-error {
    border-color: #f0a2a2;
    background: #fff2f2;
}

@media (max-width: 680px) {
    .wsds-dashboard-header,
    .wsds-ticket-card header {
        display: block;
    }

    .wsds-ticket-badges {
        justify-content: flex-start;
        margin-top: 10px;
    }
}
