/* General styles for form elements */
.container {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}

h1 {
    text-align: center;
}

/* Style for input fields */
.form-group {
    margin-bottom: 15px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

/* Style for error messages */
.error {
    color: #d9534f; /* Bootstrap's danger color */
    font-size: 0.875em; /* Slightly smaller size */
    margin-top: 5px;
}

/* Style for success messages */
.success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #5cb85c;
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 1em;
}

/* Highlighting the input field in case of an error */
input.error-input {
    border-color: #d9534f; /* Change border color on error detection */
}

/* Button styles */
button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    background-color: #5bc0de; /* Bootstrap's info color */
    color: white;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #31b0d5; /* Darker shade for hover */
}

/* Add transition for smooth hovering effect */
button,
input {
    transition: border-color 0.3s;
}

.hidden {
    display: none;
  }
  
  .visible {
    display: block;
  }

  .error {
    color: #d9534f; /* Bootstrap's danger color */
    font-size: 0.875em; /* Slightly smaller size */
    margin-top: 5px;
}