/* ===============================
   LOGIN PAGE WRAPPER
   =============================== */
.login-page {
  min-height: 100vh;
  padding: 100px 20px 80px;
  background: #AD6745;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ===============================
   GRID CONTAINER (HOLDS CARDS)
   =============================== */
.login-container {
  max-width: 900px;
  width: 100%;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 30px;
}

/* ===============================
   LOGIN CARD
   =============================== */
.login-card {
  background: #FAEBD7;
  padding: 40px 30px;
  border-radius: 28px;
  text-align: center;

  box-shadow: 0 18px 45px rgba(0,0,0,0.4);
  transition: 0.35s ease;

  animation: fadeUp 0.8s ease forwards;
}

/* Card hover lift */
.login-card:hover {
  transform: translateY(-8px);
}

/* Icon inside card */
.login-card i {
  font-size: 34px;
  margin-bottom: 18px;
}

/* Title */
.login-card h2 {
  font-family: "Playfair Display", serif;
  margin-bottom: 12px;
  font-weight: bold;
}

/* Description */
.login-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 24px;
  font-weight: 500;
}

/* ===============================
   BUTTON SYSTEM (MERGED - NO DUPLICATION)
   Applies to:
   - manager button
   - tenant buttons
   =============================== */
.login-actions a,
.login-card > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  background: #111;
  color: white;
  padding: 12px 18px;
  border-radius: 40px;

  text-decoration: none;
  font-weight: 700;
  font-size: 14px;

  transition: all 0.35s ease;
}

/* Hover effect (lift + glow) */
.login-actions a:hover,
.login-card > a:hover {
  transform: translateY(-3px) scale(1.05);

  background: white;
  color: black;

  box-shadow:
    0 10px 25px rgba(0,0,0,0.2),
    0 0 12px rgba(255,255,255,0.4);
}

/* Click feedback */
.login-actions a:active,
.login-card > a:active {
  transform: scale(0.95);
}

/* Icon animation */
.login-actions a i,
.login-card > a i {
  transition: transform 0.3s ease;
}

.login-actions a:hover i,
.login-card > a:hover i {
  transform: translateX(4px);
}

/* ===============================
   TENANT BUTTON GROUP
   =============================== */
.login-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ===============================
   HEADER (TOP TEXT)
   =============================== */
.login-header {
  text-align: center;
  color: black;
  margin-bottom: 45px;
  font-weight: bolder;

  animation: fadeUp 0.8s ease forwards;
}

.login-header h1 {
  font-size: clamp(38px, 6vw, 72px);
  font-family: "Playfair Display", serif;
}

.login-header p {
  margin-top: 10px;
  color: rgba(48, 47, 47, 0.85);
}

/* ===============================
   STAGGERED ANIMATION DELAYS
   =============================== */
.login-card:nth-child(1) {
  animation-delay: 0.4s;
}

.login-card:nth-child(2) {
  animation-delay: 0.5s;
}

/* REMOVE MOBILE TAP HIGHLIGHT */

*{
    -webkit-tap-highlight-color: transparent;
}

button,
a,
input,
textarea,
select{
    outline:none;
    -webkit-tap-highlight-color: transparent;
}

html{
    -webkit-touch-callout:none;
}