/* =====================
   Jobito Design System
===================== */

:root {
  --primary: #2E4A5F;
  --secondary: #6FA5BA;
  --accent: #EF5350;
  --light: #F9F9F9;
  --dark: #1E2F3C;
  --border: #E5E7EB;
  --muted: #6B7280;
}

/* Reset */
* {
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* =====================
   Layout (Mobile First)
===================== */

.page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.card {
  background: #fff;
  width: 100%;
  max-width: 420px;
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Header */
.card h1 {
  margin: 0;
  color: var(--primary);
  text-align: center;
  font-size: 22px;
}

.subtitle {
  text-align: center;
  color: var(--muted);
  margin: 8px 0 20px;
  font-size: 14px;
}

/* Language switch */
.lang-switch {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  font-size: 13px;
  margin-bottom: 12px;
}

.lang-switch a {
  color: var(--muted);
  text-decoration: none;
}

.lang-switch a:hover {
  color: var(--primary);
  font-weight: bold;
}

/* Form */
.form-group {
  margin-bottom: 14px;
}

label {
  display: block;
  margin-bottom: 6px;
  color: var(--dark);
  font-size: 14px;
}

input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 15px;
}

input:focus {
  outline: none;
  border-color: var(--secondary);
}

/* Button */
button {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  color: white;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  opacity: 0.9;
}

/* Error */
.error {
  background: #fee2e2;
  color: #991b1b;
  padding: 10px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-size: 13px;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
}

.footer a {
  color: var(--primary);
  font-weight: bold;
  text-decoration: none;
}

/* =====================
   Tablet & Desktop
===================== */

@media (min-width: 768px) {
  .card {
    padding: 32px;
  }

  .card h1 {
    font-size: 26px;
  }

  .subtitle {
    font-size: 15px;
  }

  button {
    font-size: 16px;
  }
}
