/* Global Styles */
:root {
  --primary-color: #0066ff;
  --primary-light: #e6f0ff;
  --primary-dark: #0052cc;
  --secondary-color: #00c2ff;
  --success-color: #00cc66;
  --warning-color: #ffbb00;
  --danger-color: #ff3b30;
  --text-dark: #333333;
  --text-medium: #666666;
  --text-light: #999999;
  --background-light: #f8f9fa;
  --border-color: #e0e0e0;
  --card-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--background-light);
  color: var(--text-dark);
}

/* Status Bar */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background-color: #f8f9fa;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.status-bar .time {
  font-weight: bold;
  font-size: 16px;
}

.status-bar .network {
  display: flex;
  align-items: center;
  gap: 5px;
}

.status-bar .network .signal {
  display: flex;
  align-items: flex-end;
  height: 16px;
}

.status-bar .network .signal .bar {
  width: 3px;
  background-color: #000;
  margin-right: 1px;
}

.status-bar .network .signal .bar:nth-child(1) {
  height: 5px;
}

.status-bar .network .signal .bar:nth-child(2) {
  height: 8px;
}

.status-bar .network .signal .bar:nth-child(3) {
  height: 11px;
}

.status-bar .network .signal .bar:nth-child(4) {
  height: 14px;
}

.status-bar .battery {
  display: flex;
  align-items: center;
  font-weight: bold;
}

.status-bar .battery .icon {
  width: 25px;
  height: 12px;
  border: 1px solid #000;
  border-radius: 3px;
  margin-left: 5px;
  position: relative;
}

.status-bar .battery .icon:after {
  content: "";
  position: absolute;
  right: -3px;
  top: 3px;
  width: 3px;
  height: 6px;
  background-color: #000;
  border-top-right-radius: 2px;
  border-bottom-right-radius: 2px;
}

.status-bar .battery .icon .level {
  height: 100%;
  width: 80%;
  background-color: #000;
}

/* URL Bar */
.url-bar {
  display: flex;
  align-items: center;
  background-color: #e9e9e9;
  margin: 0 10px 10px;
  padding: 8px 15px;
  border-radius: 10px;
}

.url-bar .icon {
  color: #888;
  margin-right: 10px;
}

.url-bar .url {
  flex: 1;
  color: #333;
  font-size: 14px;
}

.url-bar .refresh {
  color: #888;
}

/* Add styles for the auth header */
.auth-header {
  background-color: #0066ff;
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.auth-header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
}

.auth-links {
  display: flex;
  gap: 20px;
}

.auth-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.3s;
}

.auth-links a:hover {
  opacity: 0.8;
}

/* Login & Register Styles */
.login-container,
.register-container {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #00a1e4, #00bfff);
  padding-top: 80px;
  padding-bottom: 70px;
}

/* Adjust login and register containers to account for header */

/* Ensure the login and register forms have proper spacing */
.login-form,
.register-form {
  background-color: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 400px;
  margin-top: 20px;
}

