/* Extracted from original inline styles */
* {
  box-sizing: border-box;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  padding: 20px;
}
.container {
  max-width: 800px;
  margin: 0 auto;
}
.card {
  background: white;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}
h1 {
  color: #333;
  margin-bottom: 10px;
  font-size: 28px;
}
.subtitle {
  color: #666;
  margin-bottom: 30px;
}
.form-group {
  margin-bottom: 20px;
}
label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 500;
}
input[type="text"] {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s;
}
input[type="text"]:focus {
  outline: none;
  border-color: #667eea;
}
input[type="password"] {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s;
}
input[type="password"]:focus {
  outline: none;
  border-color: #667eea;
}
.btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
}
.btn:disabled {
  opacity: 0.6;
}
.btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(118, 75, 162, 0.2);
}
.btn-logout {
  width: auto;
  padding: 10px 20px;
  font-size: 14px;
}
.alert {
  padding: 15px;
  border-radius: 8px;
  margin-top: 20px;
  display: none;
}
.alert-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.alert-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.version-info {
  background: #ffffff;
  padding: 22px;
  border-radius: 12px;
  margin-top: 20px;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.03);
}
.version-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eef0f3;
}
.version-row:last-child {
  border-bottom: none;
}
.version-label {
  color: #7b7f87;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.version-value {
  color: #222;
  font-weight: 700;
  text-align: right;
}
.version-badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(90deg, #6f7bed 0%, #8f6cd9 100%);
  color: white;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(103, 77, 195, 0.1);
}

/* Download button styling */
.download-btn {
  display: inline-block;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(118, 75, 162, 0.12);
}
.download-btn:hover {
  transform: translateY(-2px);
}

/* Make rows look like a table */
.version-row .version-label {
  flex: 0 0 45%;
}
.version-row .version-value {
  flex: 0 0 55%;
}

/* Small utilities */
.small-muted {
  color: #9aa0a6;
  font-size: 13px;
}

/* Dashboard header with logout button */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.dashboard-header h1 {
  margin-bottom: 0;
}

#loginSection {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
#loginSection .container {
  max-width: 400px;
}
