/* assets/css/styles.css */
@font-face {
  font-family: "Inter";
  src: url("../webfonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
}

body {
  font-family: "Inter", sans-serif !important;
  font-optical-sizing: auto;
  font-style: normal;
  background-color: #f2f2f2;
}

h1 {
  color: #333;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table,
th,
td {
  border: 1px solid #ddd;
}

th,
td {
  padding: 8px;
  text-align: left;
}

form {
  width: 300px;
  margin: 0 auto;
}

input,
button {
  margin: 10px 0;
}

.modal-footer {
  display: flex !important;
  justify-content: flex-end;
  /* aligns buttons to the right */
  gap: 0.5rem;
  /* adds spacing between buttons */
  flex-wrap: wrap;
  /* allows wrapping on smaller screens */
}
.modal-footer .btn {
  display: inline-block !important;
  width: auto !important;
}

@media (max-width: 576px) {
  .modal-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .modal-footer .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

body,
html {
  height: 100%;
  margin: 0;
  padding: 0;
}

.container.my-4.text-center {
  /* height: calc(100vh - 92px);  */
  overflow: hidden;
  margin-top:0px!important;
  margin-bottom:0px!important
}

.navbar-expand-lg .navbar-nav .nav-link {
  color: #6e6e73;
  font-weight: 500;
  letter-spacing: -0.2px;
  padding-left: 10px;
  padding-right: 10px;
  transition: all 0.1s ease-in-out;
}
.navbar-expand-lg .navbar-nav .nav-link:hover {
  color: #12844f;
}
.bg-light {
  background-color: #fff !important;
  border-bottom: 1px solid #e4e5e7;
  box-shadow: none !important;
}
nav.navbar.navbar-expand-lg.navbar-light.bg-light.shadow-sm + div {
  height: calc(100vh - 70px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}
.d-flex.justify-content-center.flex-wrap.gap-2.mt-4 > * {
  flex: 1 1 calc(50% - 4px);
  max-width: calc(50% - 4px);
  margin: 0; /* removes the gap caused by .gap-2 */
  margin-bottom: 20px !important;
}

.d-flex.justify-content-center.flex-wrap.gap-2.mt-4 {
  width: 50%;
  gap: 8px;
  max-width: 420px;
}

#changeMediaBtn::before {
  content: "\F4D7"; /* Font Awesome Unicode for fa-sync-alt */
  font-family: bootstrap-icons!important;
  font-weight: 900; /* Needed for solid icons */
  margin-right: 7px;
  display: inline-block;
  font-size: 20px;
}

#joinTeamBtn::before {
  content: "\F4CF"; /* Font Awesome Unicode for fa-sync-alt */
  font-family: bootstrap-icons!important;
  font-weight: 900; /* Needed for solid icons */
  margin-right: 0px;
  display: inline-block;
  font-size: 20px;
}

#downloadVCF::before {
  content: "\F30A"; /* Font Awesome Unicode for fa-sync-alt */
  font-family: bootstrap-icons!important;
  font-weight: 900; /* Needed for solid icons */
  margin-right: 0px;
  display: inline-block;
  font-size: 20px;
}

a.req-pass::before {
  content: "\F44E"; /* Font Awesome Unicode for fa-sync-alt */
  font-family: bootstrap-icons!important;
  font-weight: 900; /* Needed for solid icons */
  margin-right: 7px;
  display: inline-block;
  font-size: 25px;
  text-decoration: none!important;
}

#joinCardBtn::before {
  content: "\F8C8"; /* Font Awesome Unicode for fa-sync-alt */
  font-family: bootstrap-icons!important;
  font-weight: 900; /* Needed for solid icons */
  margin-right: 0px;
  display: inline-block;
  font-size: 25px;
}

.btn.btn-success.px-4.py-2.text-decoration-none::before {
  content: "\f07a";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
  display: inline-block;
}

.btn.btn-outline-success.position-fixed.bottom-0.end-0.m-4.shadow-sm::before {
  content: "\f084";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 3px;
  display: inline-block;
}
.navbar.navbar-expand-lg.navbar-light.bg-light.shadow-sm {
  padding-top: 5px;
  padding-bottom: 5px;
}
#mediaDisplay {
  max-height: 88.5%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#mediaDisplay img,
#mediaDisplay video {
  max-height: 100%;
  max-width: 200px;
  height: auto;
  width: auto;
  object-fit: contain;
  overflow: hidden;
  border-radius: 13px;
}
.media-item input:checked~label {
  font-weight: bold;
  color: #198754;
  /* Bootstrap success color */
}
.d-flex.justify-content-center.flex-wrap.gap-2.mt-4 {
  margin-top: auto;
  gap: 8px;
}
#setPasscodeBtn::before {
  content: "\f0ad"; /* fa-wrench */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 8px;
}

.form-label {
  margin-bottom: 0px;
}
.modal-header h5.modal-title {
  font-weight: 600;
  font-size: 23px;
}

