/* Global Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Centered container */
.container {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    width: 300px;
    text-align: center;
}

/* Heading styles */
h2 {
	margin-bottom: 20px;
    color: #333333;
}

/* Form styles */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="submit"],
button {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

input[type="submit"],
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover,
button:hover {
    background-color: #45a049;
}

/* Link styles */
a {
    color: #4CAF50;
    text-decoration: none;
    font-size: 14px;
    margin-top: -10px;
}

a:hover {
    text-decoration: underline;
}

/* Error and Success messages */
.message {
    text-align: center;
    font-size: 14px;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

.success {
    background-color: #e7f4e7;
    color: #2d7a2d;
}

.error {
    background-color: #f9e6e6;
    color: #d32f2f;
}
/* Toast styles */
.toast {
	visibility: hidden;
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #4CAF50;
	color: white;
	padding: 15px;
	border-radius: 5px;
	font-size: 14px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
	transition: visibility 0.3s, opacity 0.3s ease-in-out;
	opacity: 0;
}

.toast.show {
	visibility: visible;
	opacity: 1;
}
.logout-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 10px 20px;
  background-color: #f44336;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.logout-btn:hover {
  background-color: #d32f2f;
}