body {
	background-image: url('../images/cbbt-plain.png');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
	background-attachment: fixed;
	color: #fff;
	min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* for space below nav */
	font-family: 'Roboto', sans-serif;
}

/* Center the container */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Limit and style the card */
.card {
    width: 100%;
    max-width: 600px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

/* Customize buttons */
.btn-custom {
    background-color: #C7461D;
    color: white;
    border: none;
    font-weight: bold;
}

.btn-custom:hover {
    background-color: #9B2F22;
}

.login {
	background-color: rgba(29, 59, 54, 0.95); /* dark green with transparency */
	padding: 2rem;
	border-radius: 15px;
	max-width: 400px;
	width: 100%;
	box-shadow: 0 4px 20px rgba(0,0,0,0.3);
	text-align: center;
}

.login h1 {
	font-family: 'Alfa Slab One', cursive;
	color: #E37A32;
	margin-bottom: 1.5rem;
}

.login .btn.blue {
	background-color: #C7461D;
	color: #fff;
	border: none;
	font-weight: bold;
	padding: 10px 20px;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.login .btn.blue:hover {
	background-color: #9B2F22;
}

.login .form-group {
	position: relative;
	margin-bottom: 1rem;
	text-align: left;
}

.login .form-label {
	color: #fff;
	font-weight: bold;
}

.login .form-input {
	width: 100%;
	padding: 0.75rem 0.75rem 0.75rem 2.5rem;
	border-radius: 6px;
	border: none;
	font-size: 1rem;
}

.login .form-icon-left {
	position: absolute;
	top: 50%;
	left: 10px;
	transform: translateY(-50%);
	fill: #999;
}

.login .msg {
	margin: 10px 0;
	font-weight: bold;
}

.login .msg.error {
	color: #ffdddd;
}

.login .msg.success {
	color: #ccffcc;
}

.login a.form-link {
	color: #ffcc70;
	text-decoration: underline;
}

.login a.form-link:hover {
	color: #fff;
}

.login .form-input {
	width: 100%;
	box-sizing: border-box; /* Ensures padding doesn't increase width */
	padding: 0.75rem 0.75rem 0.75rem 2.5rem;
	border-radius: 6px;
	border: none;
	font-size: 1rem;
	background-color: #f0f4ff;
	color: #333;
}

/* Optional: make the form group max-width smaller than login container */
.login .form-group {
	max-width: 100%;
	width: 100%;
}

.login-form {
	width: 100%;
	max-width: 100%;
}

.register {
  background-color: rgba(29, 59, 54, 0.95); /* dark green with transparency */
  padding: 2rem;
  border-radius: 15px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.register h1 {
  font-family: "Alfa Slab One", cursive;
  color: #e37a32;
  margin-bottom: 1.5rem;
}

.register .btn.blue {
  background-color: #c7461d;
  color: #fff;
  border: none;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.register .btn.blue:hover {
  background-color: #9b2f22;
}

.register .form-group {
  position: relative;
  margin-bottom: 1rem;
  text-align: left;
}

.register .form-label {
  color: #fff;
  font-weight: bold;
}

.register .form-input {
  width: 100%;
  padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

.register .form-icon-left {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  fill: #999;
}

.register .msg {
  margin: 10px 0;
  font-weight: bold;
}

.register .msg.error {
  color: #ffdddd;
}

.register .msg.success {
  color: #ccffcc;
}

.register a.form-link {
  color: #ffcc70;
  text-decoration: underline;
}

.register a.form-link:hover {
  color: #fff;
}

.register .form-input {
  width: 100%;
  box-sizing: border-box; /* Ensures padding doesn't increase width */
  padding: 0.75rem 0.75rem 0.75rem 2.5rem;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  background-color: #f0f4ff;
  color: #333;
}

/* Optional: make the form group max-width smaller than registercontainer */
.register .form-group {
  max-width: 100%;
  width: 100%;
}

.login-form {
  width: 100%;
  max-width: 100%;
}


.page-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	padding-top: 80px; /* space for nav */
	box-sizing: border-box;
}

.page-wrapper .card {
	max-width: 600px;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	border-radius: 15px;
	padding: 1.5rem;
	box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}
