.fotokino-passkey-login {
	margin-top: 18px;
}

.fotokino-passkey-divider {
	position: relative;
	margin: 18px auto 14px;
	max-width: 220px;
	text-align: center;
}

.fotokino-passkey-divider:before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.fotokino-passkey-divider span {
	position: relative;
	display: inline-block;
	padding: 0 12px;
	background: rgba(255, 255, 255, 0.75);
	color: #666;
	font-size: 13px;
}

.btn-passkey,
.btn-passkey:focus {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	max-width: 280px;
	margin: 0 auto;
	padding: 12px 16px;
	border: 0;
	border-radius: 8px;
	background: #222;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	transition: background 0.2s ease;
}

.btn-passkey:hover,
.btn-passkey:active {
	background: #111;
	color: #fff !important;
}

.btn-passkey .fa-fingerprint {
	font-size: 22px;
}

.btn-passkey .passkey-login-line {
	display: inline;
}

.btn-passkey .passkey-login-line-prefix:after {
	content: ' ';
}

.passkey-login-error,
.passkey-modal-error {
	margin-top: 10px;
	text-align: center;
	font-size: 13px;
}

.ajaxloginlink .passkey-login-error {
	display: block;
	max-width: 340px;
	margin: 8px auto 0;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #b33e3f;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.35;
	box-shadow: none;
}

.ajaxloginlink .fotokino-passkey-login {
	text-align: center;
}

@media (max-width: 767px) {
	.ajaxloginlink .btn-passkey,
	.ajaxloginlink .btn-passkey:focus,
	.ajaxloginlink .btn-passkey:hover,
	.ajaxloginlink .btn-passkey:active {
		width: 100%;
		max-width: 280px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		box-sizing: border-box;
		white-space: normal;
		text-align: center;
		line-height: 1.25;
		padding: 12px 14px;
	}

	.ajaxloginlink .btn-passkey span {
		flex: 1 1 auto;
		min-width: 0;
	}
}

@media (max-width: 729px) {
	.ajaxloginlink #passkey-login-btn.btn-passkey,
	.ajaxloginlink #passkey-login-btn.btn-passkey:focus,
	.ajaxloginlink #passkey-login-btn.btn-passkey:hover,
	.ajaxloginlink #passkey-login-btn.btn-passkey:active {
		gap: 8px;
		min-height: 58px;
		padding-top: 10px;
		padding-bottom: 10px;
	}

	.ajaxloginlink #passkey-login-btn .passkey-login-label {
		display: flex;
		flex: 0 1 auto;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		min-width: 0;
		line-height: 1.15;
		text-align: center;
	}

	.ajaxloginlink #passkey-login-btn .passkey-login-line {
		display: block;
	}

	.ajaxloginlink #passkey-login-btn .passkey-login-line-prefix:after {
		content: '';
	}
}

@media (min-width: 768px) {
	.ajaxloginlink .btn-passkey,
	.ajaxloginlink .btn-passkey:focus,
	.ajaxloginlink .btn-passkey:hover,
	.ajaxloginlink .btn-passkey:active {
		width: auto;
		max-width: calc(100% - 10px);
		display: inline-flex;
		box-sizing: border-box;
		white-space: nowrap;
		background: #222;
	}

	.ajaxloginlink .fotokino-passkey-login {
		margin-top: 8px;
	}

	.ajaxloginlink .fotokino-passkey-divider {
		margin: 8px auto 8px;
	}

	.ajaxloginlink .fotokino-passkey-divider span {
		font-size: 12px;
		padding: 0 10px;
	}

	.ajaxloginlink .btn-passkey,
	.ajaxloginlink .btn-passkey:focus,
	.ajaxloginlink .btn-passkey:hover,
	.ajaxloginlink .btn-passkey:active {
		padding: 10px 16px;
		font-size: 14px;
		line-height: 1.25;
		border-radius: 999px;
		gap: 9px;
	}

	.ajaxloginlink .btn-passkey .fa-fingerprint {
		font-size: 17px;
	}
}

.fotokino-passkey-modal.in {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 15px;
}

.fotokino-passkey-modal .modal-dialog {
	max-width: 480px;
	width: 100%;
	margin: 0;
	transform: none !important;
	-webkit-transform: none !important;
	-ms-transform: none !important;
	-o-transform: none !important;
}

.fotokino-passkey-modal.fade .modal-dialog {
	transform: none !important;
	-webkit-transform: none !important;
	-ms-transform: none !important;
	-o-transform: none !important;
}

