/* wwwroot/css/login.css */

html,
body {
  height: 100%;
  margin: 0;
}

/* Center the login form on the page */
.login-container {
  display: flex;
  justify-content: center;
  align-items: center;
  /* height: 75vh; */
  width: 100%;
  max-width: 960px;
  margin: auto;
  /* background: linear-gradient(135deg, #7e6fff, #4a86ff); */
}

/* Style the MudForm */
.login-form {
  /* width: 100%; */
  /* max-width: 600px; */
  max-width: 980px;
  margin: auto;
  padding: 24px;
  padding: 2rem;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Center the header */
.login-form .mud-typography {
  text-align: center;
}

/* Full width buttons */
.login-form .mud-button {
  width: 100%;
}

/* Optional: style input fields */
.login-form .mud-text-field {
  margin-bottom: 1rem;
}

.login-button {
  background-color: #591888 !important; /* purple */
  color: white !important;
  border-radius: 6px;
  height: 50px;
}
.login-button:hover {
  background-color: #6b5aff !important; /* slightly darker purple */
}
.login-logo-container {
  text-align: center;
  margin-bottom: 20px; /* reduced from 1rem to 0.5rem */
}

.login-title {
  font-size: 28px;
  font-weight: 700; /* bold */
  margin: 0;
  color: #110e2d; /* or your theme color */
}

.login-subtitle {
  font-size: 16px;
  font-weight: 400; /* normal */
  margin-top: 8px;
  color: #555; /* softer text */
}

.login-logo {
  max-width: 140px;
  height: auto;
}

/* Remove top spacing from the first MudTextField */
.mud-input-control:first-of-type {
  margin-top: 0 !important;
}

.mud-input-root {
  border-radius: 8px !important;
}

/* Make the whole page a full-height column layout */
.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1; /* takes up remaining space between header and footer */
  padding: 16px;
}

.header-appbar {
  background-color: #581c87 !important;
  z-index: 1100; /* ensures it sits above the drawer */
}

.layout-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Full viewport height */
}
/* Header */
.login-header {
  background-color: #581c87;
  padding: 20px;
  text-align: center;
}

.header-logo {
  height: 60px;
}

/* Main content expands to fill leftover space */
.login-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

/* Footer always sits at bottom */
.login-footer {
  background-color: #581c87;
  color: white;
  padding: 15px;
  text-align: center;
  width: 100%;
}

/* Make border darker on hover */
.mud-input-outlined:hover .mud-input-outlined-border {
  border-color: rgba(0, 0, 0, 0.6) !important;
}

.mud-input-outlined .mud-input-outlined-border {
  border-color: #7e6fff !important;
  opacity: 1 !important;
}

.dashboard-card {
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
  height: 360px;
  display: flex;
  flex-direction: column;
}

.dashboard-card:hover {
  transform: translateY(-4px);
}

.elevated-card {
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.15) 0 4px 12px;
}

.card-bar {
  height: 8px;
  border-radius: 12px 12px 0 0;
}

.green-bar {
  background: #4caf50;
}
.red-bar {
  background: #f44336;
}
.orange-bar {
  background: #ff9800;
}
.teal-bar {
  background: #0097a7;
}

.small-stat-card {
  border-radius: 12px;
  padding: 8px;
}

.small-icon {
  width: 45px;
  height: 45px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orange-bg {
  background: #ff9800;
}
.green-bg {
  background: #4caf50;
}
.red-bg {
  background: #f44336;
}
.teal-bg {
  background: #0097a7;
}

.dashboard-header {
  background-color: #010967bb;
  border-radius: 8px;
  color: white;
}
.compact-calendar-container {
  max-height: 300px; /* Your card height */
  overflow-y: auto;
}

.custom-header {
  background-color: #581c87;
  /* color: white;  Makes the text readable */
}

.custom-footer {
  background-color: #581c87;
  /* color: white; */
}

.custom-row:hover {
  background-color: #7a3bbf; /* slightly lighter purple */
  /* color: white; */
}

.search-box {
  width: 100px;
}

.pending-btn {
  background-color: #fd7e14; /* Bootstrap warning orange */
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.pending-btn:hover {
  background-color: #e8590c; /* Darker orange on hover */
  transform: scale(1.05);
}

.completed-btn {
  background-color: #28a745; /* Bootstrap green */
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.completed-btn:hover {
  background-color: #1e7e34; /* Darker green on hover */
  transform: scale(1.05);
}

.edit-btn {
  background-color: #692c74;
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.edit-btn:hover {
  background-color: #4f1f5b;
  transform: scale(1.05);
}

.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 9999;
  transition: opacity 0.3s ease-in-out;
}

.register-card {
  max-width: 780px;
  margin: auto;
  border-radius: 18px;
}

.tile-input input {
  height: 64px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

.tile-input .mud-input-control {
  border-radius: 10px;
}

.register-button {
  height: 56px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 600;
}
