/* Custom Font Declarations */
@font-face {
    font-family: 'NewRailAlphabet';
    src: url('https://malmsteypa.pineapple.is/wp-content/uploads/2025/08/NewRailAlphabet-BoldWEB.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NewRailAlphabet';
    src: url('https://malmsteypa.pineapple.is/wp-content/uploads/2025/08/NewRailAlphabet2021-LightWEB.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

.dokobit-login-container {
	max-width: 400px;
	margin: 20px auto;
	padding: 30px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dokobit-login-form h3 {
	margin-top: 0;
	margin-bottom: 25px;
	text-align: center;
	color: #30261c;
	font-family: 'NewRailAlphabet', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	font-weight: 700;
	font-size: 20px;
}

.dokobit-method-toggle {
	display: flex;
	gap: 8px;
	margin-bottom: 20px;
}

.dokobit-method-toggle label {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-weight: 600;
	color: #555;
	cursor: pointer;
	transition: border-color 0.3s, background-color 0.3s;
}

.dokobit-method-toggle label:has(input:checked) {
	border-color: #E65500;
	background: #fff4ee;
	color: #30261c;
}

.dokobit-method-toggle input {
	margin: 0 8px 0 0;
	accent-color: #E65500;
}

.dokobit-form-group {
	margin-bottom: 20px;
}

.dokobit-form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
	color: #555;
}

.dokobit-form-group input {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	transition: border-color 0.3s;
}

.dokobit-form-group input:focus {
	outline: none;
	border-color: #0073aa;
}

.dokobit-help-text {
	margin-top: 5px;
	font-size: 13px;
	color: #666;
}

.dokobit-submit-btn {
	width: 100%;
	padding: 12px 20px;
	background: #E65500 !important;
	color: #fff !important;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s;
}

.dokobit-submit-btn:hover:not(:disabled) {
	background: #cc4a00 !important;
}

.dokobit-submit-btn:disabled {
	background: #ccc;
	cursor: not-allowed;
}

.dokobit-message {
	margin-top: 20px;
	padding: 12px 15px;
	border-radius: 4px;
	text-align: center;
}

.dokobit-message.error {
	background: #fee;
	color: #c00;
	border: 1px solid #fcc;
}

.dokobit-message.success {
	background: #efe;
	color: #080;
	border: 1px solid #cfc;
}

.dokobit-auth-info {
	margin-top: 20px;
	padding: 20px;
	background: #f5f5f5;
	border-radius: 4px;
	text-align: center;
}

.dokobit-auth-info p {
	margin: 10px 0;
}

.dokobit-auth-info strong {
	font-size: 24px;
	color: #0073aa;
}

.dokobit-spinner {
	margin: 20px auto 0;
	width: 40px;
	height: 40px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #0073aa;
	border-radius: 50%;
	animation: dokobit-spin 1s linear infinite;
}

@keyframes dokobit-spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.dokobit-company-info {
	padding: 20px;
	background: #f9f9f9;
	border-left: 4px solid #0073aa;
	margin: 20px 0;
}

.dokobit-company-info h3 {
	margin-top: 0;
	color: #333;
}

.dokobit-company-info p {
	font-size: 18px;
	color: #555;
	margin: 10px 0;
}

/* Dokobit Logout Button Styles */
.bcc-logout-wrapper {
	display: inline-block;
	width: 100%;
}

.bcc-logout-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	cursor: pointer;
	border: none;
	font-family: inherit;
	line-height: 1.5;
}

.bcc-logout-btn.icon-left {
	flex-direction: row;
}

.bcc-logout-btn.icon-right {
	flex-direction: row-reverse;
}

.bcc-logout-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.bcc-logout-icon i,
.bcc-logout-icon svg {
	display: inline-block;
	vertical-align: middle;
}

.bcc-logout-text {
	display: inline-block;
}


