/* Reset some basic styles */
body, h1, form {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
 }
 
 /* General body styling */
 body {
  font-family: 'Roboto', sans-serif;
  background: url('/myimages/background-admin.webp') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  color: #fff;
}

 
 /* Logo and brand name container */
 .logo-container {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px; /* Space between logo and brand name */
 }

 .logo{
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-right: 50px;
 }
 
 .logo img {
  width: 60px;
  height: 60px; 
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 5px white;
 }

 .admin-form-header-wrap{
  margin-top: 20px;
  background: rgb(218,165,32,0.5);
  padding: 5px 20px;
  border-radius: 25px;
  box-shadow: 0 0 5px navy;
 }
 
 .brand-name h1 {
  margin: 0;
  font-size: 1.5rem;
  color: #f0f0f0;
  display: flex;
  align-items: center;
 }
 
 /* Container styling for login and register forms */
 .admin-login-container, .admin-register-container {
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 128,0.3); 
  width: 100%;
  max-width: 400px;
  box-sizing: border-box; /* Ensure padding is included in width calculation */
 }
 
 /* Heading styling */
 h1 {
  margin-bottom: 1rem;
  text-align: center;
  font-size: 2rem;
  color: #f0f0f0;
 }
 
 /* Form input styling */
 .input-group {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column; /* Ensure label and input are stacked vertically */
 }
 
 .input-group label {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-align: left; /* Ensure label text is aligned left */
 }
  
 .input-group input {
  width: calc(100% - 2px); /* Adjust width to ensure no extra space on right */
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 1rem;
  box-sizing: border-box; 
 }
 
 .input-group input:focus {
  border-color: #4e54c8;
  outline: none;
 }
 
 /* Button styling */
 button {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 4px;
  background: rgba(0, 0, 128,0.7);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
 }
 
 button:hover {
  background: rgba(0, 0, 128,0.8); /* Darker shade on hover */
 }
 
 /* Link styling */
 p a {
  color: #4e54c8;
  text-decoration: none;
 }
 
 p a:hover {
  text-decoration: underline;
 }
 
 /* Add this to your existing admin.css */
 
 /* Success message styling */
 .success-container {
  background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Shadow for depth */
  width: 100%;
  max-width: 400px;
  margin: auto;
  text-align: center;
  color: #fff;
 }
 
 .success-container h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
 }
 
 .success-container p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
 }
 
 .success-container .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  background: #4e54c8;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.3s ease;
 }
 
 .success-container .btn:hover {
  background: #3e45a3; /* Darker shade on hover */
 }
 .links{
  margin-top: 20px;
 }

 .admin-text-color{
  color:aliceblue;
  transition: 0.3s ease;
 }
 .admin-text-color:hover{
  color:#fff;
  background-color: black;
  padding: 5px;
  border-radius: 3px;
 }
 
 .flash-container {
  margin: 20px auto;
  width: 100%;
  text-align: center;
}

.flash-container .alert {
  display: inline-block;
  margin-bottom: 10px;
}

 
 /* Responsive design for smaller screens */
 @media (max-width: 1100px) {
  .admin-login-container, .admin-register-container {
    padding: 1rem;
  }
 
  h1 {
    font-size: 1.5rem;
  }
 
  .input-group input, button {
    font-size: 0.875rem;
  }
 }
 