body {
	margin: 0px;
  font-family: 'VT323', monospace;
	font: normal normal normal 24px/1.46em droid-serif-w01-regular,droid-serif-w02-regular,droid-serif-w10-regular,serif;
}

#logo {
    padding: 18px;
    max-width: 350px;
    height: auto;
}
.icon-sticker {
	width: 75px;
	height: 75px;
	/*background-image: url(/img/hive-logo-2.svg);*/
	background-size: cover;
	background-position: center;
	margin: 40px auto 0;
}

.row {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-direction: row;
}

.column {
	display: -webkit-box;
	display: -moz-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
}

.center {
	justify-content: center;
}

.space-around {
	justify-content: space-around;
}

.space-between {
	justify-content: space-between;
}

.wrap {
	flex-wrap: wrap;
}

.hive-bg {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background-image: url(/img/hive-bg.svg);
	background-repeat: repeat;
	background-size: 50px;
	filter: blur(2px);
}

.bg {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #001327;
	/*background-image: url(/img/bg.webp);*/
	background-size: cover;
	background-position: center;
}

.bg-filter[filter-id="f1"] {
	filter: opacity(.8);
	filter: blur(4px);
	top: -5px;
	left: -5px;
	bottom: -4px;
	right: -5px;
}

.login-box {
	background: #e0e0e0;
	border-radius: 7px;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 400px;
	height: 550px;
	margin: -275px 0 0 -200px;
	box-shadow: 3px 3px 10px #888;
  opacity: 0.9;
}

h3 {
	font-size: 22px;
	color: #333;
}

.text-center {
	text-align: center;
}

#login-box-title {
	margin: 25px 20px;
}

.txt1 h3 {
	font-weight: normal;
}

input {
  background-color: transparent;
  font-family:  monospace;
	font-size: 14px;
	width: 265px;
	height: 40px;
	border: 0px;
	border-width: 0 0 1px;
	border-color: #a9a9a9;
	border-style: solid;
	border-radius: 0;
	margin: 10px auto;
	padding: 0 5px;
	height: 30px;
}

input:focus {
	outline: none;
}

button {
  font-family:  'Montserrat', monospace;
	font-size: 18px;
	margin: 20px auto 0;
	width: 275px;
	height: 44px;
	border-radius: 22px;
	border-width: 0;
	background: linear-gradient(135deg, #001327 0%, #002a4a 100%);
	color: #fff;
	line-height: 44px;
	letter-spacing: 2px;
	cursor: pointer;
	text-transform: uppercase;
	font-weight: bold;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 19, 39, 0.3);
}

button:hover {
	background: linear-gradient(135deg, #002a4a 0%, #001327 100%);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 19, 39, 0.4);
}

p {
	color: #888;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px), (hover:none), (hover:on-demand), (max-device-width: 768px) {
	/* DEBUG: Mobile styles are active */
	body {
		font-size: 16px;
		overflow-x: hidden;
	}

	.bg-filter[filter-id="f1"] {
		background: #000;
		filter: blur(2px);
	}

	.login-box {
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		width: 100%;
		height: 100vh;
		margin: 0;
		border-radius: 0;
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		padding: 20px;
		box-sizing: border-box;
	}

	#logo {
		padding: 10px;
		max-width: 400px;
		height: auto;
		margin-bottom: 20px;
	}

	.icon-sticker {
		width: 80px;
		height: 80px;
		margin: 20px auto;
	}

	form.column {
		width: 100% !important;
		max-width: 320px !important;
		align-items: center !important;
	}

	/* Force login form inputs to be big */
	.login-box form input {
		font-size: 18px !important;
		width: 100% !important;
		max-width: 280px !important;
		height: 50px !important;
		border-width: 0 0 2px !important;
		border-radius: 0 !important;
		margin: 15px 0 !important;
		padding: 0 15px !important;
		box-sizing: border-box !important;
		background: transparent !important;
		color: #001327 !important;
	}

	/* Force login form button to be big */
	.login-box form button {
		font-size: 20px !important;
		width: 100% !important;
		max-width: 280px !important;
		height: 55px !important;
		border-radius: 28px !important;
		margin: 25px 0 !important;
		background: linear-gradient(135deg, #001327 0%, #002a4a 100%) !important;
		color: #fff !important;
		font-weight: bold !important;
		letter-spacing: 2px !important;
		text-transform: uppercase !important;
		transition: all 0.3s ease !important;
		box-shadow: 0 4px 15px rgba(0, 19, 39, 0.3) !important;
		cursor: pointer !important;
		pointer-events: auto !important;
		-webkit-appearance: none !important;
		-webkit-tap-highlight-color: transparent !important;
		-webkit-touch-callout: none !important;
		-webkit-user-select: none !important;
		user-select: none !important;
	}

	input {
		font-size: 18px !important;
		width: 100% !important;
		max-width: 280px !important;
		height: 50px !important;
		border-width: 0 0 2px !important;
		border-radius: 0 !important;
		margin: 15px 0 !important;
		padding: 0 15px !important;
		box-sizing: border-box !important;
		background: transparent !important;
		color: #001327 !important;
	}

	input:focus {
		border-color: #00ff41;
		box-shadow: 0 2px 0 #00ff41;
	}

	button {
		font-size: 20px !important;
		width: 100% !important;
		max-width: 280px !important;
		height: 55px !important;
		border-radius: 28px !important;
		margin: 25px 0 !important;
		background: linear-gradient(135deg, #001327 0%, #002a4a 100%) !important;
		color: #fff !important;
		font-weight: bold !important;
		letter-spacing: 2px !important;
		text-transform: uppercase !important;
		transition: all 0.3s ease !important;
		box-shadow: 0 4px 15px rgba(0, 19, 39, 0.3) !important;
		cursor: pointer !important;
		pointer-events: auto !important;
		-webkit-appearance: none !important;
		-webkit-tap-highlight-color: transparent !important;
		-webkit-touch-callout: none !important;
		-webkit-user-select: none !important;
		user-select: none !important;
	}

	button:hover, button:active {
		background: linear-gradient(135deg, #002a4a 0%, #001327 100%);
		transform: translateY(-2px);
		box-shadow: 0 6px 20px rgba(0, 19, 39, 0.4);
	}

	#login-text, #signup-text, #forgot-text {
		position: relative !important;
		bottom: auto !important;
		font-size: 14px !important;
		margin: 20px 0 !important;
		color: #001327 !important;
		text-decoration: none !important;
		transition: color 0.3s ease !important;
		text-align: center !important;
		width: 100% !important;
	}

	#login-text:hover, #signup-text:hover {
		color: #00ff41 !important;
	}

	.alert-success, .alert-danger {
		width: 90%;
		max-width: 320px;
		left: 50%;
		transform: translateX(-50%);
		font-size: 14px;
		padding: 15px;
		border-radius: 10px;
		box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
	}
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px), (max-device-width: 480px) {
	.login-box {
		padding: 15px;
	}

	#logo {
		max-width: 300px;
	}

	input {
		font-size: 16px !important;
		height: 45px !important;
	}

	button {
		font-size: 18px !important;
		height: 50px !important;
	}

	.alert-success, .alert-danger {
		width: 95%;
		font-size: 13px;
		padding: 12px;
	}
}

