/* -------------------------------------
   1) Basic Resets
-------------------------------------- */
body {
  margin: 0;
  padding: 0;
}


/* ----------------------------------------- */
/* 3) Base styles (mobile-first, fluid)     */
/* ----------------------------------------- */

.brand-name {
  font-size: 1.85rem;
  font-weight: bold;
  letter-spacing: -0.5px;
  color: #212529;
}

/* -------------------------------------
   4) Navbar & Header
-------------------------------------- */
nav.navbar {
  border-bottom: 1px solid #e5e5e5 !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04) !important;
  background-color: #ffffff !important;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.navbar-brand {
  transition: transform 0.2s ease;
}
.navbar-brand:hover {
  transform: scale(1.03);
}
header {
  background-color: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #000;
}
nav ul {
  list-style-type: none;
  padding: 0;
}
nav ul li {
  display: inline-block;
  margin: 0 15px;
}
nav ul li a {
  text-decoration: none;
  color: #3498db;
  font-weight: bold;
}
nav ul li a:hover {
  color: #2980b9;
}

/* -------------------------------------
   2) GF-Link Styles (Hover Underlines)
-------------------------------------- */

/* GF-Link (Gray -> Black) */
.gf-link:link,
.gf-link:visited {
  color: #6c757d;
  text-decoration: none;
  position: relative;
  display: inline-block;
}
.gf-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.1s ease;
}
.gf-link:hover {
  color: #000 !important; /* Force black */
}
.gf-link:hover::after {
  background-color: #000;
  transform: scaleX(1);
}



/* -------------------------------------
   5) Buttons & Misc
-------------------------------------- */
.btn-secondary {
  background-color: #9AA0A6;
  color: white;
  border-color: #9AA0A6;
}
.btn-secondary:hover {
  background-color: black;
  border-color: black;
}

/* CommunityPay Light Button - YouTube Grey */
.btn-cplight {
  background-color: #F1F1F1;
  border-color: #F1F1F1;
  color: #212529;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.2rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  user-select: none;
  border: 1px solid transparent;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-cplight:hover {
  background-color: #E5E5E5;
  border-color: #E5E5E5;
  color: #212529;
}

.btn-cplight:focus {
  background-color: #E5E5E5;
  border-color: #E5E5E5;
  color: #212529;
  box-shadow: 0 0 0 0.2rem rgba(225, 225, 225, 0.5);
}

.btn-cplight:active {
  background-color: #D9D9D9;
  border-color: #D9D9D9;
  color: #212529;
}

.btn-cplight:disabled {
  background-color: #F1F1F1;
  border-color: #F1F1F1;
  color: #6c757d;
  opacity: 0.65;
  cursor: not-allowed;
}


/* -------------------------------------
   6) Footer
-------------------------------------- */
footer.footer {
  background-color: #fafafa;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -2px 4px rgba(0,0,0,0.04);
  position: relative;
  z-index: 100;
}
footer.footer .row {
  min-height: 70px;
  align-items: center;
}
footer.footer {
  font-size: 0.875rem;
  color: #495057;
}
.footer-link {
  position: relative;
  color: #495057;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}
.footer-link:hover {
  color: #212529;
}
.footer-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1px;
  background: #3C4043;
  transition: width 0.2s ease;
}
.footer-link:hover::after {
  width: 100%;
}

/* -------------------------------------
   7) Primary Button 50% Opacity Style
-------------------------------------- */
.btn-primary-50 {
  background-color: rgba(13, 110, 253, 0.5);
  border-color: rgba(13, 110, 253, 0.5);
  color: #fff;
}

.btn-primary-50:hover {
  background-color: rgba(13, 110, 253, 0.6);
  border-color: rgba(13, 110, 253, 0.6);
  color: #fff;
}

.btn-primary-50:focus,
.btn-primary-50:active {
  background-color: rgba(13, 110, 253, 0.7);
  border-color: rgba(13, 110, 253, 0.7);
  color: #fff;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.btn-primary-50:disabled {
  background-color: rgba(13, 110, 253, 0.3);
  border-color: rgba(13, 110, 253, 0.3);
  color: #fff;
  opacity: 0.65;
}

/* Outline version for consistency */
.btn-outline-primary-50 {
  color: rgba(13, 110, 253, 0.5);
  border-color: rgba(13, 110, 253, 0.5);
  background-color: transparent;
}

.btn-outline-primary-50:hover {
  color: #fff;
  background-color: rgba(13, 110, 253, 0.5);
  border-color: rgba(13, 110, 253, 0.5);
}

.btn-outline-primary-50:focus,
.btn-outline-primary-50:active {
  color: #fff;
  background-color: rgba(13, 110, 253, 0.5);
  border-color: rgba(13, 110, 253, 0.5);
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* -------------------------------------
   8) Logged In Message
-------------------------------------- */
.logged-in-message {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background-color: transparent;
  color: #6c757d;
  font-size: 0.75em;
  font-weight: normal;
  padding: 5px 10px;
  border-radius: 3px;
  animation: flash 2s infinite;
}
@keyframes flash {
  0%   { opacity: 1; }
  50%  { opacity: 0.3; }
  100% { opacity: 1; }
}

/* -------------------------------------
   9) Back Button Component
-------------------------------------- */
.back-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  background: transparent;
  border: 1px solid rgba(108, 117, 125, 0.3);
  border-radius: 50%;
  color: rgba(108, 117, 125, 0.7);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.back-button:hover {
  background: #f8f9fa;
  color: #495057;
  border-color: #6c757d;
  transform: scale(1.05);
  text-decoration: none;
}

.back-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(108, 117, 125, 0.2);
}

.back-button i {
  display: block;
  line-height: 1;
}

/* -------------------------------------
   10) Action Button Component (Plus button)
-------------------------------------- */
.action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid rgba(13, 110, 253, 0.3);
  border-radius: 50%;
  color: rgba(13, 110, 253, 0.8);
  font-size: 1.25rem;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.action-button:hover {
  background: rgba(13, 110, 253, 0.1);
  color: #0d6efd;
  border-color: #0d6efd;
  transform: scale(1.05);
  text-decoration: none;
}

.action-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

.action-button i {
  display: block;
  line-height: 1;
}


