/* Leave management — admin & portal */

.adat-hrms-leave-table .adat-hrms-leave-status,
.adat-portal-leave-status {
	display: inline-block;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
}

.adat-hrms-leave-status--pending_manager,
.adat-hrms-leave-status--pending_hr,
.adat-portal-leave-status--pending_manager,
.adat-portal-leave-status--pending_hr {
	background: #fef3c7;
	color: #92400e;
}

.adat-hrms-leave-status--approved,
.adat-portal-leave-status--approved {
	background: #dcfce7;
	color: #166534;
}

.adat-hrms-leave-status--rejected,
.adat-portal-leave-status--cancelled {
	background: #f3f4f6;
	color: #6b7280;
	border-color: #d1d5db;
}

.adat-portal-leave-status--rejected {
	background: #fee2e2;
	color: #991b1b;
}

/* —— Portal leave page —— */

.adat-portal-leave {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	width: 100%;
	max-width: none;
}

.adat-portal-leave-notice {
	margin-bottom: 0;
}

.adat-portal-leave-section-head {
	margin-bottom: 1rem;
}

.adat-portal-leave-section-head h2 {
	margin: 0 0 0.25rem;
	font-size: 1.125rem;
	font-weight: 600;
}

.adat-portal-leave-section-head .adat-portal-muted {
	margin: 0;
	font-size: 0.875rem;
}

.adat-portal-leave-balances-section {
	padding-bottom: 1.25rem;
}

.adat-portal-leave-balances {
	margin-bottom: 1rem;
}

.adat-portal-leave-policy-notes {
	margin: 0;
	padding: 0.85rem 1rem 0;
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.55;
	list-style: none;
	border-top: 1px solid #e2e8f0;
}

.adat-portal-leave-policy-notes li {
	position: relative;
	padding-left: 1rem;
}

.adat-portal-leave-policy-notes li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #94a3b8;
}

.adat-portal-leave-policy-notes li + li {
	margin-top: 0.25rem;
}

/* Apply form */

.adat-portal-leave-apply-section {
	border-color: #cbd5e1;
}

.adat-portal-leave-form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.adat-portal-leave-fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.adat-portal-leave-fieldset legend {
	padding: 0;
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
}

.adat-portal-leave-field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.adat-portal-leave-field--full {
	grid-column: 1 / -1;
}

.adat-portal-leave-field__label {
	font-size: 0.875rem;
	font-weight: 500;
	color: #334155;
}

.adat-portal-leave-field__hint {
	font-size: 0.8125rem;
	color: #64748b;
	line-height: 1.4;
}

.adat-portal-leave-field input[type="date"],
.adat-portal-leave-field textarea,
.adat-portal-leave-select {
	width: 100%;
	padding: 0.55rem 0.75rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.9375rem;
	background: #fff;
	color: #0f172a;
}

.adat-portal-leave-field textarea {
	min-height: 5rem;
	resize: vertical;
}

.adat-portal-leave-field input:focus,
.adat-portal-leave-field textarea:focus,
.adat-portal-leave-select:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.adat-portal-leave-dates {
	display: grid;
	grid-template-columns: repeat(2, 1fr) auto;
	gap: 0.75rem 1rem;
	align-items: end;
}

@media (max-width: 640px) {
	.adat-portal-leave-dates {
		grid-template-columns: 1fr;
	}
}

.adat-portal-leave-field--checkbox {
	flex-direction: row;
	align-items: center;
	gap: 0.5rem;
	padding-bottom: 0.35rem;
}

.adat-portal-leave-field--checkbox input {
	width: auto;
	margin: 0;
}

.adat-portal-leave-options {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

.adat-portal-leave-option {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 0.65rem 0.75rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: 0.875rem;
	color: #334155;
	cursor: pointer;
}

.adat-portal-leave-option input {
	margin: 0.15rem 0 0;
	flex-shrink: 0;
}

.adat-portal-leave-form-actions {
	display: flex;
	justify-content: flex-end;
	padding-top: 0.25rem;
	border-top: 1px solid #e2e8f0;
}

.adat-portal-leave-rh-wrap.is-hidden,
.adat-portal-leave-half-period.is-hidden,
.adat-portal-leave-options.is-hidden,
.adat-portal-leave-option.is-hidden {
	display: none;
}

/* Request history */

.adat-portal-leave-empty {
	margin: 0;
	padding: 1.5rem;
	text-align: center;
	color: #64748b;
	font-size: 0.9375rem;
	background: #f8fafc;
	border-radius: 8px;
}

.adat-portal-leave-request-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.adat-portal-leave-request-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1rem;
	padding: 0.85rem 1rem;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
}

