﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
.table-responsive {
    max-width: 100%; 
}

.table {
    table-layout: fixed;   
    width: 100%;          
}
.modal {
    z-index: 9999 !important;
}

.modal-backdrop {
    z-index: 9998 !important;
}

.modal-dialog {
    margin-top: 5vh;
}
.table th, .table td {
    vertical-align: middle;
    height: 60px;
    padding: 0px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.table th:nth-child(1), .table td:nth-child(1) { width: 50px; } 
.table th:nth-child(2), .table td:nth-child(2) { width: 180px; }
.table th:nth-child(3), .table td:nth-child(3) { width: 180px; }
.table th:nth-child(4), .table td:nth-child(4) { width: 180px; }
.table th:nth-child(5), .table td:nth-child(5) { width: 180px; }
.table th:nth-child(6), .table td:nth-child(6) { width: 180px; }
.table th:nth-child(7), .table td:nth-child(7) { width: 100px; }

.input-group{
    width:200px;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  font-family: 'Baloo 2', cursive, sans-serif;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

:root {
  --purrvet-orange: #f9a825;
  --purrvet-dark: #333;
  --purrvet-light: #fff;
}

.navbar-brand img {
  max-height: 60px;
}
.statusfiltering {
    max-height: 170px;
    overflow-y: auto;
    scrollbar-width:thin;
}
.select2-container .select2-selection--single {
    height: 38px !important;
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    padding: 4px 10px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

.btn-hamburger {
  background-color: var(--purrvet-orange);
  color: var(--purrvet-light);
  border-radius: 8px;
  font-size: 1.4rem;
  line-height: 1;
  padding: 0.4rem 0.8rem;
  border: none;
}

.btn-hamburger:hover,
.btn-hamburger:focus {
  background-color: #e59400;
  color: var(--purrvet-light);
}

.dropdown-menu {
  border-radius: 10px;
  border: 1px solid #eee;
}
.dropdown-toggle,
.dropdown-menu .dropdown-item {
    cursor: pointer !important;
}
.dropdown-menu .dropdown-item:hover {
  background-color: var(--purrvet-orange);
  color: var(--purrvet-light);
}
.btn-edit {
    background-color: white;
    color: #5C8451;
    box-shadow: 0 2px 0 rgba(0,0,0,0.15); 
    transition: all 0.2s ease-in-out;
}

.btn-edit:hover {
    background-color: #5C8451;
    color: white;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25); 
    transform: translateY(-2px);
}
.btn-view {
    background-color: white;
    color: #559DD4;
    box-shadow: 0 2px 0 rgba(0,0,0,0.15);
    transition: all 0.2s ease-in-out;
}

.btn-view:hover {
    background-color: #559DD4;
    color: white;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25); 
    transform: translateY(-2px);
}
.hero-section {
  position: relative;
  min-height: 90vh;
  background-color: white;
  overflow: hidden;
}

.hero-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px;
    background: #f9a825;
    clip-path: path("M0,120 C200,200 400,40 600,120 C800,200 1000,40 1200,120 C1400,200 1600,40 1800,120 C2000,200 2200,40 2400,120 C2600,200 2800,40 3000,120 L3000,0 L0,0 Z"); z-index: 0;
}
.hero-paws {
  position: absolute !important;
  bottom: 0 !important;
  right: 20px !important;
  height: 200px;
  width: auto;
  z-index: 5;
}
.login-paws {
  max-width: 220px;
  height: auto;
  margin-left: 10px; 
  opacity: 1;
}
.reg-paws {
  max-width: 220px;
  height: auto;
  margin-left: 10px;
  opacity: 1;
}
.forgot-paws {
  max-width: 220px;
  height: auto;
  margin-left: 10px;
  opacity: 1;
}
.slogan-col,
.login-card {
  position: relative;
  z-index: 2;
}

.navbar-logo {
    font-weight: 700;
    color: #000;
    margin: 0;
    font-size: 1.7rem;
}
.dog-img {
  height: 122px;
  width: auto;
  display: block;
  margin: 0 auto -5px auto;
}

.login-card {
  min-height: 520px;
  max-width: 400px;
  background: #fff;
  border-radius: 5px;
}

.slogan {
  font-size: 2.2rem; 
  line-height: 1.2;   
  text-align: center;  
  margin-top: 180px;
}
.forgot {
  font-size: 2.2rem;
  line-height: 1.2;
  text-align: center;
  margin-top: 180px;
}
.btn-skyblue {
  background-color: #559DD4; 
  color: white;
  border: none;
  padding: 12px 20px; 
  font-size: 16px;
  border-radius: 8px;
  width: 100%; 
  min-height: 48px; 
  transition: background-color 0.3s, transform 0.2s;
  cursor: pointer;
  display: inline-flex;
  justify-content: center; 
  align-items: center; 
}

.btn-skyblue:hover {
  background-color: #417bb5;
}
.btn-back i {
  font-size: 1.3rem;
}
.btn-back:hover i {
  color: #559DD4;
}

.home-hero {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    padding-top: 8rem;
    padding-bottom: 4rem;
}

.home-container {
    position: relative;
    z-index: 2;
}

.home-title {
    font-size: 3.2rem;
    line-height: 1.2;
    color: #333;
}

.home-subtext {
    font-size: 1.25rem;
    max-width: 500px;
    color: #666;
}

.home-dog {
    max-width: 80%;
    transition: transform 0.4s ease;
}

    .home-dog:hover {
        transform: scale(1.05);
    }

.home-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .home-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
    }

.home-banner {
    max-width: 100%;
    border-radius: 20px;
    transition: transform 0.4s ease;
}
.home-banner:hover {
    transform: scale(1.03);
}
.card-equal {
    min-height: 140px; /* adjust height based on your layout */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
/*mobile ni */
@media (max-width: 768px) {
  .login-paws {
    max-width: 80px;
    position:absolute;
    top: 23.4%;
    left: 58%;
    margin-left:40px;
  }
  .hero-paws {
    height: 150px;
    margin-bottom: 15px;
  }
  .table th, .table td {
        width: 14.28%;
        min-width: 0; 
    }
  .row.align-items-center {
    flex-direction: column;
  }

  .login-card {
    margin-top: 5px;
    max-width: 90%;
    min-height: auto;
  }
  .captcha-placeholder {
    border: 1px dashed #bbb;
    border-radius: 6px;
    padding: 15px;
    background-color: #f9f9f9;
  }
  .slogan {
    font-size: 2.2rem; 
    line-height: 1.2;   
    text-align: center;  
    margin-top: 180px;
    margin-right: 70px;
  }
  .forgot {
    font-size: 2.2rem; 
    line-height: 1.2;   
    text-align: center;  
    margin-top: 1px;
    margin-right: 70px;
    visibility:hidden;
  }
  .reg-paws {
    max-width: 80px;
    position:absolute;
    top: 23.4%;
    left: 58%;
    margin-left:40px;
  }
  .forgot-paws {
    max-width: 80px;
    position:absolute;
    top: 23.4%;
    left: 58%;
    margin-left:40px;
    display:none;
  }

}
