/**
 * SB Restaurants Custom Login Page Styles
 * Modern and Minimalistic Design
 */

body.sb-login-page {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #333;
}

.sb-login-container {
	width: 100%;
	max-width: 420px;
	padding: 20px;
	box-sizing: border-box;
}

.sb-login-box {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	padding: 40px;
	animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.sb-login-header {
	text-align: center;
	margin-bottom: 32px;
}

.sb-login-logo {
	margin-bottom: 20px;
}

.sb-login-logo img {
	max-width: 120px;
	height: auto;
}

.sb-login-title {
	margin: 0 0 8px 0;
	font-size: 28px;
	font-weight: 600;
	color: #1a1a1a;
	letter-spacing: -0.5px;
}

.sb-login-subtitle {
	margin: 0;
	font-size: 14px;
	color: #666;
	font-weight: 400;
}

.sb-login-error {
	background: #fee;
	border: 1px solid #fcc;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 24px;
	color: #c33;
	font-size: 14px;
	text-align: center;
}

.sb-login-form {
	margin: 0;
}

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

.sb-form-group label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #333;
}

.sb-input {
	width: 100%;
	padding: 12px 16px;
	font-size: 15px;
	line-height: 1.5;
	color: #333;
	background-color: #f7f7f7;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	box-sizing: border-box;
	transition: all 0.2s ease;
}

.sb-input:focus {
	outline: none;
	border-color: #667eea;
	background-color: #fff;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.sb-input::placeholder {
	color: #999;
}

.sb-form-remember {
	margin-bottom: 24px;
}

.sb-checkbox-label {
	display: flex;
	align-items: center;
	cursor: pointer;
	font-size: 14px;
	color: #666;
}

.sb-checkbox-label input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-right: 8px;
	cursor: pointer;
	accent-color: #667eea;
}

.sb-checkbox-label span {
	user-select: none;
}

.sb-submit-button {
	width: 100%;
	padding: 14px 24px;
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.sb-submit-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.sb-submit-button:active {
	transform: translateY(0);
}

.sb-submit-button:focus {
	outline: none;
	box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.sb-login-links {
	text-align: center;
	margin-top: 24px;
}

.sb-link {
	color: #667eea;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: color 0.2s ease;
}

.sb-link:hover {
	color: #764ba2;
	text-decoration: underline;
}

.sb-login-footer {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid #e0e0e0;
	text-align: center;
}

.sb-login-footer p {
	margin: 0;
	font-size: 12px;
	color: #999;
}

/* Responsive Design */
@media (max-width: 480px) {
	.sb-login-box {
		padding: 30px 24px;
	}

	.sb-login-title {
		font-size: 24px;
	}

	.sb-login-subtitle {
		font-size: 13px;
	}
}

/* Loading state */
.sb-submit-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}
