.qwest-sign-app {
	max-width: 960px;
	margin: 0 auto;
	font-family: inherit;
}

.qwest-sign-pdf-wrap {
	border: 1px solid #ddd;
	border-radius: 6px;
	overflow: auto;
	background: #f7f7f7;
	max-height: 70vh;
}

.qwest-sign-canvas {
	display: block;
	margin: 0 auto;
	width: 100%;
	height: auto;
}

.qwest-sign-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-top: 16px;
}

.qwest-sign-btn {
	display: inline-block;
	padding: 12px 22px;
	border: none;
	border-radius: 6px;
	font-weight: 700;
	color: #fff;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
}

.qwest-sign-btn--cancel {
	background: #ea1c18;
}

.qwest-sign-btn--sign {
	background: #7eb73d;
}

.qwest-sign-btn--neutral {
	background: #333;
}

.qwest-sign-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.qwest-sign-error-msg {
	color: #b00020;
}

.qwest-sign-input {
	width: 100%;
	max-width: 420px;
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
}

.qwest-sign-input--ro {
	background: #f0f0f0;
	color: #444;
}

.qwest-sign-checkbox {
	font-weight: 600;
}

.qwest-sign-chorus-warn {
	background: #fff8e6;
	border: 1px solid #f0d060;
	padding: 10px 12px;
	border-radius: 6px;
}

.qwest-sign-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.qwest-sign-modal[hidden] {
	display: none !important;
}

.qwest-sign-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.qwest-sign-modal__panel {
	position: relative;
	z-index: 1;
	background: #fff;
	padding: 20px 24px 16px;
	border-radius: 8px;
	max-width: 520px;
	width: calc(100% - 32px);
	max-height: calc(100vh - 32px);
	overflow: auto;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.qwest-sign-modal__close {
	position: absolute;
	right: 10px;
	top: 6px;
	border: none;
	background: transparent;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.qwest-sign-modal-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	flex-wrap: wrap;
}
