/* -- shared URL/hosted-file controls for notification add/edit forms -- */

.notif-link-choice .item-inner {
	padding-bottom: 14px;
}

.notif-link-mode {
	position: relative;
	display: flex;
	width: 100%;
	margin-top: 8px;
	border-radius: 10px;
	overflow: hidden;
}

.notif-link-mode .button {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	height: 42px;
}

.notif-link-mode .button-active {
	background: var(--f7-theme-color);
}

.notif-link-file-picker {
	display: flex;
	align-items: center;
	gap: 12px;
	padding-top: 5px;
	padding-bottom: 5px;
}

.notif-link-file-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	width: auto;
	min-width: 160px;
	padding: 0 16px;
	color: #111;
	overflow: hidden;
}

.notif-link-file-button input[type="file"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	cursor: pointer;
}

.notif-link-file-name {
	min-width: 0;
	font-size: 13px;
	color: #666;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 480px) {
	.notif-link-file-picker {
		align-items: stretch;
		flex-direction: column;
	}

	.notif-link-file-button {
		width: 100%;
	}
}

