/* ePay Admin - Custom Styles based on Home design */
/* Color Scheme: Blue #95ACBD */

:root {
  --epay-primary: #95ACBD;
  --epay-secondary: #6c757d;
  --epay-success: #198754;
  --epay-danger: #dc3545;
  --epay-info: #95ACBD;
  --epay-warning: #ffc107;
  --epay-dark: #343a40;
  --epay-light: #f8f9fa;
  --epay-blue: #95ACBD;
  --epay-blue-light: #4a90c8;
}

/* Override AdminLTE colors with ePay blue theme #95ACBD */
.navbar-info {
  background-color: #95ACBD !important;
  border-bottom: 3px solid #1e5a8f !important;
}

.bg-info {
  background-color: #95ACBD !important;
}

.bg-success {
  background-color: #198754 !important;
}

.text-bg-info {
  background-color: #95ACBD !important;
  color: #fff !important;
}

.btn-info {
  background-color: #95ACBD !important;
  border-color: #95ACBD !important;
}

.btn-info:hover {
  background-color: #1e5a8f !important;
  border-color: #1e5a8f !important;
}

.btn-primary {
  background-color: #95ACBD !important;
  border-color: #95ACBD !important;
}

.btn-primary:hover {
  background-color: #1e5a8f !important;
  border-color: #1e5a8f !important;
}

.card-info {
  border: 1px solid #95ACBD !important;
}

.card-info .card-header {
  background-color: #95ACBD !important;
  color: #fff !important;
  border-bottom: 1px solid #95ACBD !important;
}

/* User menu dropdown styling */
.user-header {
  background-color: #95ACBD !important;
  color: #fff !important;
}

.user-header p {
  color: #fff !important;
}

.user-body {
  background-color: #fff !important;
}

/* Sidebar styling */
.app-sidebar {
  background: linear-gradient(180deg, #95ACBD 0%, #1e5a8f 100%) !important;
  border-right: 2px solid #1e5a8f !important;
}

.sidebar-brand {
  background-color: #95ACBD !important;
}

.brand-link {
  background-color: transparent !important;
}

.brand-text {
  color: #fff !important;
  font-size: 1.4rem !important;
}

/* Navigation links */
.nav-sidebar .nav-link {
  color: #fff !important;
  font-weight: 500 !important;
}

.nav-sidebar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
}

.nav-sidebar .nav-link.active {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #fff !important;
  border-left: 3px solid #ffc107 !important;
}

.nav-sidebar .nav-link.active i {
  color: #ffc107 !important;
}

.nav-header {
  color: #ffc107 !important;
  font-weight: bold !important;
  text-transform: uppercase;
  font-size: 0.75rem !important;
  padding: 0.5rem 1rem !important;
}

/* App footer */
.app-footer {
  background-color: #95ACBD !important;
  border-top: 3px solid #1e5a8f !important;
  color: #fff !important;
}

.app-footer a {
  color: #fff !important;
}

/* Cards */
.card {
  border: 1px solid #dee2e6 !important;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.card-primary {
  border-top: 3px solid #95ACBD !important;
}

/* Info boxes */
.info-box .info-box-icon {
  background-color: #95ACBD !important;
  color: #fff !important;
}

.info-box .info-box-icon.text-bg-primary {
  background-color: #95ACBD !important;
  color: #fff !important;
}

.info-box .info-box-icon.text-bg-success {
  background-color: #198754 !important;
  color: #fff !important;
}

.info-box .info-box-icon.text-bg-danger {
  background-color: #dc3545 !important;
  color: #fff !important;
}

.info-box .info-box-icon.text-bg-warning {
  background-color: #ffc107 !important;
  color: #343a40 !important;
}

.info-box .info-box-icon.text-bg-info {
  background-color: #95ACBD !important;
  color: #fff !important;
}

/* Login page customization */
.login-page {
  background: linear-gradient(135deg, #95ACBD 0%, #4a90c8 50%, #1e5a8f 100%) !important;
}

.login-card {
  border-radius: 15px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.card-primary.card-outline {
  border-top: 4px solid #95ACBD !important;
}

/* Form controls */
.form-control:focus {
  border-color: #95ACBD !important;
  box-shadow: 0 0 0 0.2rem rgba(37, 113, 183, 0.25) !important;
}

/* Breadcrumb */
.breadcrumb-item a {
  color: #95ACBD !important;
}

.breadcrumb-item.active {
  color: #343a40 !important;
}

/* Dropdown menus */
.dropdown-item:hover {
  background-color: #95ACBD !important;
  color: #fff !important;
}

.dropdown-item.active {
  background-color: #1e5a8f !important;
  color: #fff !important;
}

/* Badges */
.badge-info {
  background-color: #95ACBD !important;
  color: #fff !important;
}

/* Table styling */
.table thead th {
  background-color: #95ACBD !important;
  color: #fff !important;
  border-bottom: 2px solid #1e5a8f !important;
}

/* Progress bars */
.progress-bar {
  background-color: #95ACBD !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #95ACBD;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1e5a8f;
}

/* App content header */
.app-content-header {
  background-color: #fff !important;
  border-bottom: 1px solid #dee2e6 !important;
}

/* Small devices */
@media (max-width: 768px) {
  .app-sidebar {
    background: linear-gradient(180deg, #28a745 0%, #1e7e34 100%) !important;
  }
  
  .navbar-success {
    background-color: #28a745 !important;
  }
}

/* Animation effects */
.nav-sidebar .nav-link {
  transition: all 0.3s ease;
}

.nav-sidebar .nav-link:hover {
  transform: translateX(5px);
}

/* Card hover effects */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* User avatar */
.user-image {
  border: 2px solid #28a745 !important;
}

.rounded-circle {
  border: 2px solid #28a745 !important;
}

/* Logo styling */
.brand-image {
  border: 2px solid #fff !important;
  border-radius: 50% !important;
}

/* Content wrapper */
.content-wrapper {
  background-color: #f5f5f5 !important;
}

/* Navbar icons */
.navbar-nav .nav-link {
  color: #fff !important;
}

.navbar-nav .nav-link:hover {
  color: #ffc107 !important;
}

/* Sidebar toggle */
.nav-link .text-dark {
  color: #fff !important;
}

/* Override text colors in sidebar */
.sidebar .nav-link p {
  color: #fff !important;
}

.sidebar .nav-link i {
  color: #fff !important;
}
