* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.login-iris-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.login-iris-section:hover {
  transform: scale(1.02);
}

.login-content {
  flex: 1;
  padding-right: 2rem;
  color: #fff;
  text-align: center;
}

.iris-brand {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.brand-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 111, 97, 0.4)) brightness(1.1) contrast(1.2);
  animation: brandPulse 2s ease-in-out infinite;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

@keyframes brandPulse {
  0%, 100% { 
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(255, 111, 97, 0.3));
  }
  50% { 
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(255, 204, 92, 0.5));
  }
}

.iris-brand h1 {
  font-size: 3.5rem;
  font-weight: bold;
  background: linear-gradient(90deg, #ff6f61, #ffcc5c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}

.welcome-text {
  font-size: 1.1rem;
  color: #ccc;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.signin-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
  padding: 0.75rem 1.5rem;
  background: #fff;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  position: relative;
  min-width: 200px;
  animation: buttonPulse 3s ease-in-out infinite;
}

@keyframes buttonPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.signin-button:hover {
  background: #ffcc5c;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  animation: none;
}

.signin-button:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
  animation: none;
}

.signin-button:focus {
  outline: 2px solid #ff6f61;
  outline-offset: 2px;
}

.button-content {
  display: flex;
  align-items: center;
}

.button-content i {
  margin-right: 0.5rem;
}

.loading-spinner {
  display: none;
  align-items: center;
}

.loading-spinner i {
  margin-right: 0.5rem;
}

.error-message {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(255, 99, 99, 0.1);
  border: 1px solid #ff6363;
  border-radius: 8px;
  color: #ff9999;
  font-size: 0.9rem;
  text-align: center;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.thermal-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thermal-image img {
  max-width: 100%;
  max-height: 80vh;
  height: auto;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.thermal-image img:hover {
  transform: rotate(2deg) scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .login-iris-section {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .login-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .iris-brand {
    gap: 0.75rem;
  }

  .iris-brand h1 {
    font-size: 2.5rem;
  }

  .brand-icon {
    width: 50px;
    height: 50px;
  }

  .welcome-text {
    font-size: 1rem;
  }

  .thermal-image img {
    max-width: 80%;
    max-height: 50vh;
  }
}

@media (max-width: 480px) {
  .iris-brand {
    gap: 0.5rem;
  }

  .iris-brand h1 {
    font-size: 2rem;
  }

  .brand-icon {
    width: 45px;
    height: 45px;
  }

  .welcome-text {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .signin-button {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    min-width: 180px;
  }

  .thermal-image img {
    max-height: 40vh;
  }
}
