/* Enhanced Login Page Styles */

/* Full Screen Body and HTML */
html, body {
  margin: 0;
  padding: 0;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Full Screen Auth Cover Wrapper */
.auth-cover-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #08A355 0%, #28a745 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.auth-cover-content-inner {
  float: left;
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: calc(100vw - 550px);
  max-width: calc(100vw - 550px);
  margin: 0;
  padding: 0;
}

.auth-cover-sidebar-inner {
  float: right;
  display: flex;
  flex-direction: column;
  height: 100vh;
  width: 550px;
  max-width: 550px;
  background-color: #fff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  margin: 0;
  padding: 0;
}

.auth-cover-card-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding: 0;
  overflow-y: auto;
}

/* University Information Overlay */
.university-info-overlay {
  position: absolute;
  top: 2rem;
  left: 2rem;
  right: auto;
  bottom: auto;
  background: none;
  color: white;
  padding: 0;
  z-index: 10;
  max-width: 500px;
}

.university-info-content {
  max-width: 100%;
}

.university-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  /* Embossed text effect */
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.3),
    2px 2px 4px rgba(0, 0, 0, 0.8), 3px 3px 6px rgba(0, 0, 0, 0.6);
  line-height: 1.2;
  color: #ffffff;
}

.university-subtitle {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  /* Embossed text effect */
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.2),
    2px 2px 3px rgba(0, 0, 0, 0.7), 3px 3px 5px rgba(0, 0, 0, 0.5);
  color: #f8f9fa;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.contact-item i {
  margin-top: 0.1rem;
  width: 16px;
  flex-shrink: 0;
  color: #28a745;
  /* Embossed icon effect */
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.2),
    2px 2px 3px rgba(0, 0, 0, 0.7);
}

.contact-item span {
  line-height: 1.4;
  /* Embossed text effect for contact info */
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.1),
    2px 2px 3px rgba(0, 0, 0, 0.7), 3px 3px 5px rgba(0, 0, 0, 0.5);
  color: #f8f9fa;
}

/* Enhanced Auth Cover */
.auth-cover-content-inner {
  position: relative;
  overflow: hidden;
}

/* Add slight overlay for better text readability */
.auth-cover-content-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    transparent 70%
  );
  z-index: 5;
  pointer-events: none;
}

/* Login Form Enhancements */
.auth-cover-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.login-footer {
  border-top: 1px solid #e9ecef !important;
}

/* Form styling improvements */
.form-control {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.btn-success {
  border-radius: 8px;
  padding: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.btn-success:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Logo styling */
.wd-200 img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .university-info-overlay {
    top: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
  }

  .university-title {
    font-size: 1.8rem;
  }

  .university-subtitle {
    font-size: 1rem;
  }

  .contact-item {
    font-size: 0.85rem;
  }

  .auth-cover-card {
    margin: 1rem;
    padding: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .university-info-overlay {
    top: 0.75rem;
    left: 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .university-title {
    font-size: 1.5rem;
  }

  .university-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .contact-info {
    gap: 0.6rem;
  }

  .contact-item {
    font-size: 0.8rem;
  }
}

/* Animation for smooth appearance */
.university-info-overlay {
  animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Enhanced focus states */
.form-label {
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

.text-danger {
  color: #dc3545 !important;
}

/* Link styling */
a.text-primary {
  color: #28a745 !important;
  text-decoration: none;
  transition: color 0.3s ease;
}

a.text-primary:hover {
  color: #1e7e34 !important;
  text-decoration: underline;
}

/* Responsive adjustments for full screen */
@media (max-width: 1024px) {
  .auth-cover-content-inner {
    width: calc(100vw - 450px);
    max-width: calc(100vw - 450px);
  }

  .auth-cover-sidebar-inner {
    width: 450px;
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .auth-cover-wrapper {
    flex-direction: column;
    overflow-y: auto;
  }

  .auth-cover-content-inner {
    float: none;
    width: 100vw;
    max-width: 100vw;
    height: 50vh;
    order: 2;
  }

  .auth-cover-sidebar-inner {
    float: none;
    width: 100vw;
    max-width: 100vw;
    height: auto;
    min-height: 50vh;
    order: 1;
  }

  .auth-cover-card-wrapper {
    overflow-y: auto;
  }

  .university-info-overlay {
    top: 1rem;
    left: 1rem;
    max-width: calc(100% - 2rem);
  }

  .university-title {
    font-size: 1.8rem;
  }

  .university-subtitle {
    font-size: 1rem;
  }

  .contact-item {
    font-size: 0.85rem;
  }

  .auth-cover-card {
    margin: 1rem;
    padding: 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .auth-cover-content-inner {
    height: 40vh;
  }

  .auth-cover-sidebar-inner {
    min-height: 60vh;
  }

  .university-info-overlay {
    top: 0.75rem;
    left: 0.75rem;
    max-width: calc(100% - 1.5rem);
  }

  .university-title {
    font-size: 1.5rem;
  }

  .university-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .contact-info {
    gap: 0.6rem;
  }

  .contact-item {
    font-size: 0.8rem;
  }
}
