@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	background-color: #006c00;
}

body {
	font-family: "Poppins", Arial, sans-serif;
	height: 100vh;
}

.wrapper {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 20px 5px;
}

.container {
  -webkit-border-radius: 10px 10px 10px 10px;
  border-radius: 10px 10px 10px 10px;
  background: #f3f3f3;
  padding: 20px;
  width: 98%;
  max-width: 450px;
  position: relative;
  -webkit-box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
  box-shadow: 0 30px 60px 0 rgba(0, 0, 0, 0.3);
  text-align: center;
}

a {
	text-decoration: none;
	color: #006c00;
	font-weight: bold;
}

a:hover {
	text-decoration: none;
	color: #068e06;
}

.hide {
	display: none;
}

h2 {
	font-size: 1.8rem;
	margin-bottom: 1rem;
	color: #006c00;
}

p {
	margin-bottom: 1.5rem;
	font-size: 1rem;
}

label {
	display: block;
	margin: 0.5rem 0 0.2rem;
	font-weight: bold;
}

input[type="text"],
input[type="password"],
input[type="email"] {
	width: 100%;
	padding: 8px;
	margin-bottom: 1rem;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-size: 1rem;
}

button, a.button {
	background: #006c00;
	color: white;
	padding: 10px 20px;
	margin: 10px 0;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	font-size: 18px;
}

button:hover, a.button:hover {
	background: #006c00;
}

.success-message {
	margin-top: 1rem;
	color: #006c00;
	text-align: center;
}

.error {
	color: #d32f2f;
}

.error-message {
	margin-top: -0.8em; 
	margin-bottom: 1em; 
	font-size: 14px;
}

.success {
	color: #11ac2a;
}

.success-msg {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background-color: #e6f4ea; /* Light green for success */
    color: #2e7d32; /* Dark green text for contrast */
    border: 1px solid #4caf50; /* Green border */
    border-radius: 4px;
    font-weight: bold;
    margin: 10px 0;
    max-width: 500px;
}

/* Optional: Hover effect for interactivity */
.success-msg:hover {
    background-color: #d0e9d5; /* Slightly darker green on hover */
    transition: background-color 0.2s ease;
}

.input-error {
	border-color: #d32f2f !important;
}