/* Option 2: Import via CSS */
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.3.0/font/bootstrap-icons.css");

* {
  margin: 0;
  padding: 0;
}
body {
  font-family: "poppins", sans-serif;
  background-color: #f5f5f5;
}

.brand-color {
  color: #003865;
}

.brand-bg {
  background-color: #003865;
}

/* Primary Button */
.brand-primary-btn {
  background-color: #003865;
  color: white;
  padding: 10px 15px;
  transition: all 0.3s;
}

.brand-primary-btn:hover {
  background-color: #00294a;
  color: white;
}

/* Secondary Button */
.brand-secondary-btn {
  background-color: #edf0f7;
  color: #003865;
  padding: 8px 15px;
  font-size: 14px;
  transition: all 0.3s;
}

.brand-secondary-btn:hover {
  background-color: #003865;
  color: white;
}

.brand-primary-outline {
  background-color: white;
  color: #00294a;
  border: 2px solid #00294a;
  padding: 10px 15px;
  transition: all 0.3s;
}

.brand-primary-outline:hover {
  background-color: #00294a;
  color: white;
}

/* Action yellow button */
.action-yellow-btn {
  background-color: #ff8800;
  color: white;
  font-size: 14px;
  padding: 8px 15px;
  transition: all 0.3s;
}

.action-yellow-btn:hover {
  background-color: #e57a00;
  color: white;
}

/* Action red button */
.action-red-btn {
  background-color: #f22424;
  color: white;
  font-size: 14px;
  padding: 8px 15px;
  transition: all 0.3s;
}

.action-red-btn:hover {
  background-color: #d01111;
  color: white;
}

/* Action green button */
.action-green-btn {
  background-color: #198754;
  color: white;
  font-size: 14px;
  padding: 8px 15px;
  transition: all 0.3s;
}

.action-green-btn:hover {
  background-color: #136b42;
  color: white;
}

.first-container {
  margin-top: 80px;
}

.passcard-outer {
  background-image: url(../assets/card-bg.png);
  border: 1px solid #f1d0c6;
  background-position: top center;
  border-radius: 20px;
  padding: 40px 50px;
  position: relative;
  overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-black {
  color: #1e1e1e;
}

.brand-secondary {
  color: #666666;
}

p,
a,
label {
  font-size: 14px;
}

.custom-input {
  padding: 10px 15px;
  font-size: 14px;
}

.tag-label-yellow {
  padding: 2px 12px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #ff8800;
  background-color: #fff5eb;
}

.tag-label-blue {
  padding: 2px 12px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 500;
  color: #003865;
  background-color: #edf0f7;
}

.avatar-container label {
  line-height: 18px;
  display: block;
}

.avatar-img-list {
  width: 40px;
  height: 40px;
  background-image: url(../assets/avatar-profile.png);
  background-size: cover;
}

.avatar-img-list-default {
  width: 40px;
  height: 40px;
  background-image: url(../assets/avatar-default.png);
  background-size: cover;
}

.border-bottom {
  border-color: #eee !important;
}

/* Login Page */
body.login {
  background-image: url(../assets/login-bg.jpg);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: cover;
}

body.login .login-page-heading {
    color: #003865;
    display: flex;
    flex-direction: column;
    align-items: center;
}

body.login .login-page-heading:after {
    content: '';
    width: 150px;
    height: 3px;
    background: #003865;
    display: block;
    text-align: center;
    border-radius: 20px;
    margin-top: 10px;
}
    
.wrapper {
  min-height: 100vh;
  padding: 40px 20px;
}

.login-outer {
  max-width: 430px;
  width: 100%;
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
}

.login-outer label {
  color: #fff;
}

.login-outer .form-check a {
  color: #fff;
}

.login-outer h2.form-login {
  color: #fff;
  margin-top: 15px;
}

.login-inner {
  align-items: center !important;
  width: 100%;
  background-image: url(../assets/login-bg-2.jpg);
  background-repeat: no-repeat;
  background-position: top left;
  background-size: cover;
  border-radius: 20px;
  padding: 50px;
}

@media screen and (max-width: 768px) {
  .login-inner {
    padding: 10px;
  }
  .login-outer {
    padding: 10px;
  }
  .login-outer img {
    width: 75px;
  }
  .login-outer h5 {
    font-size: 14px;
    font-weight: normal;
  }
}

/* Security guard dashboard */
.navbar {
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.1);
}

