* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #141414; /* Main area color */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0d0d0d; /* Different from main */
  padding: 0px 30px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.footer {
  background-color: #000; /* Footer unique dark */
  color: #888;
  font-size: 0.8rem;
  padding: 0px 20px;
  text-align: left; /* Extreme left */
  flex-shrink: 0;
  border-top: 1px solid #222;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 36px;
}

.header-right .contact-icons {
  display: flex;
  gap: 15px;
}

.icon {
  width: 22px;
  filter: brightness(0) invert(1);
  cursor: pointer;
  transition: transform 0.2s;
}

.icon:hover {
  transform: scale(1.1);
}

.main-content {
  display: flex;
  flex: 1;
  height: 100%;
}

.left-section {
  flex: 3;
  padding: 40px;
  background-color: #181818;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.left-section h2 {
  font-size: 2rem;
  margin-bottom: 25px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 90%;
}

.card {
  background-color: #2a2a2a;
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.2s;
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #00ccff;
}

.right-section {
  flex: 2;
  background-color: #1e1e1e;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.form-container {
  width: 100%;
  max-width: 360px;
  background-color: #222;
  padding: 25px 20px;
  margin-top: 85px;
  border-radius: 12px;
  box-shadow: 0 0 20px #000;
}

.auth-form h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

input {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border: none;
  border-radius: 8px;
  background-color: #2c2c2c;
  color: white;
  font-size: 1rem;
}

button {
  width: 100%;
  padding: 10px;
  background-color: #0077ff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 10px;
}

button:hover {
  background-color: #0055cc;
}

.switch-text {
  font-size: 0.9em;
  text-align: center;
  margin-top: 10px;
}

.switch-text a {
  color: #00ccff;
  text-decoration: none;
}

.message {
  margin-top: 10px;
  color: #ff6b6b;
  text-align: center;
}

.hidden {
  display: none;
}