:root {
  --bg-main: linear-gradient(to left, #3fc4d3 0%, #17a2b8 100%);
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --light-color: #f8f9fa;
  --white-color: #ffffff;
  --dark-color: #343a40;
  --darklight-color: #d8d4d4ab;
}
/*--bg-main: linear-gradient(to right, #667eea 0%, #764ba2 100%);*/
/* Mobile Banking App CSS - Loan Management */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  background: transparent;
  height: 90vh;
  overflow-x: hidden;
  padding-bottom: 0px;
}

.app {
  max-width: 1200px;
  margin: 20px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  height: 90vh;
  display: flex;
  flex-direction: column;
  background-color: #f8f9fa;
}
.main-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-template-rows: auto 1fr auto;
  height: 90vh;
  overflow: hidden;
}

.app-sidebar-menu-container {
  background-color: #2c3e50;
  width: 250px;
  height: 90vh;
  overflow: hidden !important;
  overflow-y: auto !important;
}

.app-middle-container {
  margin-top: 60px;
  height: calc(90vh - 115px);
  position: relative;
  overflow: hidden !important;
  overflow-y: auto !important;
}
.app-menu-header {
  background: var(--bg-main);
  min-heght: 80px;
}

.bars {
  display: none;
}
.back-btn,
.app-header-text {
  color: #fefefe;
}

.back-btn {
  border: 2px solid rgba(67, 64, 64, 0.1) !important;
  color: #fefefe;
}

/* Enhanced Modal Styles - Smaller Version */
.modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  max-width: 400px;
  margin: 0 auto;
}

.modal-dialog {
  max-width: 420px;
}

.modal-header {
  border: none;
  padding: 15px 20px;
  background: var(--bg-main);
  position: relative;
}

.modal-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 100%
  );
  pointer-events: none;
}

.modal-body {
  padding: 20px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.modal-footer {
  border: none;
  padding: 5px 10px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

/* form input  fields */

.form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 6px;
  font-size: 13px;
}

.form-select,
.form-control {
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: white;
}

.form-select:focus,
.form-control:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.15rem rgba(102, 126, 234, 0.2);
  transform: translateY(-1px);
}

.input-group {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.input-group-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 12px;
}
/* Enhanced Radio Buttons */
.form-check-input:checked + .form-check-label {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  border-color: #28a745;
  color: white;
}

/* Floating Labels */
.form-floating {
  position: relative;
}

.form-floating > .form-control {
  height: calc(3rem + 2px);
  line-height: 1.2;
  padding: 0.8rem 0.6rem;
}

.form-floating > label {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  padding: 0.8rem 0.6rem;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition:
    opacity 0.1s ease-in-out,
    transform 0.1s ease-in-out;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  opacity: 0.65;
  transform: scale(0.8) translateY(-0.4rem) translateX(0.12rem);
}

/* Enhanced Form Controls */
.form-control:focus,
.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
  transform: translateY(-1px);
}

.input-group-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 12px;
}

/* Transaction Forms */
.transaction-form {
  max-width: 500px;
  margin: 0 auto;
  min-height: 250px;
}

/* Form Text */
.form-text {
  font-size: 12px;
  color: #6c757d;
  margin-top: 5px;
}

/* Success Animation */
.success-pulse {
  animation: successPulse 0.6s ease;
}

