/* Global Reset & Typography */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  margin: 10px;
  background: none;
  min-height: 90vh;
 box-shadow: 0 4px 25px rgba(255, 255, 255, 0.6); /* White glow */
  color: #555;
  margin-bottom: 100px;
  border: 2px solid #f5f5f5;
  padding: 20px;
border-radius: 50px;
}

/* Logo Styling */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -20px;
  position: relative;
  z-index: 1;
}

.logo img {
  width: 350px;
  height: 200px;
  object-fit: contain;
  display: block;
  transition: opacity 0.3s ease;
  z-index: 100;
}
.back-icon {
  display: inline-block;
  position: absolute;
  top: 50px;
  left: 30px;
  text-decoration: none;
  z-index: 9999; /* ensure it’s on top of everything */
}

.back-icon img {
  width: 34px;
  height: 34px;
  pointer-events: auto; /* make sure the image can receive clicks */
}

/* Form Container */
form {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* Headings and Separators */
h2 {
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 30px 0;
}


/* Labels and Inputs */
label {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin: 25px 0 10px;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 14px 18px;
  font-size: 17px;
  border: 2px solid #000;
  border-radius: 50px;
  margin-bottom: 20px;
  outline: none;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
  border-color: #2e6cdf;
}

/* Checkbox */
input[type="checkbox"] {
  transform: scale(1.3);
  margin-right: 10px;
}

/* Buttons */
button {
  display: block;
  width: 100%;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  background-color: #000;
  color: #fff;
  border: none;
  border-radius: 50px;
  margin-top: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #333;
}

/* Messages */
.success,
.error {
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.success {
  background-color: #e0ffe0;
  color: green;
}

.error {
  background-color: #ffe0e0;
  color: red;
}

/* Links */
a {
  color: #2e6cdf;
  font-size: 20px;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Back Icon */

    .dark-mode {
      background-color: #121212;
      color: #fff;
    }

    .light-mode {
      background-color: #ffffff;
      color: #000;
    }
.dark-mode a {
  color: #5fa8ff;  /* Softer blue for dark backgrounds */
}

.dark-mode input {
  background-color: #2a2a2a;
  color: #ccc;
  border: 1px solid #444;
}
.dark-mode button {
  background-color: 2a2a2a; /* Keep default background */
  color: #ccc;            /* Keep default text color */
  border: none;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1); /* Subtle white shadow */
}
