/* --- TAXVAULT AUTH PAGES (DESKTOP & MOBILE) --- */
* {
  box-sizing: border-box;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

html, body.auth-page {
  background-color: #42597a;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.auth-page {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.taxvault-login-card {
  background-color: #0b1329;
  padding: 40px;
  border-radius: 16px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
  border: 1px solid #1e293b;
  color: #ffffff;
}

.auth-logo {
  width: 48px;
  height: 48px;
  background-color: rgba(99, 102, 241, 0.15);
  color: #818cf8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
}

.auth-header {
  text-align: center;
  margin-bottom: 28px;
}

.auth-header h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.auth-header p {
  margin: 6px 0 0;
  color: #94a3b8;
  font-size: 13px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-field label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 6px;
}

.auth-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background-color: #1e293b;
  border: 1px solid #334155;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.auth-input::placeholder {
  color: #64748b;
}

.auth-input:focus {
  border-color: #3ecf8e;
}

.auth-btn {
  width: 100%;
  background-color: #ffffff;
  color: #0b1329;
  font-weight: 700;
  padding: 13px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  margin-top: 6px;
  transition: background-color 0.2s ease;
}

.auth-btn:hover {
  background-color: #e2e8f0;
}

.auth-extras {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.taxvault-link {
  color: #3ecf8e;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
}

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

/* Απόκρυψη βιομετρικών στον Desktop Browser */
.biometric-container {
  display: none !important;
}

.biometric-btn {
  width: 100%;
  background-color: #1e293b;
  color: #ffffff;
  border: 1px solid #334155;
  padding: 13px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.biometric-btn:hover {
  background-color: #273548;
  border-color: #475569;
}

.auth-footer {
  text-align: center;
  margin-top: 8px;
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* --- MOBILE FULL SCREEN (100% ΣΚΟΥΡΟ ΜΠΛΕ ΠΑΝΤΟΥ) --- */
@media (max-width: 768px) {
  html, body.auth-page {
    background-color: #0b1329 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    min-height: 100dvh !important;
    align-items: stretch !important;
  }

  .taxvault-login-card {
    background-color: #0b1329 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100dvh !important;
    padding: 32px 24px !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  /* Εμφάνιση βιομετρικών αποκλειστικά σε κινητό */
  .biometric-container {
    display: block !important;
  }
}