@keyframes successPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.transaction-form {
  display: none;
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.transaction-form.active {
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form Headers */
.transaction-form h5 {
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #e9ecef;
  position: relative;
}

.transaction-form h5::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: currentColor;
}

/* Enhanced Form Groups */
.form-group-enhanced {
  margin-bottom: 25px;
  width: 100%;
}

.form-label-enhanced {
  font-weight: 600;
  color: var(--dark-color);
  margin-bottom: 10px;
  font-size: 14px;
  display: flex;
  align-items: center;
  position: relative;
}

.required-indicator {
  color: var(--danger-color);
  font-weight: 700;
  margin-left: 5px;
  font-size: 16px;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.form-group-enhanced .form-control-enhanced {
  width: 100%;
}

.form-group-enhanced textarea.form-control-enhanced {
  resize: vertical;
  min-height: 80px;
}

/* Enhanced required field styling */
.form-select-enhanced[required]:invalid {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}

.form-select-enhanced[required]:valid {
  border-color: var(--success-color);
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.15);
}

.form-select-enhanced[required]:valid + .selected-account-info {
  border-left-color: var(--success-color);
  background: linear-gradient(
    135deg,
    rgba(40, 167, 69, 0.05) 0%,
    rgba(32, 201, 151, 0.05) 100%
  );
  border-color: rgba(40, 167, 69, 0.1);
}

.form-select-enhanced[required]:valid
  + .selected-account-info
  .account-info-content
  i {
  color: var(--success-color);
}

/* Form Actions */
.form-actions {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e9ecef;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-actions .btn {
  width: 100%;
}

/* buttons */

.btn-group .btn-check:checked + .btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: white;
  transform: scale(1.02);
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.25);
}

.btn-group .btn {
  border-radius: 8px;
  padding: 8px 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #e9ecef;
  font-size: 13px;
}

.btn-group .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

#sendMoneyBtn {
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(255, 107, 107, 0.25);
  min-width: 100px;
}

#sendMoneyBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 18px rgba(255, 107, 107, 0.35);
}

#sendMoneyBtn:active {
  transform: translateY(-1px);
}

/* Network Specific Colors */
.btn-outline-success:checked {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
  border-color: #28a745 !important;
}

.btn-outline-danger:checked {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
  border-color: #dc3545 !important;
}

.btn-outline-warning:checked {
  background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
  border-color: #ffc107 !important;
}

.btn-outline-info:checked {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
  border-color: #17a2b8 !important;
}

/* alerts */

.alert-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 10px;
  color: white;
  padding: 12px 15px;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.15);
  font-size: 13px;
}

/* Animation Classes */

/* slide up */
@keyframes slideInUp {
  from {
    transform: translateY(80px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* modals */

.modal.show .modal-content {
  animation: slideInUp 0.3s ease-out;
}

.modal.show .modal-header {
  animation: pulse 1.5s infinite;
}

/* Glassmorphism Effect */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Transaction Modal Tabs */
.transaction-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.transaction-tabs::-webkit-scrollbar {
  display: none;
}

.transaction-tab {
  flex: 1;
  min-width: 60px;
  padding: 8px 6px;
  background: transparent;
  border: none;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: #6c757d;
  position: relative;
  overflow: hidden;
}

.transaction-tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.transaction-tab:hover::before {
  opacity: 1;
}

.transaction-tab:hover {
  color: #667eea;
  transform: translateY(-1px);
}

.transaction-tab.active {
  background: linear-gradient(
    135deg,
    rgba(102, 126, 234, 0.1) 0%,
    rgba(118, 75, 162, 0.1) 100%
  );
  color: #667eea;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.transaction-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.transaction-tab i {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
  transition: transform 0.3s ease;
}

.transaction-tab:hover i {
  transform: scale(1.1);
}

.transaction-tab.active i {
  transform: scale(1.15);
}

/* Transaction Content Container */
.transaction-content-container {
  background: var(--white-color);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  margin-bottom: 30px;
}

.transaction-content {
  display: none;
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.transaction-content.active {
  display: block;
}

/* service icons */
.service-icon-small {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 14px;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.service-icon-small:hover {
  transform: scale(1.1);
}

.service-icon-small.send {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.service-icon-small.transfer {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.service-icon-small.global {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.service-icon-small.withdraw {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
.service-icon-small.airtime {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* Enhanced Form Controls */
.form-control:focus,
.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.15);
  transform: translateY(-1px);
}

.input-group-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  font-weight: 600;
  font-size: 12px;
}

/* Enhanced Buttons */
.btn-check:checked + .btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: white;
  transform: scale(1.02);
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.25);
}

.btn-group .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Enhanced Buttons */
.btn-check:checked + .btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: white;
  transform: scale(1.02);
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.25);
}

.btn-group .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

/* Process Button Enhancement */
#processTransactionBtn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 12px;
  padding: 12px 30px;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
  position: relative;
  overflow: hidden;
}

#processTransactionBtn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

#processTransactionBtn:hover::before {
  left: 100%;
}

#processTransactionBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Alert Enhancements */
.alert {
  border: none;
  border-radius: 10px;
  padding: 12px 15px;
  position: relative;
  overflow: hidden;
}

.alert::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: currentColor;
  opacity: 0.3;
}