.login-form h1,
.register-form h1 {
  text-align: center;
  margin-bottom: 25px;
  color: #00a1e4;
  font-size: 24px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.login-btn,
.register-btn {
  width: 100%;
  padding: 12px;
  background-color: #00a1e4;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-btn:hover,
.register-btn:hover {
  background-color: #0090cc;
}

.login-form p,
.register-form p {
  text-align: center;
  margin-top: 20px;
}

.login-form a,
.register-form a {
  color: #00a1e4;
  text-decoration: none;
}

/* Dashboard Styles */
.dashboard-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #f8f9fa;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 70px;
}

header {
  background-color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
}

.menu-toggle {
  font-size: 20px;
  cursor: pointer;
  color: var(--text-dark);
  transition: color 0.3s;
}

.menu-toggle:hover {
  color: var(--primary-color);
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.header-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.notification-icon {
  font-size: 20px;
  cursor: pointer;
  color: var(--text-medium);
  transition: color 0.3s;
}

.notification-icon:hover {
  color: var(--primary-color);
}

.profile-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s;
}

.profile-icon:hover {
  transform: scale(1.05);
}

/* Sidebar Styles */
.sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: white;
  z-index: 1000;
  transition: left 0.3s ease;
  overflow-y: auto;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.sidebar.active {
  left: 0;
}

.sidebar-header {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.user-info .profile-icon {
  width: 40px;
  height: 40px;
  font-size: 16px;
}

.user-info h3 {
  margin: 0;
  font-size: 16px;
  color: var(--text-dark);
}

.user-info p {
  margin: 0;
  font-size: 12px;
  color: var(--text-medium);
}

.sidebar-balance {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 1.5rem;
}

.sidebar-balance p {
  font-size: 14px;
  margin: 0 0 5px 0;
  opacity: 0.9;
}

.sidebar-balance h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.sidebar-menu {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}

.sidebar-menu li {
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  color: var(--text-medium);
}

.sidebar-menu li:hover {
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.sidebar-menu li.active {
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-left: 3px solid var(--primary-color);
}

.sidebar-menu li i {
  width: 20px;
  text-align: center;
  font-size: 18px;
}

.close-sidebar {
  cursor: pointer;
  font-size: 20px;
  color: var(--text-medium);
  transition: color 0.3s;
}

.close-sidebar:hover {
  color: var(--danger-color);
}

/* Main Content Styles */
main {
  flex: 1;
  padding: 0;
  padding-bottom: 5rem;
}

/* Page Header */
.page-header {
  margin: 20px 15px;
}

.page-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 5px 0;
}

.page-header p {
  font-size: 16px;
  color: var(--text-medium);
  margin: 0;
}

.balance-card {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 15px;
  padding: 20px;
  margin: 15px;
  color: white;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.balance-info {
  display: flex;
  flex-direction: column;
}

.user-greeting {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.user-avatar {
  width: 50px;
  height: 50px;
  background-color: #00bfff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  font-size: 18px;
  font-weight: bold;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.greeting-text {
  display: flex;
  flex-direction: column;
}

.greeting-text h3 {
  font-size: 16px;
  font-weight: 400;
  margin-bottom: 5px;
}

.greeting-text h2 {
  font-size: 20px;
  font-weight: 500;
}

.date-time {
  position: absolute;
  top: 20px;
  right: 20px;
  text-align: right;
}

.time {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 5px;
}

.date {
  font-size: 14px;
  opacity: 0.9;
}

.balance-label {
  font-size: 16px;
  margin-bottom: 10px;
}

.balance-amount {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 25px;
}

.account-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 15px;
  border-radius: 10px;
  margin-top: 15px;
}

.account-number {
  display: flex;
  flex-direction: column;
}

.account-number-label {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 5px;
}

.account-number-value {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
}

.status-badge {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  margin-left: 10px;
}

.status-badge.active {
  background-color: #4caf50;
}

.status-badge.inactive {
  background-color: #ff5252;
}

.account-actions {
  display: flex;
  gap: 10px;
}

.action-button {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.action-button i {
  font-size: 14px;
}

/* Section Titles */
.section-title {
  font-size: 22px;
  font-weight: 600;
  margin: 25px 15px 10px;
  color: #333;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  margin: 0 15px 20px;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0 15px;
}

.action-item {
  background-color: white;
  border-radius: 15px;
  padding: 25px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.3s;
  height: 150px;
}

.action-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.1);
}

.action-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
  font-size: 24px;
}

.action-item:nth-child(1) .action-icon {
  background-color: #f5f5f5;
  color: var(--text-dark);
}

.action-item:nth-child(2) .action-icon {
  background-color: var(--primary-color);
  color: white;
}

.action-item:nth-child(3) .action-icon {
  background-color: var(--success-color);
  color: white;
}

.action-item:nth-child(4) .action-icon {
  background-color: var(--warning-color);
  color: white;
}

.action-item p {
  font-size: 18px;
  color: #333;
  font-weight: 500;
}

/* Cards Section */
.cards-section {
  margin: 20px 15px;
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-header h2 i {
  color: #888;
}

.view-all {
  color: #00bfff;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.view-all i {
  margin-left: 5px;
}

.no-cards {
  text-align: center;
  padding: 30px 0;
}

.no-cards-icon {
  font-size: 40px;
  color: #ccc;
  margin-bottom: 15px;
}

.no-cards h3 {
  font-size: 18px;
  color: #555;
  margin-bottom: 10px;
}

.no-cards p {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.apply-card-btn {
  background-color: #00bfff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 auto;
  cursor: pointer;
}

/* Transactions Section */
.transactions-section {
  margin: 20px 15px;
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.no-transactions {
  text-align: center;
  padding: 30px 0;
}

.no-transactions-icon {
  font-size: 40px;
  color: #ccc;
  margin-bottom: 15px;
}

.no-transactions h3 {
  font-size: 18px;
  color: #555;
  margin-bottom: 10px;
}

.no-transactions p {
  font-size: 14px;
  color: #888;
  margin-bottom: 20px;
}

.make-deposit-btn {
  background-color: #00bfff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  margin: 0 auto;
  cursor: pointer;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: white;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-light);
  font-size: 12px;
  text-decoration: none;
}

.nav-item.active {
  color: var(--primary-color);
}

.nav-item i {
  font-size: 20px;
  margin-bottom: 5px;
}

/* Center button */
.center-button {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background-color: #00bfff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 3px 10px rgba(0, 191, 255, 0.3);
  z-index: 101;
}

/* Rest of the CSS remains the same */
/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.modal-header h2 {
  font-size: 1.2rem;
  font-weight: 600;
}

.close-modal {
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-body {
  padding: 1rem;
}

.modal-body label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.transfer-btn,
.fund-btn {
  width: 100%;
  padding: 0.8rem;
  background-color: #0099cc;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 1rem;
}

.transfer-btn:hover,
.fund-btn:hover {
  background-color: #007ea7;
}

/* Chat Widget */
.chat-widget {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 100;
}

.chat-button {
  background-color: #0099cc;
  color: white;
  padding: 0.8rem 1.2rem;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.chat-button i {
  font-size: 1.2rem;
}

/* Admin Dashboard Styles */
.admin-dashboard {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.admin-sidebar {
  background-color: #2c3e50;
}

.admin-sidebar .sidebar-balance {
  background-color: #2c3e50;
}

.admin-sidebar .sidebar-menu li i {
  color: #0099cc;
}

.admin-sidebar .sidebar-menu li.active {
  background-color: rgba(0, 153, 204, 0.1);
}

.admin-main {
  flex: 1;
  padding: 1.5rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 153, 204, 0.1);
  color: #0099cc;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
}

.stat-info h3 {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.stat-info h2 {
  font-size: 1.8rem;
  font-weight: 700;
}

.admin-section {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.admin-section h2 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.admin-table-container {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.admin-table th {
  font-weight: 600;
  color: #666;
}

.admin-table tbody tr:hover {
  background-color: #f9f9f9;
}

.user-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  padding: 0.3rem 0.6rem;
  border-radius: 5px;
  font-size: 0.8rem;
  cursor: pointer;
}

.fund-btn-small {
  background-color: #0099cc;
  color: white;
}

.view-btn {
  background-color: #3498db;
  color: white;
}

/* Responsive Styles */
@media (min-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }

  .quick-actions,
  .quick-links {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .dashboard-container {
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    height: 100vh;
    overflow-y: auto;
  }

  .sidebar {
    left: 0;
    box-shadow: none;
  }

  .menu-toggle,
  .close-sidebar {
    display: none;
  }

  .bottom-nav {
    display: none;
  }

  .admin-dashboard {
    padding-left: 300px;
  }
}

/* Add styles for login/register header and footer */
.auth-footer {
  background-color: #f5f5f5;
  color: #666;
  padding: 1rem 2rem;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 0.8rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Adjust login/register containers to account for header and footer */

/* Fix select box styling */
select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  background-color: white;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

/* Ensure pages are hidden by default */
.page,
.admin-page {
  display: none;
}

.page.active,
.admin-page.active {
  display: block;
}

/* Improve spacing and organization */
.balance-card,
.quick-actions,
.transactions-section {
  margin-bottom: 1.5rem;
}

.section-title {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
}

/* Improve admin dashboard layout */
.admin-stats {
  margin-bottom: 2rem;
}

.admin-section {
  margin-bottom: 2.5rem;
}

/* Improve form styling */
.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #555;
}

/* Improve table styling */
.admin-table,
.statement-table,
.history-table {
  width: 100%;
  border-collapse: collapse;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.admin-table th,
.statement-table th,
.history-table th {
  background-color: #f9f9f9;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
  color: #555;
  border-bottom: 2px solid #eee;
}

.admin-table td,
.statement-table td,
.history-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.admin-table tr:hover,
.statement-table tr:hover,
.history-table tr:hover {
  background-color: #f5f5f5;
}

/* Improve modal styling */
.modal-content {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background-color: #f9f9f9;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.close-modal {
  color: #666;
  transition: color 0.3s;
}

.close-modal:hover {
  color: #e74c3c;
}

/* Improve button styling */
button {
  cursor: pointer;
  transition: all 0.3s ease;
}

button:hover {
  opacity: 0.9;
}

/* Improve card styling */
.profile-card,
.password-card,
.statement-card,
.transfer-card,
.support-card,
.settings-card,
.history-card,
.loan-card,
.admin-section,
.fund-card,
.admin-settings-card {
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Improve status indicators */
.status {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.status.active {
  background-color: rgba(0, 204, 102, 0.1);
  color: #00cc66;
}

.status.inactive {
  background-color: rgba(255, 102, 102, 0.1);
  color: #ff6666;
}

.status.pending {
  background-color: rgba(255, 153, 0, 0.1);
  color: #ff9900;
}

.status.completed {
  background-color: rgba(0, 204, 102, 0.1);
  color: #00cc66;
}

.status.processing {
  background-color: rgba(0, 153, 204, 0.1);
  color: #0099cc;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .auth-header {
    padding: 1rem;
  }

  .auth-header .logo h1 {
    font-size: 1.2rem;
  }

  .auth-links {
    gap: 1rem;
  }

  .auth-links a {
    font-size: 0.8rem;
  }

  .auth-footer {
    padding: 1rem;
  }

  .footer-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

  .admin-stats {
    grid-template-columns: repeat(1, 1fr);
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-options {
    grid-template-columns: 1fr;
  }

  .loan-options {
    grid-template-columns: 1fr;
  }

  .calculator-result {
    grid-template-columns: 1fr;
  }
}

/* Loan Page Styles */
#loan-page {
  background: linear-gradient(135deg, #f0f9ff 0%, #cbebff 100%);
  min-height: 100vh;
  padding: 2rem;
}

.page-title {
  color: #1a237e;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.loan-card {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.loan-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.loan-option {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9ff 100%);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
  border: 1px solid rgba(26, 35, 126, 0.1);
}

.loan-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(26, 35, 126, 0.1);
}

.loan-option i {
  font-size: 2.5rem;
  color: #1a237e;
  margin-bottom: 1rem;
}

.loan-option h3 {
  color: #1a237e;
  margin: 1rem 0;
  font-size: 1.5rem;
}

.loan-option p {
  color: #4d5b9e;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.apply-btn {
  background: linear-gradient(45deg, #1a237e, #303f9f);
  color: white !important;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.apply-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(26, 35, 126, 0.3);
}

/* Calculator Styles */
.loan-calculator {
  background: #f8f9ff;
  border-radius: 15px;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.loan-calculator h3 {
  color: #1a237e;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
  grid-column: 1 / -1;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  color: #4d5b9e;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.input-group input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.input-group input:focus {
  border-color: #1a237e;
  outline: none;
}

.calculate-btn {
  background: linear-gradient(45deg, #00c853, #00e676);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.calculate-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3);
}

.calculator-result {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
}

.result-item {
  text-align: center;
  padding: 1rem;
  background: #f8f9ff;
  border-radius: 10px;
}

.result-item h4 {
  color: #4d5b9e;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.result-item p {
  color: #1a237e;
  font-size: 1.4rem;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
  .loan-calculator {
    grid-template-columns: 1fr;
  }

  .loan-options {
    grid-template-columns: 1fr;
  }
}

/* Profile Page Styles */
#profile-page {
  background: linear-gradient(135deg, #f8f4ff 0%, #e6e1ff 100%);
  min-height: 100vh;
  padding: 2rem;
}

.profile-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.profile-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #7c4dff, #a679ff);
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.profile-avatar:hover {
  transform: scale(1.05);
}

.profile-avatar i {
  font-size: 4.5rem;
  color: white;
}

#profile-name {
  color: #2d2a6e;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

#profile-account {
  color: #6c63ff;
  font-size: 1.1rem;
  font-weight: 500;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.profile-item {
  background: #f9f8ff;
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.profile-item:hover {
  transform: translateY(-3px);
}

.profile-item label {
  display: block;
  color: #6c63ff;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.profile-item p {
  color: #2d2a6e;
  font-size: 1.1rem;
  margin: 0;
}

.status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.status.active {
  background: linear-gradient(45deg, #00c853, #00e676);
  color: white;
}

.edit-profile-btn {
  background: linear-gradient(45deg, #7c4dff, #a679ff);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  display: block;
  margin: 2rem auto 0;
  transition: all 0.3s ease;
}

.edit-profile-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(124, 77, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-card {
    padding: 2rem;
  }

  .profile-details {
    grid-template-columns: 1fr;
  }

  .profile-avatar {
    width: 100px;
    height: 100px;
  }

  .profile-avatar i {
    font-size: 3.5rem;
  }
}

/* Support Page Styles */
#support-page {
  background: linear-gradient(135deg, #fff3e6 0%, #ffe8cc 100%);
  min-height: 100vh;
  padding: 2rem;
}

.support-card {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.support-options {
  display: grid;
  gap: 2rem;
}

.support-option {
  background: #fffaf5;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 107, 0, 0.1);
}

.support-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(255, 107, 0, 0.1);
}

.support-option i {
  font-size: 2.5rem;
  background: linear-gradient(45deg, #ff6b00, #ff9d00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
}

.support-option h3 {
  color: #ff6b00;
  margin: 1rem 0;
  font-size: 1.5rem;
}

.support-option p {
  color: #ff9d00;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}

.support-form h3 {
  color: #ff6b00;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  color: #00e676;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #00ef76;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-group input:focus,
.input-group textarea:focus {
  border-color: #00e676;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.support-btn {
  background: linear-gradient(45deg, #ff6b00, #ff9d00);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  width: 100%;
}

.support-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 20px rgba(255, 107, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .support-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .support-options {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 480px) {
  .support-card {
    padding: 2rem;
  }

  .support-option {
    padding: 1.5rem;
  }

  .support-form h3 {
    font-size: 1.5rem;
  }
}

/* Cards Page Styles */
#cards-page {
  background: linear-gradient(135deg, #e6f3ff 0%, #d1e8ff 100%);
  min-height: 100vh;
  padding: 2rem;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card-item {
  background: white;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.credit-card {
  background: linear-gradient(45deg, #2d2a6e, #6c63ff);
  border-radius: 15px;
  padding: 1.5rem;
  color: white;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.card-header h3 {
  font-size: 1.4rem;
  margin: 0;
}

.fab.fa-cc-visa {
  font-size: 2.5rem;
  color: white;
}

.card-number p {
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-align: center;
  margin: 1rem 0;
  font-family: "Courier New", monospace;
}

.card-details {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
}

.card-holder p,
.card-expiry p {
  font-size: 0.8rem;
  margin: 0;
  opacity: 0.8;
  text-transform: uppercase;
}

.card-holder h4,
.card-expiry h4 {
  margin: 0.3rem 0 0;
  font-size: 1.1rem;
}

.card-actions {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.card-action-btn {
  padding: 0.8rem 1.5rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-action-btn i {
  font-size: 1.1rem;
}

.freeze-btn {
  background: linear-gradient(45deg, #4a7dff, #6c63ff);
  color: white;
}

.details-btn {
  background: linear-gradient(45deg, #00c853, #00e676);
  color: white;
}

.card-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.add-card {
  background: white;
  border: 2px dashed #6c63ff;
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 200px;
}

.add-card:hover {
  background: #f8f7ff;
  transform: scale(1.02);
}

.add-card i {
  font-size: 2.5rem;
  color: #6c63ff;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.add-card:hover i {
  transform: scale(1.1);
}

.add-card p {
  color: #6c63ff;
  font-weight: 600;
  margin: 0;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cards-container {
    grid-template-columns: 1fr;
  }

  .card-number p {
    font-size: 1.2rem;
  }

  .card-action-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Settings Page Styles */
#settings-page {
  background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
  min-height: 100vh;
  padding: 2rem;
}

.settings-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.settings-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #eee;
}

.settings-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.settings-section h3 {
  color: #2d2a6e;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem;
  background: #f8f9ff;
  border-radius: 12px;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.setting-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(45, 42, 110, 0.05);
}

.setting-info h4 {
  color: #2d2a6e;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.setting-info p {
  color: #6c63ff;
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

/* Switch Styles */
.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked + .slider {
  background: linear-gradient(45deg, #6c63ff, #4a7dff);
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Save Button */
.save-settings-btn {
  background: linear-gradient(45deg, #6c63ff, #4a7dff);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: block;
  margin: 2rem auto 0;
}

.save-settings-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 20px rgba(108, 99, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .settings-card {
    padding: 1.5rem;
  }

  .setting-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .switch {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .settings-section h3 {
    font-size: 1.3rem;
  }

  .setting-info h4 {
    font-size: 1rem;
  }

  .setting-info p {
    font-size: 0.85rem;
  }

  .save-settings-btn {
    width: 100%;
  }
}

/* Add User Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  animation: modalSlide 0.3s ease-out;
}

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

.modal-header {
  padding: 1.5rem;
  background: linear-gradient(45deg, #2d2a6e, #6c63ff);
  color: white;
  border-radius: 15px 15px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.close-modal {
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.close-modal:hover {
  transform: scale(1.2);
  color: #ff6b00;
}

.modal-body {
  padding: 2rem 1.5rem;
}

.input-group {
  margin-bottom: 1.5rem;
}

.input-group label {
  display: block;
  color: #2d2a6e;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.input-group input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #e0e0ff;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.input-group input:focus {
  border-color: #6c63ff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.add-user-btn {
  background: linear-gradient(45deg, #00c853, #00e676);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.add-user-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3);
}

/* Responsive Design */
@media (max-width: 480px) {
  .modal-content {
    width: 95%;
  }

  .modal-header h2 {
    font-size: 1.3rem;
  }

  .modal-body {
    padding: 1.5rem 1rem;
  }

  .input-group input {
    padding: 0.7rem;
  }

  .add-user-btn {
    padding: 0.9rem;
    font-size: 1rem;
  }
}

/* Admin Users Page Styles */
#admin-users-page {
  background: linear-gradient(135deg, #f8f9ff 0%, #f0f3ff 100%);
  min-height: 100vh;
  padding: 2rem;
}

.admin-page-title {
  color: #2d2a6e;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.admin-controls {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.search-box {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 30px;
  padding: 0.5rem 1rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  flex-grow: 1;
  max-width: 400px;
}

#user-search {
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  width: 100%;
  background: transparent;
}

#user-search:focus {
  outline: none;
}

#search-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #6c63ff;
  font-size: 1.1rem;
  padding: 0 0.5rem;
  transition: transform 0.3s ease;
}

#search-btn:hover {
  transform: scale(1.1);
}

.admin-btn {
  background: linear-gradient(45deg, #00c853, #00e676);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 200, 83, 0.2);
}

.admin-table-container {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.admin-table th {
  color: #2d2a6e;
  font-weight: 600;
  padding: 1rem;
  text-align: left;
  border-bottom: 2px solid #f0f0ff;
}

.admin-table td {
  padding: 1rem;
  color: #4d5b9e;
  border-bottom: 1px solid #f8f8ff;
}

.admin-table tbody tr:hover {
  background: #f8f9ff;
}

.status {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.status.active {
  background: linear-gradient(45deg, #00c853, #00e676);
  color: white;
}

.status.inactive {
  background: linear-gradient(45deg, #ff6b00, #ff9d00);
  color: white;
}

.action-btns {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  padding: 0.4rem 0.8rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.action-btn.edit {
  background: #6c63ff20;
  color: #6c63ff;
}

.action-btn.delete {
  background: #ff444420;
  color: #ff4444;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
  .admin-controls {
    flex-direction: column;
  }

  .search-box {
    max-width: none;
  }

  .admin-btn {
    width: 100%;
    justify-content: center;
  }

  .admin-table th,
  .admin-table td {
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .admin-page-title {
    font-size: 1.8rem;
  }

  .action-btns {
    flex-direction: column;
  }

  .action-btn {
    justify-content: center;
  }
}

/* Deposit Page Styles */
.deposit-card {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  margin: 15px;
  box-shadow: var(--card-shadow);
}

.deposit-methods {
  margin-bottom: 20px;
}

.deposit-methods h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.method-options {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.method-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  height: 80px;
  border-radius: 12px;
  border: 2px solid var(--border-color);
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s;
}

.method-option.active {
  border-color: var(--primary-color);
  background-color: var(--primary-light);
  color: var(--primary-color);
}

.method-option i {
  font-size: 24px;
  margin-bottom: 8px;
}

.method-option span {
  font-size: 14px;
  font-weight: 500;
}

.deposit-form {
  margin-top: 20px;
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.input-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.input-group input:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 102, 255, 0.1);
}

.input-row {
  display: flex;
  gap: 15px;
}

.input-row .input-group {
  flex: 1;
}

.bank-details,
.crypto-details {
  background-color: var(--primary-light);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
}

.bank-info,
.crypto-info {
  color: var(--text-dark);
}

.bank-info h4,
.crypto-info h4 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: var(--primary-color);
}

.bank-info p,
.crypto-info p {
  font-size: 14px;
  margin-bottom: 15px;
}

.bank-detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.bank-detail-item span {
  color: var(--text-medium);
}

.bank-detail-item strong {
  color: var(--text-dark);
}

.qr-code {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.qr-code i {
  font-size: 120px;
  color: var(--text-dark);
}

.wallet-address {
  margin-top: 15px;
}

.wallet-address span {
  display: block;
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 5px;
}

.address-copy {
  display: flex;
  align-items: center;
  background-color: white;
  border-radius: 8px;
  padding: 10px;
  overflow: hidden;
}

.address-copy code {
  flex: 1;
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  padding: 5px;
  font-size: 16px;
}

.deposit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.deposit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.recent-deposits {
  margin: 20px 15px;
}

.recent-deposits h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.no-deposits {
  text-align: center;
  padding: 30px;
  background-color: white;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
}

.no-deposits i {
  font-size: 40px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.no-deposits p {
  color: var(--text-medium);
  font-size: 16px;
  margin: 0;
}

.deposits-list {
  display: none;
}

/* Profile Page Styles */
.profile-header {
  text-align: center;
  padding: 30px 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border-radius: 0 0 20px 20px;
  margin-bottom: 20px;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  font-size: 40px;
}

.profile-header h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 5px 0;
}

.profile-header p {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
}

.profile-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0 15px;
  margin-bottom: 30px;
}

.profile-item {
  background-color: white;
  border-radius: 15px;
  padding: 15px;
  box-shadow: var(--card-shadow);
}

.profile-item label {
  display: block;
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 5px;
}

.profile-item p {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  margin: 0;
}

.profile-actions {
  padding: 0 15px;
  margin-bottom: 30px;
}

.profile-action-card {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  box-shadow: var(--card-shadow);
}

.profile-action-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px 0;
  color: var(--text-dark);
}

.change-password-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.change-password-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

/* Send Money Page Styles */
.transfer-card {
  background-color: white;
  border-radius: 15px;
  padding: 20px;
  margin: 15px;
  box-shadow: var(--card-shadow);
}

.transfer-form {
  margin-top: 10px;
}

.transfer-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.transfer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.recent-transfers {
  margin: 20px 15px;
}

.recent-transfers h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.no-transfers {
  text-align: center;
  padding: 30px;
  background-color: white;
  border-radius: 15px;
  box-shadow: var(--card-shadow);
}

.no-transfers i {
  font-size: 40px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.no-transfers p {
  color: var(--text-medium);
  font-size: 16px;
  margin: 0;
}

.transfers-list {
  display: none;
}

/* Transaction History Page Styles */
.history-filters {
  display: flex;
  gap: 15px;
  margin: 15px;
  flex-wrap: wrap;
}

.filter-group {
  flex: 1;
  min-width: 150px;
}

.filter-group label {
  display: block;
  font-size: 14px;
  color: var(--text-medium);
  margin-bottom: 8px;
}

.filter-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 16px;
  background-color: white;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

.history-table-container {
  margin: 15px;
  background-color: white;
  border-radius: 15px;
  padding: 15px;
  box-shadow: var(--card-shadow);
  overflow-x: auto;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
}

.history-table th {
  padding: 15px;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-medium);
  border-bottom: 1px solid var(--border-color);
}

.history-table td {
  padding: 15px;
  font-size: 14px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
}

.history-table tr:last-child td {
  border-bottom: none;
}

.no-history {
  text-align: center;
  padding: 40px 20px;
  background-color: white;
  border-radius: 15px;
  margin: 15px;
  box-shadow: var(--card-shadow);
  display: none;
}

.no-history-icon {
  font-size: 50px;
  color: var(--text-light);
  margin-bottom: 15px;
}

.no-history h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 10px 0;
}

.no-history p {
  color: var(--text-medium);
  font-size: 16px;
  margin: 0;
}

/* Coming Soon Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: modalFade 0.3s;
}

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

.modal-header {
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0;
}

.close-modal {
  font-size: 24px;
  color: var(--text-medium);
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--danger-color);
}

.modal-body {
  padding: 20px;
}

.coming-soon-content {
  text-align: center;
  padding: 20px 0;
}

.coming-soon-content i {
  font-size: 60px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.coming-soon-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-dark);
  margin: 0 0 15px 0;
}

.coming-soon-content p {
  color: var(--text-medium);
  font-size: 16px;
  margin: 0;
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .profile-details {
    grid-template-columns: 1fr;
  }

  .input-row {
    flex-direction: column;
    gap: 0;
  }
}

/* Adjust responsive styles for Android screens */
@media (max-width: 480px) {
  /* Adjust login/register container */
  .login-form,
  .register-form {
    width: 95%;
    padding: 20px;
  }

  /* Adjust dashboard container */
  .dashboard-container {
    max-width: 100%;
    padding-bottom: 80px;
  }

  /* Adjust balance card */
  .balance-card {
    padding: 15px;
    margin: 10px;
  }

  .balance-amount {
    font-size: 28px;
  }

  .date-time {
    position: static;
    text-align: left;
    margin-bottom: 15px;
  }

  .time {
    font-size: 16px;
  }

  .date {
    font-size: 12px;
  }

  /* Adjust account details */
  .account-details {
    flex-direction: column;
    gap: 10px;
  }

  .account-actions {
    width: 100%;
    justify-content: space-between;
  }

  /* Adjust quick actions */
  .quick-actions {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0 10px;
  }

  .action-item {
    height: 120px;
    padding: 15px 10px;
  }

  .action-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 10px;
  }

  .action-item p {
    font-size: 14px;
  }

  /* Adjust cards and transactions sections */
  .cards-section,
  .transactions-section {
    margin: 15px 10px;
    padding: 15px;
  }

  /* Adjust bottom navigation */
  .bottom-nav {
    padding: 8px 0;
  }

  .nav-item i {
    font-size: 18px;
  }

  .nav-item span {
    font-size: 10px;
  }

  /* Adjust center button */
  .center-button {
    width: 50px;
    height: 50px;
    font-size: 20px;
    bottom: 25px;
  }

  /* Adjust profile page */
  .profile-header {
    padding: 20px 10px;
  }

  .profile-avatar {
    width: 80px;
    height: 80px;
    font-size: 30px;
  }

  .profile-details {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 10px;
  }

  /* Adjust transfer page */
  .transfer-card,
  .deposit-card {
    padding: 15px;
    margin: 10px;
  }

  /* Adjust history page */
  .history-filters {
    margin: 10px;
    gap: 10px;
  }

  .history-table-container {
    margin: 10px;
    padding: 10px;
  }

  .history-table th,
  .history-table td {
    padding: 10px;
    font-size: 12px;
  }
}

/* Fix URL bar for smaller screens */
.url-bar {
  margin: 0 5px 5px;
  padding: 6px 10px;
}

/* Fix modal for smaller screens */
.modal-content {
  width: 95%;
}

.modal-header {
  padding: 10px 15px;
}

.modal-body {
  padding: 15px;
}

/* Fix deposit methods for smaller screens */
.method-options {
  gap: 10px;
}

.method-option {
  min-width: 70px;
  height: 70px;
}