.modal-footer,
.modal-header {
  padding-left: 30px;
  padding-right: 30px;
  padding-top: 17px;
  background-color: #f4f4f4;
}
.modal-body {
  padding: 30px;
}

.modal-body .form-control {
  border-color: #b4b3b3;
}

.btn-close {
  background: none;
  position: relative;
  width: 1.2rem;
  height: 1.2rem;
}

.btn-close::after {
  content: "×";
  font-size: 2.05rem;
  font-weight: bold;
  color: #000;
  position: absolute;
  top: 3px;
  left: 7px;
  line-height: 1.5rem;
}

.btn-close {
  border: 2px solid #dc3545;
  border-radius: 50%;
}

#savePasscodeBtn::before {
  font-family: "Font Awesome 6 Free"; /* or 5 if you're using FA5 */
  content: "\f023"; /* Unicode for lock icon */
  font-weight: 900;
  margin-right: 8px;
}

.cancelmodal::before {
  font-family: "Font Awesome 6 Free"; /* or 5 if you're using FA5 */
  content: "\f00d"; /* Unicode for xmark */
  font-weight: 900;
  margin-right: 8px;
}
#verifyPasscodeBtn::before {
  font-family: "Font Awesome 6 Free";
  content: "\f058"; /* check-circle */
  font-weight: 900;
  margin-right: 8px;
}

.btn-outline-success.position-fixed {
  background-color: #f2f2f2;
}
.btn.btn-outline-success.position-fixed:hover {
  color: #105b38;
}

.form-control{
  font-size: .875rem;
}
#socialLinksContainer i{
  font-size: 15px;
}
.rounded-social {
  border-radius: 50%!important;
  padding: 0px!important;
  width: 28px;
  height: 28px;
  display: flex!important;
  justify-content: center;
  align-items: center;
}
.rounded-social i, i.bi.bi-youtube {
  position: relative;
  top: 1px;
}

#pagination .page-item .page-link {
  color: #198754; /* Bootstrap btn-success text color */
  border: 1px solid #198754;
  background-color: transparent;
  transition: background-color 0.3s, color 0.3s;
}

#pagination .page-item.active .page-link,
#pagination .page-item .page-link:hover,
#pagination .page-item .page-link:focus {
  color: #fff;
  background-color: #198754;
  border-color: #198754;
}
.col-md-3.d-none.d-md-block.sidebar a:hover{
  background-color: transparent;
}
.modal-footer{
  flex-direction: row;
  justify-content: center;
}
.template-box::before {
	content: '';
	position: absolute;
	top: 0px;
	right: 0px;
	left: 0px;
	display: block;
	height: 65px;
	background-image: linear-gradient(#3f3f3f, rgba(0,0,0,0));
}
.template-box a + h4 {
	text-shadow: rgba(0, 0, 0, 0.4) 1px 1px 3px !important;
}
.sidebar ul.list-unstyled .nav-link.active {
	color: #198754!important;
}
.youtube-btn {
  border-radius: 29%!important;
  width: 28px;
  height: 28px;
  display: flex!Important;
  justify-content: center;
  align-items: center;
}
#headlinepara{
  font-weight: 700;
  margin-bottom: 8px;
}
.profile-header p{
    color: #e3e3e3!important;
    text-align: center;
}
#profileImagePlaceholder img{
  width: 75px;
  margin-bottom: 8px;
}
#youtubeModal .modal-header{
  background-image: linear-gradient(#3f3f3f, rgba(0,0,0,1));
    border-bottom: none;
}
#youtubeModal .modal-header h5{
  color: #e2e2e2;
}
#youtubeModal .modal-body{
  background-color: #000;
}
#youtubeModal .modal-header .btn-close::after{
  filter: brightness(0) invert(1)!important; 
}
@media (max-width: 912px) {
  nav.navbar.navbar-expand-lg.navbar-light.bg-light.shadow-sm+div {
    height: calc(100vh - 200px);
    justify-content: flex-start;
  }

  .d-flex.justify-content-center.flex-wrap.gap-2.mt-4 {
    width: 54%;
    gap: 8px;
    max-width: 420px;
  }
}

@media (max-width: 576px) {
  nav.navbar.navbar-expand-lg.navbar-light.bg-light.shadow-sm+div {
    height: calc(100vh - 180px);
    justify-content: flex-start;
  }

  .d-flex.justify-content-center.flex-wrap.gap-2.mt-4 {
    width: 100%;
    gap: 8px;
  }

  .px-4 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
  }

  .btn.btn-outline-success.position-fixed.bottom-0.end-0.m-4 {
    margin: 0.8rem !important;
  }

  .navbar-nav .nav-item {
    border-bottom: 1px solid #ddd;
  }

  .navbar-nav .nav-item:last-child {
    border-bottom: none;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 12px;
  }

  .navbar-collapse.justify-content-end {
    position: absolute;
    top: 72px;
    left: 0px;
    right: 0px;
    background: rgb(255, 255, 255);
    padding-bottom: 5px;
    z-index: 999;
  }

}