/* ===== CHROME/BRAVE SPECIFIC FIXES ===== */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
	button {
		-webkit-appearance: none !important;
		-webkit-tap-highlight-color: transparent !important;
		-webkit-touch-callout: none !important;
		-webkit-user-select: none !important;
		user-select: none !important;
		position: relative !important;
		z-index: 1 !important;
	}
}

/* ===== LANDSCAPE MOBILE ===== */
@media (max-height: 500px) and (orientation: landscape) {
	.login-box {
		padding: 10px;
	}

	#logo {
		max-width: 250px;
		margin-bottom: 10px;
	}

	.icon-sticker {
		width: 50px;
		height: 50px;
		margin: 10px auto;
	}

	input {
		height: 40px;
		margin: 10px 0;
	}

	button {
		height: 45px;
		margin: 15px 0;
	}

	#login-text, #signup-text {
		margin: 10px 0;
	}
}

.alert-success {
    color: #001327;
    background-color: #d4edda;
    border-color: #c3e6cb;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 7px;
    font-family: 'VT323', monospace;

    /*font-family: Roboto;*/
    z-index: 9999;
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    width: 50%;
    margin: auto;
    text-align: center;
    box-shadow: 3px 3px 10px #888;
}

.alert-danger {
    color: #ff3f34;
    background-color: #240b36;
    border-color: #2d142c;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 7px;
    font-family: 'VT323', monospace;

    /*font-family: Roboto;*/
    z-index: 9999;
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    width: 50%;
    margin: auto;
    text-align: center;
    box-shadow: 3px 3px 10px rgba(136, 136, 136, 0.7);

}

#login-text, #signup-text, #forgot-text {
    position: absolute;
    bottom: 30px;
    width: 100%;
    margin: 0;
    font-family: 'VT323', monospace;
    font-size: 14px;
    color: #001327;
    text-decoration: none;
    transition: color 0.3s ease;
}

#login-text:hover, #signup-text:hover, #forgot-text:hover, login-text:hover {
    color: #00ff41;
}

#signup-text, #contact-text, #forgot-text {
	position: absolute;
	bottom: 10px;
	width: 100%;
	margin: 0;
  font-family: 'VT323', monospace;
	/*font-family: Roboto;*/
	font-size: 12px;
}

#signup-text {
    bottom: 60px;
}

#forgot-text {
    bottom: 30px;
} 

@keyframes ripple {
	0% {
		transform: scale(0);
		opacity: 0.2;
	}
	50% {
		transform: scale(0);
		opacity: 0.2;
	}
	100% {
		transform: scale(1);
		opacity: 0;
	}
}

.ripple {
	position: absolute;
	height: 100%;
	width: 100%;
}

.ripple:before, .ripple:after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #999;
	animation: ripple 2s linear infinite;
}

.ripple:after {
	animation-delay: 0s;
}

