/* Form 16 — employee portal */

.adat-portal-content .adat-form16-card {
	margin-bottom: 0;
}

.adat-form16-card {
	padding: 0;
	overflow: hidden;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.adat-form16-card__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 24px 20px;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 48%, #eff6ff 100%);
	border-bottom: 1px solid #e2e8f0;
}

.adat-form16-card__intro {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-width: 0;
}

.adat-form16-card__icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(145deg, #1d4ed8 0%, #2563eb 100%);
	color: #fff;
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.adat-form16-card__icon svg {
	width: 22px;
	height: 22px;
}

.adat-form16-card__title {
	margin: 0 0 6px;
	padding: 0;
	border: none;
	font-size: 1.2rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0f172a;
	line-height: 1.25;
}

.adat-form16-card__subtitle {
	margin: 0;
	max-width: 52ch;
	font-size: 0.94rem;
	line-height: 1.55;
	color: #64748b;
}

.adat-form16-card__badge {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	background: #f5f3ff;
	border: 1px solid #ddd6fe;
	color: #5b21b6;
}

.adat-form16-card__body {
	padding: 18px 20px 22px;
	background: #fff;
}

.adat-form16-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 36px 24px;
	text-align: center;
	border: 1px dashed #cbd5e1;
	border-radius: 12px;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.adat-form16-empty__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: #f1f5f9;
	color: #64748b;
}

.adat-form16-empty__icon svg {
	width: 26px;
	height: 26px;
}

.adat-form16-empty__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 600;
	color: #334155;
}

.adat-form16-empty p {
	margin: 0;
	max-width: 40ch;
	font-size: 0.92rem;
	line-height: 1.55;
	color: #64748b;
}

.adat-form16-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.adat-form16-item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 16px 18px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.adat-form16-item:hover {
	border-color: #bfdbfe;
	box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
	transform: translateY(-1px);
}

.adat-form16-item__main {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	min-width: 0;
}

.adat-form16-item__file-icon {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #fef2f2;
	color: #dc2626;
	border: 1px solid #fecaca;
}

.adat-form16-item__file-icon svg {
	width: 20px;
	height: 20px;
}

.adat-form16-item__content {
	min-width: 0;
}

.adat-form16-item__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 6px;
}

.adat-form16-item__year {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1d4ed8;
}

.adat-form16-item__filename {
	margin: 0;
	font-size: 0.98rem;
	font-weight: 600;
	color: #0f172a;
	line-height: 1.35;
	word-break: break-word;
}

.adat-form16-item__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 14px;
	font-size: 0.84rem;
	color: #64748b;
}

.adat-form16-item__meta span {
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.adat-form16-item__meta svg {
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	opacity: 0.75;
}

.adat-form16-item__action {
	flex: 0 0 auto;
}

.adat-form16-download {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 40px;
	padding: 0 16px;
	border-radius: 10px;
	font-size: 0.9rem;
	font-weight: 600;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(145deg, #1d4ed8 0%, #2563eb 100%);
	border: 1px solid #1e40af;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	white-space: nowrap;
}

.adat-form16-download:hover,
.adat-form16-download:focus {
	color: #fff;
	background: linear-gradient(145deg, #1e40af 0%, #1d4ed8 100%);
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
	transform: translateY(-1px);
}

.adat-form16-download svg {
	width: 16px;
	height: 16px;
}

.adat-form16-item__unavailable {
	font-size: 0.86rem;
	color: #94a3b8;
}

@media (max-width: 720px) {
	.adat-form16-card__header {
		flex-direction: column;
		align-items: stretch;
	}

	.adat-form16-item {
		grid-template-columns: 1fr;
	}

	.adat-form16-item__action {
		width: 100%;
	}

	.adat-form16-download {
		width: 100%;
	}
}
