/* =====================================================
   GLOBAL RESET
===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

/* =====================================================
   LOGIN PAGE BASE
===================================================== */
body {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0c1c3d;
  color: #fff;
  overflow: hidden;
}

/* =====================================================
   LAYOUT STRUCTURE
===================================================== */
.login-design-3 {
  display: flex;
  width: 100%;
  height: 100vh;
}

/* LEFT: Login Form */
.login-grp {
  width: 50%;
  background: #ffffff;
  color: #0c1c3d;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 40px 60px;
}

.login-parent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 20px;
}

.logo-only-icon {
  width: 60px;
  height: 60px;
}

.design-3-login {
  font-size: 2rem;
  font-weight: 700;
  color: #0c1c3d;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =====================================================
   FORM ELEMENTS
===================================================== */
.username-label {
  font-weight: 600;
  margin-top: 30px;
  display: block;
  color: #0c1c3d;
}

.username-container {
  width: 110%;
  background-color: #f0f2f8;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.username-container input {
  width: 110%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1rem;
  color: #0c1c3d;
}

.username-container input::placeholder {
  color: #7b7b7b;
}

/* Remember Me */
.remember-me-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 30px 0;
}

.remember-me-btn label {
  font-size: 0.95rem;
  color: #0c1c3d;
}

/* Login Button */
.login-btn {
  width: 110%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: #E94E1B;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background-color: #FFB400;
  transform: scale(1.02);
}

/* Register Section */
.no-account-apply {
  text-align: center;
  margin-top: 18px;
  font-size: 0.95rem;
  color: #0c1c3d;
}

.no-account-apply a {
  color: #E94E1B;
  text-decoration: none;
}

.no-account-apply a:hover {
  color: #FFB400;
  text-decoration: underline;
}

/* =====================================================
   RIGHT SECTION (BACKGROUND + LOGO + TEXT)
===================================================== */
.right-section {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.background-gif-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.navy-darkening-fx {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 25, 60, 0.7);
  z-index: 0;
}

.page-name {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
}

.official-logo-icon {
  width: 400px;
  height: auto;
  margin-bottom: -20px;
}

.community-partners-portal {
  font-family: 'PT Serif', serif;
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.submit-project-proposals-container {
  font-size: 1rem;
  text-align: left;
  line-height: 1.8;
}

.submit-project-proposals-list {
  list-style: none;
  padding: 0;
}

.submit-project-proposals-list li::before {
  content: "• ";
  color: #ffc107;
  font-weight: bold;
}

/* Border Design */
.right-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: url("../ASSETS/border-design.png") no-repeat bottom right;
  background-size: contain;
  z-index: 1;
  opacity: 0.9;
  animation: fadeInBorder 1.2s ease forwards;
}

@keyframes fadeInBorder {
  from {
    opacity: 0;
    transform: translate(30px, 30px);
  }
  to {
    opacity: 0.9;
    transform: translate(0, 0);
  }
}

/* =====================================================
   RESPONSIVE DESIGN
===================================================== */
@media (max-width: 900px) {
  .login-design-3 {
    flex-direction: column;
  }

  .login-grp,
  .right-section {
    width: 100%;
    height: 50vh;
  }

  .right-section {
    display: none;
  }

  .login-grp {
    height: 100vh;
    justify-content: center;
  }
}

/* =====================================================
   ALERT BOX (Same Style as Global)
===================================================== */
.alert-box {
  position: fixed;
  top: 20px;
  right: -400px;
  padding: 15px 25px;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  opacity: 0;
  transition: right 0.4s ease-in-out, opacity 0.3s ease;
  z-index: 9999;
}

.alert-box.show {
  right: 20px;
  opacity: 1;
}

.alert-box.success {
  background-color: #28a745;
}

.alert-box.error {
  background-color: #e74c3c;
}

.alert-box.info {
  background-color: #3498db;
}