.adat-portal-leave-request-item__main {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.adat-portal-leave-request-item__type {
	font-size: 0.9375rem;
	color: #0f172a;
}

.adat-portal-leave-request-item__dates {
	font-size: 0.8125rem;
	color: #64748b;
}

.adat-portal-leave-request-item__meta {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	flex-shrink: 0;
}

.adat-portal-leave-request-item__days {
	font-size: 0.8125rem;
	font-weight: 600;
	color: #475569;
}

/* Legacy table (if used elsewhere) */

.adat-portal-leave-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.adat-portal-leave-table th,
.adat-portal-leave-table td {
	padding: 8px 10px;
	text-align: left;
	border-bottom: 1px solid #e2e8f0;
}

.adat-portal-form-grid--full {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.adat-portal-form-grid--full textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
}

.adat-hrms-leave-filters {
	margin: 16px 0;
	display: flex;
	gap: 8px;
	align-items: center;
}

.adat-hrms-leave-table th {
	white-space: nowrap;
}

.adat-hrms-leave-table .adat-hrms-leave-applied-on {
	white-space: nowrap;
	font-size: 12px;
}

.adat-hrms-leave-table .adat-hrms-leave-manager-approval {
	min-width: 160px;
	font-size: 12px;
}

.adat-hrms-leave-table td .description {
	display: inline-block;
	margin-top: 4px;
	font-size: 11px;
	color: #646970;
}

/* —— Admin: Leave policy tab —— */

.adat-hrms-leave-admin .nav-tab-wrapper {
	margin-bottom: 0;
}

.adat-hrms-leave-policy-form {
	margin-top: 0;
	max-width: 960px;
}

.adat-hrms-leave-policy-panels {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-top: 1rem;
}

.adat-hrms-leave-policy-panel {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
	padding: 1.25rem 1.5rem 1.5rem;
}

.adat-hrms-leave-policy-panel--wide {
	padding-bottom: 1.35rem;
}

.adat-hrms-leave-policy-panel__title {
	margin: 0 0 1rem;
	padding: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #1d2327;
	border-bottom: 1px solid #dcdcde;
	padding-bottom: 0.65rem;
}

.adat-hrms-leave-policy-panel__intro {
	margin: -0.5rem 0 1rem;
}

.adat-hrms-leave-policy-grid {
	display: grid;
	gap: 1.25rem 1.5rem;
}

.adat-hrms-leave-policy-grid--2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 782px) {
	.adat-hrms-leave-policy-grid--2 {
		grid-template-columns: 1fr;
	}
}

.adat-hrms-leave-policy-field__label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
	font-size: 13px;
	color: #1d2327;
}

.adat-hrms-leave-policy-field .description {
	margin: 0.35rem 0 0;
}