.fotokino-passkey-modal .modal-content {
	border: 0;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.fotokino-passkey-modal .modal-header {
	border-bottom: 1px solid #eee;
	padding: 18px 22px;
}

.fotokino-passkey-modal .modal-title {
	font-family: Montserrat, sans-serif;
	font-weight: 800;
	color: #b33e3f;
	text-transform: uppercase;
}

.fotokino-passkey-modal .modal-body {
	padding: 22px;
	color: #444;
}

.fotokino-passkey-modal .modal-footer {
	border-top: 1px solid #eee;
	padding: 16px 22px 22px;
}

.fotokino-passkey-confirm-modal .modal-header {
	text-align: center;
}

.fotokino-passkey-confirm-modal .modal-title {
	float: none;
	width: 100%;
	text-align: center;
	font-size: 18px;
}

.fotokino-passkey-confirm-modal .modal-body {
	text-align: center;
	padding: 18px 28px 8px;
}

.fotokino-passkey-confirm-modal .modal-body p {
	margin: 0;
	font-size: 15px;
	line-height: 1.5;
	color: #444;
}

.fotokino-passkey-confirm-modal .modal-footer {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	text-align: center;
}

.fotokino-passkey-confirm-modal .modal-footer .btn {
	min-width: 130px;
	margin: 0;
}

.fotokino-passkey-confirm-modal .modal-footer .btn-danger {
	background: #b33e3f;
	border-color: #b33e3f;
}

.fotokino-passkey-confirm-modal .modal-footer .btn-danger:hover,
.fotokino-passkey-confirm-modal .modal-footer .btn-danger:focus {
	background: #9c2c2e;
	border-color: #9c2c2e;
}

.fotokino-account-edit-card {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
	padding: 28px 24px;
	margin-bottom: 24px;
}

.fotokino-account-edit-back {
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	margin-bottom: 16px;
}

.fotokino-account-edit-success-modal .fotokino-account-edit-success-icon {
	font-size: 42px;
	color: #b33e3f;
	margin-bottom: 4px;
}

.fotokino-account-edit-success-modal .modal-footer .btn-primary {
	min-width: 130px;
	background: #b33e3f;
	border-color: #b33e3f;
}

.fotokino-account-edit-success-modal .modal-footer .btn-primary:hover,
.fotokino-account-edit-success-modal .modal-footer .btn-primary:focus {
	background: #9c2c2e;
	border-color: #9c2c2e;
}

.fotokino-account-edit-save {
	margin-top: 8px;
	padding-top: 12px;
	border-top: 1px solid #ececec;
	text-align: center;
}

.fotokino-account-edit-save .btn-primary {
	min-width: 160px;
}

.fotokino-account-edit-card h1,
.fotokino-account-edit-card h2 {
	font-family: Montserrat, sans-serif;
	color: #b33e3f;
	font-weight: 800;
}

.fotokino-account-edit-card .form-control {
	border-radius: 8px;
	min-height: 44px;
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.fotokino-account-edit-card legend {
	border: 0;
	font-family: Montserrat, sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin-bottom: 18px;
}

.fotokino-account-edit-intro {
	margin-bottom: 24px;
	text-align: center;
}

.fotokino-account-edit-card h1 {
	text-align: center;
}

.fotokino-account-edit-grid {
	display: block;
}

.fotokino-account-edit-panel-passkey {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid #ececec;
}

@media (min-width: 768px) {
	.fotokino-account-edit-card {
		max-width: 980px;
		margin-left: auto;
		margin-right: auto;
		padding: 32px 36px 28px;
	}

	.fotokino-account-edit-card h1 {
		font-size: 28px;
		margin: 0 0 8px;
	}

	.fotokino-account-edit-intro {
		margin-bottom: 28px !important;
	}

	.fotokino-account-edit-grid {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 24px;
		align-items: start;
	}

	.fotokino-account-edit-panel {
		background: #fff;
		border: 1px solid #ececec;
		border-radius: 12px;
		padding: 24px 22px;
	}

	.fotokino-account-edit-panel-passkey {
		margin-top: 36px;
		padding-top: 0;
		border-top: 0;
	}

	.fotokino-account-edit-card .form-horizontal .form-group {
		margin-left: 0;
		margin-right: 0;
		margin-bottom: 16px;
	}

	.fotokino-account-edit-card .form-horizontal .control-label {
		float: none;
		width: 100%;
		text-align: left;
		padding-top: 0;
		margin-bottom: 6px;
		font-weight: 600;
		color: #444;
	}

	.fotokino-account-edit-card .form-horizontal .form-group > [class*="col-sm-"] {
		float: none;
		width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	.fotokino-account-edit-card .form-control {
		max-width: none;
		width: 100%;
	}

	.fotokino-account-edit-card legend,
	.fotokino-passkey-settings h2 {
		margin-bottom: 14px;
		padding-bottom: 10px;
		border-bottom: 1px solid #ececec;
	}

	.fotokino-account-edit-card .buttons {
		max-width: none;
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
	}

	.fotokino-account-edit-save {
		margin-top: 8px;
		padding-top: 12px;
		border-top: 1px solid #ececec;
	}

	.fotokino-passkey-settings {
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
	}

	.fotokino-account-edit-card .passkey-add-btn {
		width: 100%;
		max-width: none;
	}
}

.fotokino-passkey-settings {
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid #ececec;
}

.fotokino-passkey-settings h2 {
	margin: 0 0 8px;
	font-size: 22px;
}

.fotokino-account-edit-panel-passkey .fotokino-passkey-settings h2 {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
}

.fotokino-account-edit-panel-passkey .fotokino-passkey-settings h2 .fa-fingerprint {
	font-size: 15px;
	margin-right: 4px;
}

.fotokino-passkey-settings p {
	color: #666;
	margin-bottom: 16px;
}

.passkey-list {
	display: grid;
	gap: 12px;
	margin-bottom: 16px;
}

.passkey-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid #ececec;
	border-radius: 12px;
	background: #fafafa;
}

.passkey-item-icon {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #222;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.passkey-item-body {
	flex: 1;
	min-width: 0;
}

.passkey-item-body strong {
	display: block;
	color: #222;
	margin-bottom: 2px;
}

.passkey-item-body span {
	display: block;
	color: #777;
	font-size: 12px;
}

.passkey-delete-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid #e4caca;
	border-radius: 8px;
	background: #fff;
	color: #b33e3f;
	padding: 7px 10px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	flex-shrink: 0;
	cursor: pointer;
}

.passkey-delete-btn .fa-trash {
	font-size: 13px;
}

.passkey-delete-btn:hover {
	background: #b33e3f;
	border-color: #b33e3f;
	color: #fff;
}

.passkey-empty,
.passkey-unsupported {
	padding: 12px 14px;
	border-radius: 10px;
	background: #f5f5f5;
	color: #666;
}

.passkey-error,
.passkey-success {
	margin-bottom: 12px;
}

@media (max-width: 767px) {
	.fotokino-account-edit-card {
		padding: 22px 16px;
	}

	.fotokino-passkey-modal.in {
		padding: 12px;
	}
}

.fotokino-account-address-card h1 {
	margin-top: 0;
	margin-bottom: 6px;
}

.fotokino-account-address-card {
	margin-bottom: 56px;
	padding-bottom: 36px;
}

.fotokino-account-address-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.fotokino-account-address-card .fotokino-account-edit-intro {
	margin-bottom: 0;
}

.fotokino-account-address-add-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 180px;
	padding: 28px 18px;
	border-style: dashed;
	border-color: #d8d8d8;
	background: #fff;
	color: #b33e3f;
	text-decoration: none;
	text-align: center;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fotokino-account-address-add-card:hover,
.fotokino-account-address-add-card:focus {
	border-color: #b33e3f;
	background: #fff9f9;
	color: #9c2c2e;
	text-decoration: none;
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.fotokino-account-address-add-icon {
	display: block;
	font-size: 48px;
	font-weight: 300;
	line-height: 1;
	margin-bottom: 12px;
}

.fotokino-account-address-add-text {
	display: block;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	max-width: 12em;
}

.fotokino-account-address-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 16px;
}

.fotokino-account-address-item {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 100%;
	padding: 18px 18px 16px;
	border: 1px solid #ececec;
	border-radius: 14px;
	background: #fafafa;
	transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.fotokino-account-address-item:hover {
	border-color: #e0d6d6;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
	transform: translateY(-1px);
}

.fotokino-account-address-item.is-default {
	border-color: #e8c9ca;
	background: linear-gradient(180deg, #fff9f9 0%, #fff 100%);
}

.fotokino-account-address-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	align-self: flex-start;
	margin-bottom: 12px;
	padding: 4px 10px;
	border-radius: 999px;
	background: #b33e3f;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.fotokino-account-address-body {
	display: flex;
	gap: 12px;
	flex: 1 1 auto;
	margin-bottom: 16px;
}

.fotokino-account-address-icon {
	flex: 0 0 auto;
	margin-top: 2px;
	color: #b33e3f;
	font-size: 18px;
}

.fotokino-account-address-text {
	color: #333;
	line-height: 1.55;
	font-size: 15px;
}

.fotokino-account-address-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding-top: 14px;
	border-top: 1px solid #ececec;
}

.fotokino-account-address-actions .btn {
	flex: 1 1 calc(50% - 4px);
	min-width: 0;
	margin: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 10px 12px;
	line-height: 1.2;
	border-radius: 0;
	box-shadow: none;
	text-transform: none;
	font-weight: 400;
}

.fotokino-account-address-actions .btn .fa {
	margin-right: 7px;
}

.fotokino-account-address-actions .btn-danger {
	background: #fff;
	border-color: #e0b4b5;
	color: #b33e3f;
}

.fotokino-account-address-actions .btn-danger:hover,
.fotokino-account-address-actions .btn-danger:focus {
	background: #b33e3f;
	border-color: #b33e3f;
	color: #fff;
}

.fotokino-account-address-empty {
	text-align: center;
	padding: 36px 20px 28px;
	border: 1px dashed #ddd;
	border-radius: 14px;
	background: #fafafa;
}

.fotokino-account-address-empty-icon {
	font-size: 42px;
	color: #c9c9c9;
	margin-bottom: 12px;
}

.fotokino-account-address-empty p {
	margin-bottom: 18px;
	color: #666;
}

.fotokino-account-address-form-card .form-horizontal legend {
	margin-top: 8px;
}

@media (max-width: 767px) {
	.fotokino-account-address-head {
		flex-direction: column;
	}

	.fotokino-account-address-grid {
		grid-template-columns: 1fr;
	}

	.fotokino-account-address-actions {
		flex-direction: column;
	}

	.fotokino-account-address-actions .btn {
		width: 100%;
	}
}
