/* Authorization styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #0d1a40, #1e3c72);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

/* Container layout */
.login-container {
  display: flex;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  width: 100%;
  transition: transform 0.3s ease;
}

.login-container:hover {
  transform: scale(1.02);
}

/* Left side illustration */
.login-illustration {
  background: linear-gradient(45deg, #1e3c72, #2a5298);
  color: #fff;
  padding: 40px 30px;
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.rocket-logo {
  width: 200px;
  margin-bottom: 30px;
  filter: drop-shadow(0 0 10px rgba(255, 107, 0, 0.5));
}

.illustration-text h1 {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
}

.illustration-text p {
  font-size: 1.2rem;
  margin-top: 10px;
  opacity: 0.9;
}

.illustration-text span {
  font-size: 1rem;
  margin-top: 10px;
  opacity: 0.7;
  font-style: italic;
}

/* Right side form */
.login-card {
  background-color: #fff;
  padding: 40px;
  width: 50%;
  color: #333;
  position: relative;
  overflow: hidden;
}

h2 {
  font-size: 1.8rem;
  color: #2a5298;
  margin-bottom: 10px;
  text-align: center;
}

p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #cbc0c0;
  text-align: center;
}

label {
  display: block;
  margin-top: 15px;
  margin-bottom: 6px;
  font-weight: 500;
  transition: color 0.3s ease;
}

label:hover {
  color: #ff6b00;
}

input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus {
  border-color: #ff6b00;
  outline: none;
}

button[type="submit"] {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  background-color: #ff6b00;
  color: #fff;
  border: none;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  background-color: #e65c00;
  transform: translateY(-2px);
}

.error-message {
  color: red;
  font-size: 0.9rem;
  display: none;
  margin-top: 8px;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.language-switch {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 0.85rem;
}

.language-switch button {
  background: none;
  border: none;
  color: #2a5298;
  font-weight: bold;
  margin-left: 5px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.language-switch button:hover {
  color: #ff6b00;
}

footer {
  margin-top: 30px;
  font-size: 0.8rem;
  color: #999;
  text-align: center;
}