.alert-info {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 3px 10px rgba(102, 126, 234, 0.15);
}

.alert-success {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
  box-shadow: 0 3px 10px rgba(40, 167, 69, 0.15);
}

/* Loading States */
.loading {
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Success Animation */
.success-pulse {
  animation: successPulse 0.6s ease;
}

@keyframes successPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Quick Actions Bar */
.quick-actions-bar {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-radius: 10px;
  padding: 10px 15px;
  border: 1px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.quick-favorite-btn {
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
  font-size: 11px;
  padding: 4px 8px;
}

.quick-favorite-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(102, 126, 234, 0.1),
    transparent
  );
  transition: left 0.3s ease;
}

.quick-favorite-btn:hover::before {
  left: 100%;
}

.quick-favorite-btn:hover {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
}

/* Recent Transactions Modal */
.recent-transactions-list {
  max-height: 300px;
  overflow-y: auto;
}

.recent-transaction-item {
  padding: 10px;
  border-bottom: 1px solid #e9ecef;
  cursor: pointer;
  transition: background 0.3s ease;
}

.recent-transaction-item:hover {
  background: rgba(102, 126, 234, 0.05);
}

.recent-transaction-item:last-child {
  border-bottom: none;
}

.transaction-amount {
  font-weight: 600;
  color: #28a745;
}

.transaction-amount.negative {
  color: #dc3545;
}

/* Balance Display */
.balance-display {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.balance-amount {
  font-size: 24px;
  font-weight: 700;
  margin: 5px 0;
}

.balance-label {
  font-size: 12px;
  opacity: 0.8;
}
.bg-theme-color {
  background: var(--bg-main);
}

.bg-theme-info {
  background: var(--info-color);
}

.app-header {
  min-height: 200px;
  border-bottom-left-radius: 20%;
  border-bottom-right-radius: 20%;
  position: absolute;
  width: calc(100% - 250px);
}
.bg-app-header {
  background: transparent;
}
.services {
  background-color: transparent;
  width: 100%;
  justify-self: center;
  position: absolute;
  top: 70px;
  border-radius: 30px;
  padding: 15px 10px;
}

.service-card {
  background: white;
  border-radius: 8px;
  padding: 1px 1px;
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.982);
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  border: none;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  font-size: 10px;
  color: white;
}