.adat-hrms-leave-policy-input-wrap {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.adat-hrms-leave-policy-input-wrap .small-text {
	width: 5rem;
	min-height: 32px;
	padding: 4px 8px;
	font-size: 14px;
	text-align: center;
}

.adat-hrms-leave-policy-input--short {
	max-width: 8rem;
}

.adat-hrms-leave-policy-suffix {
	font-size: 13px;
	color: #646970;
	white-space: nowrap;
}

.adat-hrms-leave-policy-allocations {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem;
}

@media (max-width: 960px) {
	.adat-hrms-leave-policy-allocations {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.adat-hrms-leave-policy-allocations {
		grid-template-columns: 1fr;
	}
}

.adat-hrms-leave-policy-allocation-card {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 0.85rem 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.adat-hrms-leave-policy-allocation-card__label {
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
	line-height: 1.35;
	margin: 0;
	cursor: pointer;
}

.adat-hrms-leave-policy-allocation-card .small-text {
	width: 100%;
	max-width: 5.5rem;
	min-height: 36px;
	font-size: 15px;
	font-weight: 600;
}

.adat-hrms-leave-policy-checklist {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.adat-hrms-leave-policy-check {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0;
	padding: 0.65rem 0.75rem;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	cursor: pointer;
}

.adat-hrms-leave-policy-check:hover {
	border-color: #8c8f94;
}

.adat-hrms-leave-policy-check input {
	margin: 0.2rem 0 0;
	flex-shrink: 0;
}

.adat-hrms-leave-policy-check span {
	font-size: 13px;
	line-height: 1.45;
	color: #1d2327;
}

.adat-hrms-leave-policy-submit {
	margin: 0;
	padding: 1rem 0 0;
	border-top: 0;
}

.adat-hrms-leave-policy-submit .button-primary {
	min-height: 36px;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

/* Leave coverage groups (admin) */
.adat-hrms-leave-coverage-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	margin-top: 16px;
}

@media (max-width: 960px) {
	.adat-hrms-leave-coverage-layout {
		grid-template-columns: 1fr;
	}
}

.adat-hrms-leave-coverage-members {
	min-width: 100%;
	max-width: 420px;
}

/* Portal — coverage overlap warning */
.adat-portal-leave-coverage-warning {
	margin-top: 12px;
	padding: 12px 14px;
	border-radius: 8px;
	border: 1px solid #fcd34d;
	background: #fffbeb;
	color: #92400e;
	font-size: 14px;
	line-height: 1.5;
}

.adat-portal-leave-coverage-warning.is-hidden {
	display: none;
}

/* —— Portal: People Manager — team leave —— */

.adat-portal-team-leave {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.adat-portal-team-leave__hero {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: 1rem;
	padding: 0.25rem 0 0.5rem;
}

.adat-portal-team-leave__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.35rem;
	min-width: 9.5rem;
	flex: 1 1 9.5rem;
	max-width: 13rem;
	padding: 1rem 1.25rem;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	border-top-width: 3px;
	background: #fff;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
	text-align: center;
}

.adat-portal-team-leave__stat-label {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
	line-height: 1.3;
}

.adat-portal-team-leave__stat-value {
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
	color: #0f172a;
	font-variant-numeric: tabular-nums;
}

.adat-portal-team-leave__stat--pending {
	border-top-color: #f59e0b;
}

.adat-portal-team-leave__stat--pending .adat-portal-team-leave__stat-value {
	color: #b45309;
}

.adat-portal-team-leave__stat--records {
	border-top-color: #3b82f6;
}

.adat-portal-team-leave__stat--records .adat-portal-team-leave__stat-value {
	color: #1d4ed8;
}

.adat-portal-team-leave__stat--team {
	border-top-color: #6366f1;
}

.adat-portal-team-leave__stat--team .adat-portal-team-leave__stat-value {
	color: #4338ca;
}

@media (max-width: 640px) {
	.adat-portal-team-leave__stat {
		max-width: none;
		flex-basis: 100%;
	}
}

.adat-portal-team-leave__card {
	padding: 0;
	overflow: hidden;
}

.adat-portal-team-leave__card--accent {
	border-color: #fde68a;
}

.adat-portal-team-leave__head {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 1.25rem 1.35rem 1.15rem;
	border-bottom: 1px solid #e2e8f0;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.adat-portal-team-leave__head-top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1rem;
}

.adat-portal-team-leave__title,
.adat-portal-team-leave__section-title {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: #0f172a;
	line-height: 1.3;
}

.adat-portal-team-leave__section-desc {
	margin: 0.25rem 0 0;
	font-size: 0.875rem;
	line-height: 1.45;
	color: #64748b;
}

.adat-portal-team-leave__meta-line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem 0.65rem;
	font-size: 0.8125rem;
	color: #64748b;
}

.adat-portal-team-leave__meta-text {
	font-variant-numeric: tabular-nums;
}

.adat-portal-team-leave__badge {
	display: inline-block;
	padding: 0.15rem 0.55rem;
	border-radius: 999px;
	background: #e0e7ff;
	color: #3730a3;
	font-weight: 600;
	font-size: 0.75rem;
}

.adat-portal-team-leave__filters {
	display: grid;
	grid-template-columns: minmax(9rem, 1fr) minmax(11rem, 1.4fr) minmax(9rem, 1fr) auto;
	gap: 0.75rem 1rem;
	align-items: end;
	width: 100%;
	padding-top: 1rem;
	border-top: 1px solid #e2e8f0;
}

@media (max-width: 860px) {
	.adat-portal-team-leave__filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.adat-portal-team-leave__filter-actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}
}

@media (max-width: 520px) {
	.adat-portal-team-leave__filters {
		grid-template-columns: 1fr;
	}
}

.adat-portal-team-leave__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}

.adat-portal-team-leave__field-label {
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #64748b;
}

.adat-portal-team-leave__input {
	width: 100%;
	min-width: 0;
	height: 2.375rem;
	padding: 0 0.75rem;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 0.875rem;
	line-height: 1.2;
	color: #0f172a;
	background: #fff;
	box-sizing: border-box;
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.adat-portal-team-leave__input--inline {
	min-width: 9rem;
	flex: 1 1 9rem;
}

.adat-portal-team-leave__select {
	appearance: none;
	padding-right: 2rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.65rem center;
}

.adat-portal-team-leave__input:focus {
	border-color: #3b82f6;
	outline: 2px solid rgba(59, 130, 246, 0.25);
	outline-offset: 0;
}

.adat-portal-team-leave__filter-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	align-self: end;
	gap: 0.5rem;
}

.adat-portal-team-leave__section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.15rem 1.35rem;
	border-bottom: 1px solid #e2e8f0;
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.adat-portal-team-leave__card--accent .adat-portal-team-leave__section-head {
	background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
}

.adat-portal-team-leave__count-badge {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.75rem;
	height: 1.75rem;
	padding: 0 0.5rem;
	border-radius: 999px;
	background: #f59e0b;
	color: #fff;
	font-size: 0.8125rem;
	font-weight: 700;
}

.adat-portal-team-leave__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 2rem 1.25rem;
}

