* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Google Sans", "Segoe UI", Roboto, -apple-system, sans-serif;
  background: #f8f9fa;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.container {
  display: flex;
  max-width: 1200px;
  width: 100%;
  gap: 80px;
  align-items: center;
}

.left-content {
  background: linear-gradient(135deg, #8e0e00, #d31027);
  color: #fff;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 12px 0 0 12px;
  max-width: 520px;
}

.university-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-favicon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
}

.logo-text {
  font-family: "Brush Script MT", cursive;
  font-size: 2.8rem;
  font-style: italic;
  font-weight: bold;
  letter-spacing: 1px;
}

.university-name {
  font-size: 1.6rem;
  font-weight: 700;
  margin-top: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
  font-size: 1.1rem;
  margin-top: 15px;
  font-weight: bolder;
  font-family: "Inter", sans-serif;
  color: #1174f5;
  justify-content: center;
}

.description {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-top: 15px;
  opacity: 0.9;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 25px;
  gap: 15px;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 0.9rem;
}

.highlight-item i {
  font-size: 1.6rem;
  margin-bottom: 8px;
  color: #ffd700;
}

.footer-note-left {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 20px;
  opacity: 0.8;
}

.login-card {
  flex: 1;
  max-width: 480px;
  background: white;
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3),
    0 2px 6px 2px rgba(60, 64, 67, 0.15);
}

.card-header {
  text-align: center;
  margin-bottom: 32px;
}

.card-logo {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1a73e8 0%, #174ea6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.card-logo-text {
  color: white;
  font-size: 20px;
  font-weight: 700;
}

.card-title {
  font-size: 24px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 8px;
}

.card-subtitle {
  font-size: 16px;
  color: #5f6368;
}

.form-group {
  margin-bottom: 24px;
}

.input-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #202124;
  margin-bottom: 8px;
}

.input-wrapper {
  position: relative;
}

.input-field {
  width: 100%;
  background: white;
  border: 1px solid #dadce0;
  border-radius: 8px;
  padding: 14px 16px;
  color: #202124;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  transition: all 0.15s ease;
}

.input-field:hover {
  border-color: #202124;
}

.input-field:focus {
  border-color: #1a73e8;
  box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.input-field::placeholder {
  color: #80868b;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #5f6368;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: all 0.15s ease;
}

.password-toggle:hover {
  background: #f1f3f4;
  color: #202124;
}

.error-message {
  color: #d93025;
  font-size: 13px;
  margin-top: 8px;
  display: none;
  font-weight: 500;
}

.error-message.show {
  display: block;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.remember-me {
  display: flex;
  align-items: center;
  cursor: pointer;
  color: #5f6368;
  font-size: 14px;
  font-weight: 500;
}

.checkbox-custom {
  width: 18px;
  height: 18px;
  border: 2px solid #5f6368;
  border-radius: 3px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.remember-me input:checked ~ .checkbox-custom {
  background: #1a73e8;
  border-color: #1a73e8;
}

.remember-me input {
  display: none;
}

.checkmark {
  color: white;
  font-size: 11px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.remember-me input:checked ~ .checkbox-custom .checkmark {
  opacity: 1;
}

.forgot-link {
  color: #1a73e8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.forgot-link:hover {
  color: #174ea6;
}

.submit-btn {
  width: 100%;
  background: #1a73e8;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(26, 115, 232, 0.3);
}

.submit-btn:hover {
  background: #1765cc;
  box-shadow: 0 1px 3px rgba(26, 115, 232, 0.5);
}

.submit-btn:active {
  background: #1557b0;
}

.submit-btn:disabled {
  background: #f1f3f4;
  color: #80868b;
  box-shadow: none;
  cursor: not-allowed;
}

.signup-text {
  text-align: center;
  margin-top: 28px;
  color: #5f6368;
  font-size: 14px;
}

.signup-link {
  color: #1a73e8;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.signup-link:hover {
  color: #174ea6;
  text-decoration: underline;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e8eaed;
}
.logo-favicon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  display: inline-block;
}

.logo-moboile {
  width: 205px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
}

.footer-link {
  color: #5f6368;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.hidden {
  display: none;
}
.footer-link:hover {
  color: #202124;
}

.img-mobo{
  display: none;
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 8px;
}
.logo-img {
  width: 300px;
  height: 110px;
  align-items: center;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 480px) {
  body {
    background-color: #b8b7bfb8;
  }

  .container {
    margin-top: 0;
    flex-direction: column;
    gap: 10px;
  }

  .img-mobo {
    display: block;
  }

  .login-card {
    padding: 25px 40px;
    margin: 0;
  }

  .left-content {
    display: none; 
  }

  .university-name {
    font-size: 26px;
  }

  .portal-name {
    font-size: 20px;
  }

  .card-title {
    font-size: 20px;
  }
}


@media (max-width: 968px) {
  .container {
    flex-direction: column;
    gap: 48px;
  }

   .img-mobo {
    display: block;
  }

  .left-content {
    display: none;
    text-align: center;
  }

  .university-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .features-list {
    display: inline-block;
    text-align: left;
  }
}

@media (min-width: 969px) {
  .left-content {
    display: block; 
  }
}
