/* general theme for the design */
/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans&family=Poppins:wght@600&display=swap');

/* Global Typography */
body {
  font-family: 'Noto Sans', sans-serif;
  font-size: 14px;
  color: #2e3a59;
  background-color: #f9fafc;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', serif;
  color: #183153;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}
a {
  color: #2a7ec6;
  text-decoration: none;
}

a:hover {
  color: #1c5e9d;
}

/* Primary Theme Colors */
:root {
  --primary-color: #2a7ec6;
  --primary-dark: #1c5e9d;
  --accent-color: #1f9c9f;
  --bg-color: #f4f7fa;
  --text-color: #2e3a59;
  --border-color: #dbe2ea;
}

/* Buttons */
.btn {
  font-family: 'Noto Sans', sans-serif;
  padding: 0.5rem .75;
  border-radius: 0.375rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
}

.btn-secondary {
  background-color: #e6ecf2;
  color: #2e3a59;
}

.btn-secondary:hover {
  background-color: #d1dce6;
}

/* Cards / Panels */
.card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  font-family: 'Noto Sans', sans-serif;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  background-color: #fff;
  color: var(--text-color);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(42, 126, 198, 0.15);
}

/* Table Styles */
.table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Noto Sans', sans-serif;
  margin-bottom: 1rem;
}

.table thead {
  background-color: var(--primary-color);
  color: white;
}

.table th,
.table td {
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

/* Utilities */
.text-center {
  text-align: center;
}

.text-muted {
  color: #6c757d;
}

.text-primary {
  color: var(--primary-color);
}

.bg-light {
  background-color: var(--bg-color);
}
/* material icons default styles */
.material-symbols-outlined {
  vertical-align: middle;
  color: #fff;
}
.material-symbols-outlined.md-18 {
  font-size: 18px;
} /* Default */
.material-symbols-outlined.md-24 {
  font-size: 24px;
}
.material-symbols-outlined.md-36 {
  font-size: 36px;
}
.material-symbols-outlined.md-48 {
  font-size: 48px;
}
.icon-shape {
  height: 3rem;
  width: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.icon-shape .md-36{
  margin: 0 !important;
}
#card-senior .icon{
  background-color: #8dc2f0;
}
#card-senior .material-symbols-outlined{
  color: #082a47;
}
#card-minors .material-symbols-outlined{
  color: #f0cc59;
}
#card-male .icon{
  background-color: #ddffba;
}
#card-male .material-symbols-outlined{
  color: #2e5803 ;
}
#card-female .icon{
  background-color: #faaaf6;
}
#card-female .material-symbols-outlined{
  color: #58033e ;
}
/* Custom Styles */
body {
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
}
.card {
    border-radius: 1rem;
    overflow: hidden;
}
.bg-blue {
    background-color: #0d3c66;
    color: white;
}
.form-control:focus {
    box-shadow: none;
}
.small-text {
    font-size: 0.9rem;
}
#dashboard {
    background-color: #f8f9fa;
}
.sidebar {
    min-height: 100vh;
    background-color: #212529;
}
.sidebar a {
    color: #fff;
    text-decoration: none;
}
.sidebar .active {
    background-color: #82c91e;
}
#sidebar .nav-link:hover {
    background-color: #495057;
}
#sidebar .material-symbols-outlined {
    margin-top: -2px;
    margin-right: 5px;
}
.card-stats {
    color: white;
}
body{
    background-color: rgb(231, 231, 231);
}
#dashboard {
    background-color: #f8f9fa;
}
.sidebar {
    min-height: 100vh;
    background-color: #212529;
}
.sidebar a {
    color: #fff;
    text-decoration: none;
}
.sidebar .active {
    background-color: #82c91e;
}
#side-bar-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: white;
}
.card-stats {
    color: white;
}
/* residents table style */
#residents-table{
    font-size: 12px;
}
/* Log in Page */
#login-page {
  background-image: url('image-assets/farm-bg-login.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  backdrop-filter: grayscale(1);
  min-height: 107vh;
  padding-top: 1rem;
}
#login-page .splash-screen-left{
  background-image: url('image-assets/login-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat; 
  --bs-border-radius: 1rem !important;
}
/* custom styles for dashboard pages */
.inner-content{
  background-color: #ffffff;
}
#residents-dashboard .material-symbols-outlined {
  vertical-align: middle;
  margin-right: 2px;
  margin-top: -4px;
}
.add-resident-subheading-icon.material-symbols-outlined {
  vertical-align: middle;
  margin-right: 1px;
  margin-top: -2px;
}
.dashboard-btn-function{
  align-items: center;
  justify-content: center;
  display: inline-flex;
}
.residents-dashboard-card .material-symbols-outlined{
  color: #183153;
}

/* print styles*/
#printable-page {
  display: none;
  /* opacity: 0.25;
  pointer-events: none !important; */
}

@media print {
  #printable-page {
    display: block;
  }
}