html {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.3)), url('templates/photo/img/Office.jpg') no-repeat center fixed;
  background-size: cover;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #2D3748;
}

.center {
  width: 380px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  backdrop-filter: blur(10px);
}

.logo {
  max-width: 160px;
  margin: 0 auto 2rem;
  display: block;
}

input, select {
  width: 100%;
  height: 48px;
  margin: 0.75rem 0;
  padding: 0 1rem;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: white;
  color: #2D3748;
  font-size: 0.95rem;
  transition: all 0.2s;
  box-sizing: border-box;
}

input:focus, select:focus {
  outline: none;
  border-color: #4299E1;
  box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

input[type="button"] {
  background: #4299E1;
  color: white;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-top: 1.5rem;
  font-size: 1rem;
}

input[type="button"]:hover {
  background: #3182CE;
  transform: translateY(-1px);
}

input[type="radio"] {
  width: auto;
  height: auto;
  margin: 0 0.5rem;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%232D3748' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

#span-credentials-ko {
  color: #E53E3E;
  text-align: center;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.twofa-popin {
  background: rgba(0, 0, 0, 0.75);
}

.twofa-popin .sp-body {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.twofa-popin h2 {
  color: #2D3748;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.twofa-popin input {
  max-width: 300px;
}

.twofa-popin .sp-close {
  background: #EDF2F7;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  line-height: 32px;
  top: 1rem;
  right: 1rem;
  color: #4A5568;
  transition: all 0.2s;
}

.twofa-popin .sp-close:hover {
  background: #E2E8F0;
  transform: rotate(90deg);
}

.error {
  background: #FED7D7;
  color: #C53030;
  border-radius: 6px;
  font-size: 0.875rem;
  padding: 0.5rem;
  margin: 0.5rem 0;
}

@media (max-width: 480px) {
  .center {
    width: 90%;
    padding: 1.5rem;
  }
}