@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
/* Root colors for TanAir Branding */
:root {
  --blue-color: #0073e6;
  --yellow-color: #ffc800;
  --text-color: #333333;
  --button-hover: #005bb5;
  --primary-color: #0073e6;
  --text-color: #2d3748;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --border-color: #e2e8f0;
  --error-color: #e53e3e;
  --success-color: #38a169;
  --primary: #0073e6;
  --primary-dark: #0052cc;
  --secondary: #6c757d;
  --success: #28a745;
  --bg-light: #f8f9fa;
  --text-main: #2d3748;
  --text-light: #718096;
  --border: #e2e8f0;
  --shadow: rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}
body {
  font-family: "Poppins", sans-serif;
  background-color: #fff;
  color: var(--text-color);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: var(--bg-light);
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

/* Animated Background */
.animated-background {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e9f2 100%);
  overflow: hidden;
  z-index: -1;
}

.cube {
  position: absolute;
  background: rgba(0, 115, 230, 0.1);
  animation: cube 25s linear infinite;
}

.cube:nth-child(1) {
  width: 100px;
  height: 100px;
  top: 25%;
  left: 15%;
}
.cube:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 55%;
  left: 45%;
}
.cube:nth-child(3) {
  width: 80px;
  height: 80px;
  top: 15%;
  right: 15%;
}
.cube:nth-child(4) {
  width: 120px;
  height: 120px;
  bottom: 25%;
  right: 35%;
}
.cube:nth-child(5) {
  width: 90px;
  height: 90px;
  bottom: 15%;
  left: 25%;
}

@keyframes cube {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }
  100% {
    transform: rotate(360deg) translate(100px, 100px);
  }
}

.container {
  background: url(/Images/login-background.jpg) center center/cover no-repeat
    fixed;
  height: 100vh;
  position: relative;
  color: #fff;
}
.container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}
.container * {
  z-index: 10;
}
.loginHeader {
  padding-top: 40px;
  text-align: center;
  opacity: 0.9;
  margin-bottom: 60px;
}
.loginHeader h1 {
  font-size: 80px;
  color: var(--blue-color);
}
.loginHeader p {
  color: var(--yellow-color);
  font-size: 50px;
}
.loginHeader p::after {
  content: "";
  display: block;
  height: 5px;
  background: var(--blue-color);
  width: 50%;
  margin: 0 auto;
}
.loginBody form {
  margin: 0 auto;
  width: 600px;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 50px;
  border: 1px solid var(--blue-color);
  border-radius: 10px;
  opacity: 0.9;
}
.loginInputsContainer {
  margin-top: 20px;
}
.loginInputsContainer label {
  display: block;
  font-size: 20px;
  font-weight: bold;
  text-align: left;
  color: var(--yellow-color);
}
.loginInputsContainer input {
  width: 100%;
  padding: 4px;
  height: 40px;
  border: 2px solid #f5f5f5;
  border-radius: 5px;
  font-size: 20px;
  text-align: center;
}
.loginInputsContainer input:focus {
  outline-color: var(--blue-color);
}
.btn {
  margin-top: 40px;
  text-align: center;
}
.btn button {
  font-size: 20px;
  width: 100%;
  padding: 10px 70px;
  background: var(--blue-color);
  color: #f4f4f4;
  border-radius: 7px;
  cursor: pointer;
}
.btn button:hover {
  font-size: 20px;
  padding: 10px 70px;
  border-radius: 7px;
  background: #fff;
  color: var(--text-color);
}

.login-container {
  display: flex;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px var(--shadow);
  width: 1200px;
  height: 700px;
  overflow: hidden;
}

/* Left Side */
.login-left {
  flex: 1;
  padding: 60px;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  display: flex;
  flex-direction: column;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  margin-bottom: 40px;
}

.logo i {
  font-size: 2rem;
}

.login-header h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.login-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Stats Preview */
.stats-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 60px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Feature List */
.feature-list {
  margin-top: auto;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.feature-item i {
  font-size: 1.2rem;
}

/* Right Side */
.login-right {
  flex: 1;
  padding: 60px;
  display: flex;
  flex-direction: column;
}

.login-box {
  max-width: 400px;
  margin: 0 auto;
  width: 100%;
}

.login-box h2 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 10px;
}

.login-box p {
  color: var(--text-light);
  margin-bottom: 30px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.input-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon i {
  position: absolute;
  left: 15px;
  color: var(--text-light);
}

.input-icon input {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-icon input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.1);
  outline: none;
}

.toggle-password {
  position: absolute;
  right: 15px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
}

/* Form Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
}

.forgot-password {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

/* Login Button */
.btn-login {
  width: 100%;
  padding: 15px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Social Login */
.divider {
  text-align: center;
  margin: 30px 0;
  position: relative;
}

.divider::before,
.divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 45%;
  height: 1px;
  background: var(--border);
}

.divider::before {
  left: 0;
}
.divider::after {
  right: 0;
}

.divider span {
  background: white;
  padding: 0 15px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.social-login {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-social {
  width: 45px;
  height: 45px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: white;
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-social:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

/* Help Links */
.help-links {
  margin-top: auto;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.help-links a {
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.help-links a:hover {
  color: var(--primary);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .login-container {
    width: 95%;
    height: auto;
    flex-direction: column;
    margin: 20px;
  }

  .login-left,
  .login-right {
    padding: 40px;
  }

  .stats-preview {
    margin: 40px 0;
  }
}

@media (max-width: 768px) {
  .login-left {
    display: none;
  }

  .login-right {
    padding: 30px;
  }

  .form-options {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

.login-banner {
  position: relative;
  background: url("../images/cargo-banner.jpg") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 40px;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(0, 115, 230, 0.9),
    rgba(0, 115, 230, 0.6)
  );
}

.banner-content {
  position: relative;
  z-index: 1;
}

.banner-content h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-content p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.login-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.login-header {
  text-align: center;
  margin-bottom: 40px;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 30px;
}

.brand i {
  font-size: 1.8rem;
}

.login-header h2 {
  color: var(--text-color);
  margin-bottom: 10px;
}

.login-header p {
  color: var(--text-light);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color);
  font-weight: 500;
}

.form-group label i {
  color: var(--primary-color);
}

.form-group input {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.1);
}

.password-input {
  position: relative;
  display: flex;
  align-items: center;
}

.toggle-password {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 0;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-color);
}

.forgot-password {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
}

.btn-login {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: #0065cc;
  transform: translateY(-1px);
}

.login-footer {
  margin-top: auto;
  text-align: center;
}

.system-requirements {
  margin-bottom: 15px;
}

.system-requirements p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.browser-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  color: var(--text-light);
  font-size: 1.2rem;
}

.copyright {
  color: var(--text-light);
  font-size: 0.85rem;
}

@media (max-width: 1024px) {
  .login-container {
    grid-template-columns: 1fr;
    height: auto;
    margin: 20px;
  }

  .login-banner {
    display: none;
  }
}

@media (max-width: 480px) {
  .login-content {
    padding: 20px;
  }

  .form-options {
    flex-direction: column;
    gap: 15px;
  }
}

.login-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 15px 25px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.login-notification.success {
  background: var(--success-color);
  color: white;
}

.login-notification.error {
  background: var(--error-color);
  color: white;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
