/* ==========================================
   MARKAZ UNIFIED LOGIN SYSTEM CSS
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f6f9;
  padding: 30px;
}

.container {
  position: relative;
  max-width: 950px;
  width: 100%;
  background: #fff;
  padding: 40px 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 12px;
  display: flex;
  min-height: 550px;
}

/* --- Left Side (Image Cover) --- */
.container .cover {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  z-index: 98;
  border-radius: 12px 0 0 12px;
  overflow: hidden;
}

.cover img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  z-index: 10;
}

.cover .text {
  position: absolute;
  z-index: 11;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 107, 60, 0.7); /* Markaz Green Overlay */
  color: #fff;
  text-align: center;
  padding: 20px;
}

.cover .text .text-1 {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.cover .text .text-2 {
  font-size: 15px;
  font-weight: 300;
}

/* --- Right Side (Forms) --- */
.container .forms {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 50%;
  background: #fff;
  padding: 40px;
  border-radius: 0 12px 12px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-content .title {
  position: relative;
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 30px;
}

.form-content .title::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 3px;
  width: 35px;
  background: #006b3c;
  border-radius: 5px;
}

/* --- Input Fields --- */
.input-boxes {
  margin-top: 10px;
}

.input-box {
  display: flex;
  align-items: center;
  height: 50px;
  width: 100%;
  margin: 15px 0;
  position: relative;
}

.input-box input {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  padding: 0 30px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 2px solid #ccc;
  transition: all 0.3s ease;
  background: transparent;
}

.input-box input:focus,
.input-box input:valid {
  border-color: #006b3c;
}

.input-box i {
  position: absolute;
  color: #006b3c;
  font-size: 17px;
}

/* --- Buttons & Links --- */
.button button {
  color: #fff;
  background: #006b3c;
  border-radius: 6px;
  padding: 0;
  font-size: 17px;
  font-weight: 600;
  transition: all 0.4s ease;
}

.button button:hover {
  background: #004d2a;
}

.text a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}

.text a:hover {
  color: #006b3c;
  text-decoration: underline;
}

/* --- Hidden Flip Checkbox --- */
#flip {
  display: none;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
  .container {
    max-width: 100%;
    min-height: auto;
    flex-direction: column;
  }
  .container .cover {
    display: none; /* Hide image on small screens */
  }
  .container .forms {
    position: relative;
    width: 100%;
    border-radius: 12px;
    padding: 30px 20px;
  }
}