.service-icon.send {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.service-icon.transfer {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.service-icon.global {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.service-icon.withdraw {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}
.service-icon.bill {
  background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}
.service-icon.more {
  background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.service-title {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* Section Cards */
.section-container {
  margin-bottom: 5px;
}

.section-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: all 3s ease;
  margin-bottom: 0px;
  overflow: visible;
}

.section-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.section-card h5 {
  font-size: 13px;
  color: #2c3e50;
}

.transition-icon {
  transition: transform 0.3s ease;
}

.section-card.expanded .transition-icon {
  transform: rotate(180deg);
}

/* Transactions List */
.transactions-list {
  background: white;
  border-radius: 0 0 12px 12px;
  margin-top: -1px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  max-height: 500px;
  overflow-y: auto;
  overflow-x: hidden;
}

.transaction-item {
  border-bottom: 1px solid #f1f3f4;
  transition: background-color 0.2s ease;
}

.transaction-item:hover {
  background-color: #f8f9fa;
}

.transaction-item:last-child {
  border-bottom: none;
}

.transaction-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.transaction-item h6 {
  font-size: 12px;
  color: #2c3e50;
}

.app-container {
  position: relative;
  height: 100vh;
  background: #f8f9fa;
  display: grid;
  overflow: hidden;
}

.profile-pic {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

/* Bootstrap enhancements */
.navbar-custom {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

.btn-menu {
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  color: white !important;
  padding: 8px 16px !important;
  border-radius: 25px !important;
  transition: all 0.3s ease !important;
}

.btn-menu:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  transform: scale(1.05);
}

.user-info {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
}

.service-grid {
  width: 80%;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 10px;
  background-color: rgba(255, 255, 255, 0.994);
  position: relative;
  display: flex;
  justify-self: center;
  justify-content: center;
  top: 10px;
  border-radius: 15px;
}

.all-service-grid {
  display: grid;
  top: 55px;
  height: calc(100vh - 120px);
  width: 100%;
  position: fixed;
  justify-self: center;
  overflow-y: scroll;
}

.main-grid {
  width: 90%;
  max-width: 700px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  justify-self: center;
  flex-direction: column;
  position: relative;
  top: 10px;
}

/* Ripple effect styles */
.service-card {
  position: relative;
  overflow: hidden;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple-animation 0.6s ease-out;
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Toast container positioning */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1055;
}

.toast {
  min-width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-body {
  padding: 12px 16px;
}

.btn-close-white {
  filter: invert(1);
}

/* Left Sliding Menu */
.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  min-height: 100vh;
  background: var(--bg-main);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1050;
}

.side-menu.show {
  transform: translateX(0);
  width: 250px;
}

.menu-header {
  padding: 20px;
  border-bottom: 1px solid #444;
}

.menu-user {
  display: flex;
  align-items: center;
}

.menu-user img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 10px;
}

.menu-user-info {
  color: #fff;
}

.menu-user-info h6 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.menu-user-info p {
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

.menu-items {
  padding: 20px;
}

.menu-item {
  display: block;
  padding: 10px;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.2s ease;
}

.menu-item:hover {
  background-color: #444;
}

.menu-item.active {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.menu-item i {
  margin-right: 10px;
}

.menu-divider {
  height: 1px;
  background-color: #444;
  margin: 10px 0;
}

.menu-footer {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  padding: 10px;
  background-color: var(--bg-main);
  border-top: 1px solid #444;
  text-align: center;
  color: #fff;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: none;
}

.menu-overlay.show {
  display: block;
}

/* Bottom Menu Styles */
.bottom-menu {
  height: 60px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.bottom-menu-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}

.bottom-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 10px;
  position: relative;
}

.bottom-menu-item:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.bottom-menu-item.active {
  color: white;
  background: rgba(255, 255, 255, 0.2);
}

.bottom-menu-item i {
  font-size: 18px;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

.bottom-menu-item span {
  font-size: 10px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.bottom-menu-item:hover i {
  transform: scale(1.1);
}

.bottom-menu-item.active i {
  transform: scale(1.1);
}

/* Desktop sidebar styles */
@media (min-width: 769px) {
  .side-menu {
    transform: translateX(0);
    min-height: 90vh;
  }

  .main-content {
    width: calc(100% - 250px);
    background: #f8f9fa;
  }
}

/* Mobile styles */
@media (max-width: 768px) {
  .main-content {
    margin-left: 0 !important;
    padding: 0 !important;
    width: 100%;
  }
  .app-middle-container {
    height: calc(92vh - 115px);
  }

  .app-sidebar-menu-container {
    width: 0px;
    height: 90vh;
  }

  .back-btn {
    border: 2px solid rgba(255, 255, 255, 0.926) !important;
    color: white !important;
    padding: 8px 16px !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
  }

  .back-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.938) !important;
    transform: scale(1.05);
  }

  .app-header-text {
    color: #fff;
  }

  .app-header {
    width: 100%;
  }
  .bg-app-header {
    background: var(--bg-main);
  }

  .app {
    height: 100%;
    margin: 0px auto;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.2);
  }
  .app-menu-header {
    background: var(--bg-main);
    color: #fefefe;
  }
  .bars {
    display: block;
    color: #fefefe;
  }

  .main-grid {
    width: 90%;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    justify-self: center;
    flex-direction: column;
    position: relative;
    top: 10px;
  }
  .service-card {
    margin: 5px 0;
    min-height: 100px;
  }

  .service-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .service-title {
    font-size: 12px;
  }

  .menu-footer {
    bottom: 40px;
  }
}