.avatar-img {
  width: 36px;
  height: 36px;
  background-image: url(../assets/avatar-profile.png);
  background-size: cover;
}

.list-outer {
  background-color: #fff;
  padding: 30px;
  border-radius: 20px;

}

.visitor-passcard-outer {
  width: 460px;
  margin: auto;
}

.card-header{
  display: flex;
  gap: 20px;
  color: white;
}
.user-image {
  width: 150px;
  height: 150px;
  background-position: center;
  background-size: cover;
  background-color: rebeccapurple;
  background-image: url(../assets/avatar-profile.png);
  border-radius: 50%;
  border: 15px solid #3D63AE;
  position: relative;
  z-index: 4 !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

.user-image-area .card-logo {
  filter: grayscale(1) invert(1) contrast(100);
}

.user-image-before {
    content: "";
    position: absolute;
    top: 80px;
    left: 118px;
    width: 500px;
    height: 60px;
    background-color: #3D63AE;
    transform: rotate(-30deg);
    z-index: 2 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.user-image-before.one {
  top: 0;
    transform: rotate(0deg);
    height: 200px;
    width: 100%;
    left: 0;
    background-image: url(../assets/visitor-bg-top.jpg);
    z-index: 1 !important;
    padding: 30px 40px;
}

.user-image-before.two {
  top: 175px;
  transform: rotate(18deg);
  width: 200px;
  right: 0;
  z-index: 1 !important;
  left: 262px;
}

.user-image-after {
  content: "";
  position: absolute;
  top: 165px;
  left: -50px;
  width: 200px;
  height: 60px;
  background-color: #3D63AE;
  transform: rotate(30deg);
  z-index: 2 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.lable-value h5{
  color : rgb(43, 42, 42);
  font-size: 16px;
  font-weight: bold;
}
.lable-value p{
  color : #333;
}
.visitor-passcard-outer .user-name{
  color: #003865;
  font-weight:800;
  font-size: 26px;
}
.user-position{
  width: fit-content;
  max-width: 150px;
  color: #ffffff;
  background-color: #003865;
  border-radius: 20px;
  margin-top: 10px;
  padding: 0.25rem 10px !important;
}

.qr-area{
  width: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 20px;
}
.qr{
  width: 50px;
  height: 50px;
  background-image: url(../assets/success-image.png);
  background-size: cover;
  background-position: center;
  border: 5px solid #5A79BA;
  z-index: 2 !important;
}

.qr-before {
    content: "";
    position: absolute;
    bottom: -40%;
    border: 20px solid #3D63AE;
    left: -12px;
    width: 364px;
    height: 287px;
    border-radius: 20px;
    background-color: #0E1935;
    transform: rotate(37deg);
    z-index: 1 !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


/* Regular User Dashboard */
.outer-section {
  width: 100%;
  margin-top: 61px;
  display: flex;
  position: relative;
}
.left-area {
  width: 240px;
  min-height: calc(100vh - 61px);
  background-color: #fff;
}
.left-area ul {
  list-style-type: none;
  padding: 20px;
  position: fixed;
  width: 240px;
}
.left-area ul li a {
  text-decoration: none;
  color: #333;
  padding: 15px;
  background: #fff;
  border-radius: 6px;
  margin: 5px 0;
  display: block;
  font-weight: 500;
  display: flex;
  align-items: center;
}
.left-area ul li a i {
  font-size: 18px;
  height: 18px;
  display: flex;
  width: 18px;
}
.left-area ul li.active a,
.left-area ul li a:hover {
  background-color: #ebeff3;
  color: #00294a;
}
.right-area {
  width: calc(100% - 240px);
}

.toggle-btn-left {
  display: none;
}

.toggle-btn-left i {
    display: flex;
    font-size: 24px;
    justify-content: center;
    align-items: center;
    margin-top: 1px;
}
.toggle-btn-left .brand-primary-btn {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-in-out;
}

@media screen and (max-width: 768px) {
  .toggle-btn-left {
    display: block !important;
  }
  .left-area {
    position: fixed;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
  }
  .right-area {
    width: 100%;
  }
  .list-outer {
    margin-bottom: 10px;
  }
  .tag-label-yellow {
    display: inline-block;
    margin: 10px 0;
  }


}

