/**
 * File: assets/css/dmsilm-eula-templates.css
 * Styles for EULA Template Picker UI and related elements
 *
 * @package    DMSILM
 * @since      1.2.3
 */

/* Template Options Container */
#dmsilm-template-options {
	margin: 10px 0 0;
	padding: 12px 16px;
	background: #f9f9f9;
	border: 1px solid #dcdcde;
	border-radius: 3px;
}

#dmsilm-template-options table.form-table {
	margin: 0;
}

#dmsilm-template-options table.form-table th {
	width: 160px;
	padding: 8px 10px 8px 0;
}

#dmsilm-template-options table.form-table td {
	padding: 8px 0;
}

/* Load Template button row */
.dmsilm-load-template-row {
	margin-top: 8px;
}

/* Inline warning notice injected by JS after load */
#dmsilm-ajax-warnings {
	margin: 10px 0 0;
}

#dmsilm-ajax-warnings ul {
	margin: 0.5em 0 0.5em 1.5em;
	list-style: disc;
}

/* Legal disclaimer banner on template-based EULA creation */
.dmsilm-eula-disclaimer {
	margin: 0 0 16px;
	padding: 12px 16px;
	background: #fff8e5;
	border-left: 4px solid #f0ad4e;
	border-radius: 2px;
}

.dmsilm-eula-disclaimer p {
	margin: 0;
}

/* Save as Template section on EULA edit form */
.dmsilm-save-as-template-wrap {
	margin: 12px 0 0;
}

.dmsilm-template-name-row {
	display: none;
	margin-top: 8px;
	align-items: center;
	gap: 8px;
}

.dmsilm-template-name-row.is-visible {
	display: flex;
}

.dmsilm-template-name-row input[type="text"] {
	flex: 1 1 auto;
	max-width: 400px;
}
