/* General Styling */
 body {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
            font-family: Arial, sans-serif;
            overflow: hidden; /* Prevents scrolling due to the background image */
        }
        
          /* Styling for full-page background image */
        .bg-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100vh;
            object-fit: cover;
            z-index: -1;
        }
.modal {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    position: relative;
}

.close-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 24px;
    cursor: pointer;
    position:absolute;
    top: 10px;
    right: 10px;
}

.close-btn i{
	color: #8b0000;
}

.close-btn:hover {
    color: #555;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

.input-box {
    margin-bottom: 15px;
}

.input-box input {
    width: calc(100% - 10px);
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.remember-forgot {
    margin-bottom: 15px;
}

.btn {
    background-color: #8b0000;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
}

#password-error ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

#password-error li {
  font-size: 12px;
  margin-bottom: 5px;
}

#password-error li::before {
  content: '\2022';
  font-weight: bold;
  font-size: 12px;
  color: red;
  margin-right: 5px;
}

.btn:hover {
    background-color: #c11111;
}

.btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

.btn:disabled:hover {
    background-color: #cccccc;
}

p {
    text-align: center;
    margin-top: 15px;
}

p a {
    color: #7b1012;
    text-decoration: none;
}

p a:hover {
    text-decoration: underline;
}
.message {
            margin-bottom: 15px;
            padding: 10px;
            border: 1px solid transparent;
            border-radius: 5px;
        }
.message.success {
            border-color: #d4edda;
            background-color: #d4edda;
            color: #155724;
            position:absolute;
            top: 2rem;
            margin:0 auto;
            width:300px;
            
        }
.message.error {
            border-color: #f8d7da;
            background-color: #f8d7da;
            color: #721c24;
            /*display:flex;
            align-items:center;
            justify-content:center;*/
            position:absolute;
           top: 2rem;
           /* left: 35rem;*/
            margin:0 auto;
            
            width:300px;
        }