/* ===== LOGIN PAGE STYLES ===== */
.login-body{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);min-height:100vh;display:flex;align-items:center;}
.login-card{background:rgba(255,255,255,0.95);backdrop-filter:blur(10px);border-radius:15px;box-shadow:0 15px 35px rgba(0,0,0,0.1);}
.login-header{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff;border-radius:15px 15px 0 0;}
.login-form-control:focus{border-color:#667eea;box-shadow:0 0 0 0.2rem rgba(102,126,234,0.25);}
.btn-login{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);border:none;border-radius:25px;padding:12px 30px;font-weight:600;text-transform:uppercase;letter-spacing:1px;}
.btn-login:hover{transform:translateY(-2px);box-shadow:0 5px 15px rgba(0,0,0,0.2);}

/* ===== UTILITY CLASSES ===== */
.icon-email{color:#6D4AFF;}
.icon-ai{color:#10A37F;}
.icon-profile{color:#007bff;}
.icon-messages{color:#28a745;}
.icon-documents{color:#ffc107;}
.wallet-address{font-family:monospace;font-size:0.9em;}
.wallet-address-compact{font-family:monospace;font-size:0.75em;word-break:break-all;line-height:1.2;}
.wallet-item{border-bottom:1px solid #e0e0e0;padding-bottom:4px;margin-bottom:4px;}
.wallet-currency{min-width:50px;}
.wallet-actions{flex-shrink:0;}
.btn-xs{padding:2px 4px;font-size:10px;line-height:1;}
.fa-xs{font-size:8px;}

/* Quick Access Icons */
.xp-quick-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--xp-black);
  padding: 10px;
  border-radius: 4px;
  transition: all 0.2s ease;
  background: linear-gradient(to bottom, var(--xp-light-gray), var(--xp-gray));
  border: 1px solid var(--xp-dark-gray);
  box-shadow: inset 0 1px 0 var(--xp-white), 0 1px 0 var(--xp-black);
}

.xp-quick-icon:hover {
  background: linear-gradient(to bottom, var(--xp-gray), var(--xp-light-gray));
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 var(--xp-white), 0 2px 2px rgba(0,0,0,0.3);
}

.xp-quick-icon:active {
  box-shadow: inset 0 1px 0 var(--xp-black), inset 0 -1px 0 var(--xp-white);
  transform: translateY(0);
}

.icon-label {
  font-size: 12px;
  font-weight: bold;
  margin-top: 5px;
  text-align: center;
  font-family: var(--xp-font-family);
}

/* ===== CRYPTOCURRENCY STYLES ===== */
.crypto-btc{color:#f7931a !important;}
.crypto-eth{color:#627eea !important;}
.crypto-sol{color:#9945ff !important;}
.cache-status{font-size:0.8rem;opacity:0.8;}
/* ===== WINDOWS XP THEME ===== */

/* CSS Variables for Windows XP Theme */
:root {
  --xp-blue: #0054e3;
  --xp-light-blue: #3a6ea5;
  --xp-dark-blue: #003399;
  --xp-gray: #c0c0c0;
  --xp-light-gray: #e0e0e0;
  --xp-dark-gray: #808080;
  --xp-white: #ffffff;
  --xp-black: #000000;
  --xp-green: #00aa00;
  --xp-light-green: #00cc00;
  --xp-dark-green: #008800;
  --xp-taskbar-height: 40px;
  --xp-font-family: 'Tahoma', sans-serif;
}

/* Taskbar Styles */
.xp-taskbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--xp-taskbar-height);
  background: linear-gradient(to bottom, var(--xp-light-blue), var(--xp-blue));
  border-top: 2px solid var(--xp-white);
  box-shadow: inset 0 1px 0 var(--xp-light-blue);
  z-index: 1050;
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.xp-taskbar-left {
  display: flex;
  align-items: center;
  gap: 4px;
}

.xp-menu-btn {
  background: linear-gradient(to bottom, var(--xp-light-gray), var(--xp-gray));
  border: 1px solid var(--xp-dark-gray);
  border-radius: 0;
  color: var(--xp-black);
  padding: 2px 8px;
  font-size: 11px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: inset 0 1px 0 var(--xp-white), 0 1px 0 var(--xp-black);
}

.xp-menu-btn:hover {
  background: linear-gradient(to bottom, var(--xp-gray), var(--xp-light-gray));
}

.xp-menu-btn:active {
  box-shadow: inset 0 1px 0 var(--xp-black), inset 0 -1px 0 var(--xp-white);
}

.xp-menu-btn img {
  max-height: 20px;
  max-width: 60px;
  object-fit: contain;
}

.xp-quick-actions {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 8px;
}

.xp-shortcut-btn {
  width: 32px;
  height: 32px;
  background: linear-gradient(to bottom, var(--xp-light-gray), var(--xp-gray));
  border: 1px solid var(--xp-dark-gray);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: inset 0 1px 0 var(--xp-white), 0 1px 0 var(--xp-black);
  font-size: 14px;
  color: var(--xp-black);
}

.xp-shortcut-btn:hover {
  background: linear-gradient(to bottom, var(--xp-gray), var(--xp-light-gray));
}

.xp-shortcut-btn:active {
  box-shadow: inset 0 1px 0 var(--xp-black), inset 0 -1px 0 var(--xp-white);
}

.xp-taskbar-center {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--xp-white);
  font-weight: bold;
  text-shadow: 1px 1px 0 var(--xp-black);
}

.xp-taskbar-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.xp-notifications-btn {
  position: relative;
  background: linear-gradient(to bottom, var(--xp-light-gray), var(--xp-gray));
  border: 1px solid var(--xp-dark-gray);
  border-radius: 0;
  color: var(--xp-black);
  padding: 2px 8px;
  font-size: 11px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 var(--xp-white), 0 1px 0 var(--xp-black);
}

.xp-notifications-btn:hover {
  background: linear-gradient(to bottom, var(--xp-gray), var(--xp-light-gray));
}

.xp-notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--xp-green);
  color: var(--xp-white);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: bold;
  border: 1px solid var(--xp-white);
}

/* Dashboard Background */
.xp-desktop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: var(--xp-taskbar-height);
  background: url('images/bg.png') no-repeat center center;
  background-size: cover;
  z-index: -1;
}

.xp-desktop-content {
  position: relative;
  height: 100%;
  padding: 20px;
  overflow-y: auto;
}

.xp-desktop-content::-webkit-scrollbar {
  width: 12px;
}

.xp-desktop-content::-webkit-scrollbar-track {
  background: var(--xp-light-gray);
}

.xp-desktop-content::-webkit-scrollbar-thumb {
  background: var(--xp-gray);
  border: 1px solid var(--xp-light-gray);
}

.xp-desktop-content::-webkit-scrollbar-thumb:hover {
  background: var(--xp-dark-gray);
}

/* Widget System */
.xp-widget {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  border: 2px outset var(--xp-gray);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  min-width: 200px;
  max-width: 100%;
  font-size: 14px;
}

.xp-widget-titlebar {
  background: linear-gradient(to right, var(--xp-light-blue), var(--xp-blue));
  color: var(--xp-white);
  padding: 4px 10px;
  font-weight: bold;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: move;
  border-bottom: 1px solid var(--xp-dark-blue);
}

.xp-widget-titlebar .fa {
  font-size: 10px;
  margin-right: 4px;
}

.xp-widget-controls {
  display: flex;
  gap: 2px;
}

.xp-widget-btn {
  width: 14px;
  height: 14px;
  border: 1px outset var(--xp-gray);
  background: var(--xp-light-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
}

.xp-widget-btn:hover {
  background: var(--xp-gray);
}

.xp-widget-btn:active {
  border: 1px inset var(--xp-gray);
}

.xp-widget-content {
  padding: 12px;
  background: var(--xp-white);
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
}

.xp-widget-content::-webkit-scrollbar {
  width: 12px;
}

.xp-widget-content::-webkit-scrollbar-track {
  background: var(--xp-light-gray);
}

.xp-widget-content::-webkit-scrollbar-thumb {
  background: var(--xp-gray);
  border: 1px solid var(--xp-light-gray);
}

.xp-widget-content::-webkit-scrollbar-thumb:hover {
  background: var(--xp-dark-gray);
}

/* Specific Widget Styles */
.xp-widget-crypto {
  width: 100%;
  height: auto;
  min-height: 180px;
}

.xp-widget-wallets {
  width: 100%;
  height: auto;
  min-height: 180px;
}

.xp-widget-stats {
  width: 100%;
  height: auto;
  min-height: 220px;
}

.xp-widget-staff {
  width: 100%;
  height: auto;
  min-height: 260px;
}

.xp-widget-quickaccess {
  width: 100%;
  height: auto;
  min-height: 140px;
}

/* Menu Modal */
.xp-menu-modal {
  position: fixed;
  bottom: var(--xp-taskbar-height);
  left: 0;
  background: var(--xp-light-gray);
  border: 2px outset var(--xp-gray);
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 1060;
  min-width: 200px;
  max-height: 400px;
  overflow-y: auto;
}

.xp-menu-item {
  padding: 6px 15px;
  border-bottom: 1px solid var(--xp-gray);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-family: var(--xp-font-family);
}

.xp-menu-item:hover {
  background: var(--xp-blue);
  color: var(--xp-white);
}

.xp-menu-item .fa {
  width: 16px;
}

.xp-menu-item:last-child {
  border-bottom: none;
}

/* Override Bootstrap for XP theme */
.xp-desktop .navbar {
  display: none !important;
}

.xp-desktop .container-fluid {
  padding-bottom: var(--xp-taskbar-height);
}

/* XP-style Bootstrap overrides - only used in specific contexts */

/* Modal fixes for XP theme - only used in specific contexts */

/* Responsive adjustments */
@media (max-width: 768px) {
  .xp-taskbar {
    height: 50px;
  }

  .xp-taskbar-center {
    display: none;
  }

  .xp-widget {
    position: relative !important;
    margin-bottom: 20px;
    width: 100% !important;
    max-width: none !important;
    font-size: 16px;
  }

  .xp-widget-titlebar {
    font-size: 16px;
    padding: 6px 12px;
  }

  .xp-widget-content {
    padding: 15px;
  }

  .xp-quick-icon {
    padding: 15px 8px;
  }

  .icon-label {
    font-size: 14px;
  }

  .xp-widget-quickaccess .d-flex {
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }

  .xp-desktop-content {
    padding: 10px;
  }
}