@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* Login page only */
.login-page {
  background-image: url("images/login_background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-family: 'Montserrat',Sans-Serif;
  margin: 0;
}

/* Login box container */
.login-box {
  background: white;
  padding: 30px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-radius: 8px;
}

/* Title inside the login box */
.login-box h2 {
  margin-bottom: 20px;
  text-align: center;
}

/* Full width login button */
.account-btn {
  width: 100%;
}

/* Optional margin for error messages */
.alert {
  margin-top: 10px;
}

.logo {
  max-width: 120px;
  height: auto;
}

.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-footer {
  font-size: 14px;
  color: #777;
}

.login-footer p {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s;
}

.login-footer a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.login-footer a:hover {
  color: #007bff;
}

.social-icons a {
  margin: 0 10px;
  color: #ffffff;
  text-decoration: none;
}

.social-icons a:hover {
  color: #ffffff;
}

body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family:'Montserrat',Sans-Serif;
  background-color: #f8f9fa;
}

/* Main container fix */
.dashboard-layout {
  min-height: 100vh;
  width: 100%;
  overflow-x: hidden;
  font-family:'Montserrat',Sans-Serif;
}

/* Sidebar */

.sidebar a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  border-right: 1px;
  transition: background 0.2s, color 0.2s;
}

.sidebar a i {
  margin-right: 10px;
  color: #888;
  transition: color 0.2s;
}

.sidebar a:hover {
  background-color: #ffffff08;
  color: #1cc88a;
}
.sidebar a:hover i {
  color: #1cc88a;
}

.nav-selected {
  background-color: #65F28F; /* Light gray or your theme color */
  color: #ffffff ;
  font-size:18px;
  font-weight: 800;
  border-left: 4px solid #36d365; /* Blue highlight bar (optional) */
}

.nav-selected i {
  margin-right: 10px;
  color: #ffffff ; /* Icon color when selected */
  transition: color 0.2s;
}

/* Main area */
.main-area {
  background-color: #f7f8f9;
  min-height: 100vh;
}

/* Content inside main */
.content-area {
  flex: 1;
}

/* Topbar */
.top-bar {
  background-color: #fff;
}

.card {
  border-radius: 1rem;
}

.table th, .table td {
  vertical-align: middle;
}

.btn i {
  opacity: 0.8;
}

.form-select,
.form-control {
  border-radius: 8px;
}

.modal-content {
  border-radius: 12px;
}

.table-hover tbody tr:hover {
  background-color: #f9f9f9;
}


.badge {
  background-color: #36d365;
  font-size: 0.75rem;
  padding: 0.4em 0.6em;
}

.chart-container {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.table td a.btn i {
  font-size: 14px;
}

  .btn-sm {
    padding: 2px 8px;
    font-size: 0.8rem;
  }