@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wght@700&family=Poppins:wght@400;500;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

/* Override base.html background for login page */
body, html {
  height: 100%;
  margin: 0;
  background: #343541 !important; /* Dark background to match chat theme */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Override the .bg class from base.html */
.bg {
  display: none !important;
}

/* Ensure content is properly positioned */
.content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.center {
  transform: translateY(-10%);
  width: 550px;
  height: auto;
  background: #ffffff; /* Keep original white for company branding */
  border-radius: 16px;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
  padding: 40px 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 40px 0;
}

/* Old logo classes removed - replaced with new hierarchy */

.chatbot-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 10px 0;
}

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid #ccc;
  padding-bottom: 20px;
  margin-bottom: 25px;
  text-align: center;
}

.title h2 {
  margin: 5px 0 0;
  color: #333;
  font-size: 24px;
  font-weight: 600;
}

.title h6 {
  font-size: 14px;
  color: #888;
  margin-bottom: 5px;
}

.sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sign p {
  color: #555;
  font-size: 15px;
  margin-bottom: 15px;
  padding: 0 20px;
}

.sign .btn {
  width: 220px;
  font-weight: 600;
  background-color: #0078d4; /* Keep original Microsoft blue */
  border: none;
  color: white;
  transition: background-color 0.3s ease;
}

.sign .btn:hover {
  background-color: #005ea2;
}

/* Main company logo - CPAXTRA */
.main-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.logo-main {
  height: 75px; /* Bigger size for main company logo */
  width: auto;
}

/* Brand logos - Lotuss, Chatbot Avatar, and Makro (Under CPAXTRA) */
.brand-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px; /* Reduced gap to fit all three items nicely */
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.logo-brand {
  opacity: 0.8; /* Slightly dimmed to show hierarchy */
}

/* Specific sizing for each brand logo - independent sizing approach */
.logo-brand[alt="Lotuss"] {
  height: auto; /* Let height adjust naturally */
  width: 120px; /* Control width instead of height for horizontal logo */
}

.logo-brand[alt="Makro"] {
  height: 55px; /* Reduced from 65px for better balance */
  width: auto; /* Let width adjust naturally */
}

/* Chatbot logo in the middle */
.chatbot-logo {
  width: 75px; /* Increased from 60px for better prominence */
  height: 75px; /* Increased from 60px for better prominence */
  object-fit: contain;
  margin: 0; /* Remove margin since it's now inline */
  opacity: 1; /* Full opacity for the main product */
}

@media (max-width: 768px) {
  .center {
    width: 90%;
    padding: 30px 20px;
  }

  .logo-main {
    height: 60px; /* Smaller on mobile but still prominent */
  }

  .brand-logos {
    gap: 15px; /* Reduce gap on mobile for better fit */
  }

  .logo-brand[alt="Lotuss"] {
    width: 70px; /* Smaller width for mobile */
    height: auto;
  }

  .logo-brand[alt="Makro"] {
    height: 35px; /* Smaller height for mobile */
    width: auto;
  }

  .chatbot-logo {
    width: 55px; /* Increased from 45px for better prominence on mobile */
    height: 55px; /* Increased from 45px for better prominence on mobile */
  }

  .sign .btn {
    width: 100%;
  }
}