* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

body {
  height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url("../images/bg2.jpg") center center / cover no-repeat fixed;
}

.body-blur {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: none;
}

body > *:not(.body-blur) {
  position: relative;
  z-index: 1;
}

.container {
  display: flex;
  width: 800px;
  height: 500px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  animation: slideIn 0.6s ease-in-out;
}

@keyframes slideIn {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.left-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: #fff;
}

.brand-block {
  text-align: center;
}

.brand-logo {
  width: 240px;
  height: 240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
  box-shadow: none;
  overflow: visible;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.right-panel {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  border-left: 1px solid #eee;
}

.right-panel h2 {
  margin-bottom: 24px;
  color: #333;
}

form {
  display: flex;
  flex-direction: column;
}

form[hidden] {
  display: none !important;
}

label {
  margin: 8px 0 4px;
  font-weight: 500;
}

input {
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.btn-submit {
  background-color: #2371d1;
  color: white;
  padding: 14px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-submit:hover {
  background-color: #155ab1;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#session-message,
#change-message {
  color: #e53935;
  margin-top: 12px;
  font-size: 14px;
}

.change-hint {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.45;
  color: #555;
}

.btn-link {
  margin-top: 10px;
  background: none;
  border: none;
  color: #2371d1;
  cursor: pointer;
  font-size: 13px;
  text-align: left;
  padding: 0;
}

.btn-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    width: 90%;
    height: auto;
  }

  .left-panel,
  .right-panel {
    width: 100%;
    padding: 32px 20px;
  }
}
