<<<<<<< Updated upstream
/* Financial Dashboard - Modern CSS
 * This file includes critical styles.
 * Run 'npm install && npm run build' to generate optimized Tailwind CSS
 */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: #f5f7fa;
  display: flex;
  min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
  width: 240px;
  background-color: #1f2d3d;
  color: white;
  height: 100vh;
  padding: 20px;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
}

.sidebar h2 {
  margin-bottom: 30px;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 15px 0;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.sidebar a:hover {
  background-color: #34495e;
  transform: translateX(4px);
}

.sidebar a:active {
  transform: translateX(2px);
}

/* Main Content */
.main-content {
  margin-left: 260px;
  padding: 30px;
  width: calc(100% - 260px);
  min-height: 100vh;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.user-info {
  font-weight: 600;
  color: #2c3e50;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logout-form button {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logout-form button:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.logout-form button:active {
  transform: translateY(0);
}

/* Section Headings */
h3 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 24px;
  color: #2c3e50;
  font-weight: 700;
}

h4 {
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #34495e;
  font-weight: 600;
}

/* Currency Box */
.currency-box {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid #e0e0e0;
  margin-bottom: 40px;
  transition: box-shadow 0.3s ease;
}

.currency-box:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Card Styles */
.card {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 12px 24px rgba(39, 174, 96, 0.4);
}

.card strong {
  display: block;
  margin-bottom: 12px;
  color: white;
  font-size: 16px;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

.card p i {
  margin-right: 6px;
  opacity: 0.9;
}

/* Institution-specific card colors */
.bdosecurities .card {
  background: linear-gradient(135deg, #3498db, #5dade2);
}

.bdosecurities .card:hover {
  box-shadow: 0 12px 24px rgba(52, 152, 219, 0.4);
}

.colfinancial .card {
  background: linear-gradient(135deg, #9b59b6, #af7ac5);
}

.colfinancial .card:hover {
  box-shadow: 0 12px 24px rgba(155, 89, 182, 0.4);
}

.dragonfi .card {
  background: linear-gradient(135deg, #e74c3c, #f1948a);
}

.dragonfi .card:hover {
  box-shadow: 0 12px 24px rgba(231, 76, 60, 0.4);
}

.firstmetro .card {
  background: linear-gradient(135deg, #27ae60, #58d68d);
}

.firstmetro .card:hover {
  box-shadow: 0 12px 24px rgba(39, 174, 96, 0.4);
}

.unionbank .card {
  background: linear-gradient(135deg, #f39c12, #f7c55b);
}

.unionbank .card:hover {
  box-shadow: 0 12px 24px rgba(243, 156, 18, 0.4);
}

.secbank .card,
.securitybank .card {
  background: linear-gradient(135deg, #34495e, #5d6d7e);
}

.secbank .card:hover,
.securitybank .card:hover {
  box-shadow: 0 12px 24px rgba(52, 73, 94, 0.4);
}

.chinabank .card {
  background: linear-gradient(135deg, #e67e22, #f39c12);
}

.chinabank .card:hover {
  box-shadow: 0 12px 24px rgba(230, 126, 34, 0.4);
}

.bdo .card {
  background: linear-gradient(135deg, #3498db, #5dade2);
}

.bdo .card:hover {
  box-shadow: 0 12px 24px rgba(52, 152, 219, 0.4);
}

.metrobank .card {
  background: linear-gradient(135deg, #9b59b6, #af7ac5);
}

.metrobank .card:hover {
  box-shadow: 0 12px 24px rgba(155, 89, 182, 0.4);
}

/* Totals */
.totals {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid #e0e0e0;
  font-weight: 700;
  color: #2c3e50;
  text-align: right;
  font-size: 15px;
}

.totals strong {
  color: #27ae60;
}

/* Hidden/Visible States */
.hidden {
  display: none;
}

.fade-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.fade-visible {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.4s ease;
}

/* Session Timer */
.session-timer {
  position: fixed;
  top: 12px;
  right: 12px;
  background: #f1c40f;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}

/* Login Page Styles */
.login-container {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.login-card {
  background: white;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 420px;
  text-center;
}

.login-card h2 {
  margin-bottom: 12px;
  font-size: 28px;
  color: #2c3e50;
}

.login-card p {
  margin-top: 0;
  margin-bottom: 30px;
  color: #7f8c8d;
  font-size: 15px;
}

.login-input {
  width: 100%;
  padding: 14px 16px;
  margin: 12px 0;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.login-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.login-button {
  width: 100%;
  padding: 14px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.login-button:active {
  transform: translateY(0);
}

.recover {
  text-align: right;
  font-size: 14px;
  margin: 15px 0 20px;
}

.recover a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.recover a:hover {
  color: #764ba2;
}

/* TOTP Modal */
#totp-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

#totp-box {
  background: white;
  padding: 40px;
  border-radius: 16px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#totp-box h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 22px;
}

#totp-box input {
  width: 100%;
  padding: 14px 16px;
  margin: 15px 0;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 18px;
  text-align: center;
  letter-spacing: 8px;
  font-weight: 700;
}

#totp-box input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#totp-box button {
  width: 100%;
  padding: 14px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#totp-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-content {
    margin-left: 0;
    width: 100%;
    padding: 20px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar.active {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  h3 {
    font-size: 20px;
  }

  .currency-box {
    padding: 15px;
  }

  .card-grid {
    gap: 15px;
  }
}

/* Loading State */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 3px solid #667eea;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .sidebar,
  .logout-form,
  .session-timer {
    display: none !important;
  }

  .main-content {
    margin-left: 0;
    width: 100%;
  }

  .card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
=======
/* Financial Dashboard - Modern CSS
 * This file includes critical styles.
 * Run 'npm install && npm run build' to generate optimized Tailwind CSS
 */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: #f5f7fa;
  display: flex;
  min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
  width: 240px;
  background-color: #1f2d3d;
  color: white;
  height: 100vh;
  padding: 20px;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
}

.sidebar h2 {
  margin-bottom: 30px;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: 600;
}

.sidebar ul {
  list-style: none;
  padding: 0;
}

.sidebar li {
  margin: 15px 0;
}

.sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background 0.3s ease, transform 0.2s ease;
  cursor: pointer;
}

.sidebar a:hover {
  background-color: #34495e;
  transform: translateX(4px);
}

.sidebar a:active {
  transform: translateX(2px);
}

/* Main Content */
.main-content {
  margin-left: 260px;
  padding: 30px;
  width: calc(100% - 260px);
  min-height: 100vh;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.user-info {
  font-weight: 600;
  color: #2c3e50;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logout-form button {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logout-form button:hover {
  background-color: #c0392b;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.logout-form button:active {
  transform: translateY(0);
}

/* Section Headings */
h3 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 24px;
  color: #2c3e50;
  font-weight: 700;
}

h4 {
  font-size: 18px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #34495e;
  font-weight: 600;
}

/* Currency Box */
.currency-box {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 2px solid #e0e0e0;
  margin-bottom: 40px;
  transition: box-shadow 0.3s ease;
}

.currency-box:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Card Styles */
.card {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: white;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: none;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform-origin: center;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 12px 24px rgba(39, 174, 96, 0.4);
}

.card strong {
  display: block;
  margin-bottom: 12px;
  color: white;
  font-size: 16px;
  font-weight: 700;
}

.card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

.card p i {
  margin-right: 6px;
  opacity: 0.9;
}

/* Institution-specific card colors */
.bdosecurities .card {
  background: linear-gradient(135deg, #3498db, #5dade2);
}

.bdosecurities .card:hover {
  box-shadow: 0 12px 24px rgba(52, 152, 219, 0.4);
}

.colfinancial .card {
  background: linear-gradient(135deg, #9b59b6, #af7ac5);
}

.colfinancial .card:hover {
  box-shadow: 0 12px 24px rgba(155, 89, 182, 0.4);
}

.dragonfi .card {
  background: linear-gradient(135deg, #e74c3c, #f1948a);
}

.dragonfi .card:hover {
  box-shadow: 0 12px 24px rgba(231, 76, 60, 0.4);
}

.firstmetro .card {
  background: linear-gradient(135deg, #27ae60, #58d68d);
}

.firstmetro .card:hover {
  box-shadow: 0 12px 24px rgba(39, 174, 96, 0.4);
}

.unionbank .card {
  background: linear-gradient(135deg, #f39c12, #f7c55b);
}

.unionbank .card:hover {
  box-shadow: 0 12px 24px rgba(243, 156, 18, 0.4);
}

.secbank .card,
.securitybank .card {
  background: linear-gradient(135deg, #34495e, #5d6d7e);
}

.secbank .card:hover,
.securitybank .card:hover {
  box-shadow: 0 12px 24px rgba(52, 73, 94, 0.4);
}

.chinabank .card {
  background: linear-gradient(135deg, #e67e22, #f39c12);
}

.chinabank .card:hover {
  box-shadow: 0 12px 24px rgba(230, 126, 34, 0.4);
}

.bdo .card {
  background: linear-gradient(135deg, #3498db, #5dade2);
}

.bdo .card:hover {
  box-shadow: 0 12px 24px rgba(52, 152, 219, 0.4);
}

.metrobank .card {
  background: linear-gradient(135deg, #9b59b6, #af7ac5);
}

.metrobank .card:hover {
  box-shadow: 0 12px 24px rgba(155, 89, 182, 0.4);
}

/* Totals */
.totals {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 2px solid #e0e0e0;
  font-weight: 700;
  color: #2c3e50;
  text-align: right;
  font-size: 15px;
}

.totals strong {
  color: #27ae60;
}

/* Hidden/Visible States */
.hidden {
  display: none;
}

.fade-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.fade-visible {
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.4s ease;
}

/* Session Timer */
.session-timer {
  position: fixed;
  top: 12px;
  right: 12px;
  background: #f1c40f;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}

/* Login Page Styles */
.login-container {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.login-card {
  background: white;
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 420px;
  text-center;
}

.login-card h2 {
  margin-bottom: 12px;
  font-size: 28px;
  color: #2c3e50;
}

.login-card p {
  margin-top: 0;
  margin-bottom: 30px;
  color: #7f8c8d;
  font-size: 15px;
}

.login-input {
  width: 100%;
  padding: 14px 16px;
  margin: 12px 0;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.login-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.login-button {
  width: 100%;
  padding: 14px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 20px;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.login-button:active {
  transform: translateY(0);
}

.recover {
  text-align: right;
  font-size: 14px;
  margin: 15px 0 20px;
}

.recover a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.recover a:hover {
  color: #764ba2;
}

/* TOTP Modal */
#totp-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

#totp-box {
  background: white;
  padding: 40px;
  border-radius: 16px;
  width: 100%;
  max-width: 360px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#totp-box h3 {
  margin-top: 0;
  margin-bottom: 20px;
  color: #2c3e50;
  font-size: 22px;
}

#totp-box input {
  width: 100%;
  padding: 14px 16px;
  margin: 15px 0;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 18px;
  text-align: center;
  letter-spacing: 8px;
  font-weight: 700;
}

#totp-box input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#totp-box button {
  width: 100%;
  padding: 14px 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#totp-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .main-content {
    margin-left: 0;
    width: 100%;
    padding: 20px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }

  .sidebar.active {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
  }

  h3 {
    font-size: 20px;
  }

  .currency-box {
    padding: 15px;
  }

  .card-grid {
    gap: 15px;
  }
}

/* Loading State */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 3px solid #667eea;
  outline-offset: 2px;
}

/* Print styles */
@media print {
  .sidebar,
  .logout-form,
  .session-timer {
    display: none !important;
  }

  .main-content {
    margin-left: 0;
    width: 100%;
  }

  .card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}
>>>>>>> Stashed changes