.adat-portal-team-leave__empty--compact {
	padding: 1.25rem 1rem;
}

.adat-portal-team-leave__empty-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 0.75rem;
	border-radius: 50%;
	background: #f1f5f9;
	color: #94a3b8;
}

.adat-portal-team-leave__empty-title {
	margin: 0 0 0.25rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: #334155;
}

.adat-portal-team-leave__empty-text {
	margin: 0;
	font-size: 0.8125rem;
	line-height: 1.5;
	color: #64748b;
	max-width: 22rem;
}

.adat-portal-team-leave__scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	max-height: 32rem;
}

.adat-portal-team-leave__scroll--compact {
	max-height: none;
}

.adat-portal-team-leave-table {
	width: 100%;
	margin: 0;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 0.8125rem;
	min-width: 44rem;
}

.adat-portal-team-leave-table th,
.adat-portal-team-leave-table td {
	padding: 0.5rem 0.65rem;
	vertical-align: middle;
	border-bottom: 1px solid #e2e8f0;
	text-align: left;
	white-space: nowrap;
}

.adat-portal-team-leave-table thead th {
	position: sticky;
	top: 0;
	z-index: 2;
	background: #f1f5f9;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #475569;
	border-bottom: 2px solid #e2e8f0;
}

.adat-portal-team-leave-table tbody tr:hover td {
	background: #f8fafc;
}

.adat-portal-team-leave-table__sticky {
	position: sticky;
	left: 0;
	z-index: 1;
	background: #fff;
	box-shadow: 2px 0 4px rgba(15, 23, 42, 0.04);
}

.adat-portal-team-leave-table thead .adat-portal-team-leave-table__sticky {
	z-index: 3;
	background: #f1f5f9;
}

.adat-portal-team-leave-table tbody tr:hover .adat-portal-team-leave-table__sticky {
	background: #f8fafc;
}

.adat-portal-team-leave-table__employee {
	min-width: 9.5rem;
	max-width: 12rem;
	padding-left: 1rem;
}

.adat-portal-team-leave-table__emp-name {
	display: block;
	font-weight: 600;
	color: #0f172a;
	overflow: hidden;
	text-overflow: ellipsis;
}

.adat-portal-team-leave-table__emp-code {
	display: block;
	font-size: 0.6875rem;
	font-weight: 600;
	color: #64748b;
	margin-top: 0.1rem;
}

.adat-portal-team-leave-table__reason {
	max-width: 11rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.adat-portal-team-leave-table__days,
.adat-portal-team-leave-table__applied {
	font-variant-numeric: tabular-nums;
	color: #475569;
}

.adat-portal-team-leave-table__actions {
	min-width: 11rem;
	white-space: normal;
}

.adat-portal-team-leave-table--actions td {
	vertical-align: top;
	padding-top: 0.6rem;
	padding-bottom: 0.6rem;
}

.adat-portal-team-leave__type {
	display: inline-block;
	min-width: 2rem;
	padding: 0.1rem 0.4rem;
	border-radius: 4px;
	font-size: 0.6875rem;
	font-weight: 700;
	text-align: center;
	letter-spacing: 0.03em;
	background: #e2e8f0;
	color: #475569;
}

.adat-portal-team-leave__type--cl { background: #dbeafe; color: #1d4ed8; }
.adat-portal-team-leave__type--sl { background: #fef3c7; color: #b45309; }
.adat-portal-team-leave__type--pl { background: #dcfce7; color: #15803d; }
.adat-portal-team-leave__type--rh { background: #e0e7ff; color: #4338ca; }
.adat-portal-team-leave__type--wfh { background: #f3e8ff; color: #7e22ce; }
.adat-portal-team-leave__type--hybrid { background: #cffafe; color: #0e7490; }
.adat-portal-team-leave__type--remote { background: #fce7f3; color: #be185d; }

.adat-portal-team-leave__pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	border-top: 1px solid #e2e8f0;
	background: #fafbfc;
}

.adat-portal-team-leave__page-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	padding: 0.35rem 0.85rem;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
	background: #fff;
	color: #334155;
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.adat-portal-team-leave__page-btn:hover:not(.is-disabled) {
	border-color: #94a3b8;
	background: #f8fafc;
	color: #0f172a;
}

.adat-portal-team-leave__page-btn.is-disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.adat-portal-team-leave__page-status {
	font-size: 0.8125rem;
	font-weight: 500;
	color: #64748b;
	font-variant-numeric: tabular-nums;
}

.adat-portal-team-leave__inline-form,
.adat-portal-team-leave__reject-form,
.adat-portal-team-leave__cancel-form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0;
}

.adat-portal-team-leave__reject-form,
.adat-portal-team-leave__cancel-form {
	margin-top: 0.35rem;
}
