html, body {
    font-family: 'Segoe UI', sans-serif;
    height: 100%;
    overflow-y: auto;
}

hr {
    border: none;
    height: 2px;
    background-color: white;
    opacity: 0.5;
}

#redHr {
    background-color: var(--riderq-red);
    border: 1px solid var(--riderq-red);
    opacity: 0.75;
}

.brand-red {
    background-color: var(--riderq-red);
}

.navbar-brand img {
  max-height: 60px;
  width: auto;
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    max-height: 40px;
  }
}

#buyFormImg {
  max-height: 40px;
  width: auto;
}

.brand-red-text {
    color: var(--riderq-red);
}

#heroContainer {
    background-color: black;
    padding: 0;
    margin: 0;
    
    background: linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.62)), url('../media/crash-min.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.app-image {
    max-width: 75%;
    height: auto;
}

#footer {
    color: white !important;
}

.login-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    padding-bottom: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
}

.signup-card {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2.5rem;
    padding-bottom: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    width: 100%;
}
@media (max-width: 768px) {
  .signup-card {
    padding: 1rem;
  }
}

.login-card .form-control .signup-card {
    border-radius: 0.75rem;
}

.login-card .btn-primary {
    border-radius: 0.75rem;
    padding: 0.6rem;
    font-weight: bold;
    background-color: #0d6efd;
}

.login-card h2 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.profile-card {
    max-width: 600px;
    margin: auto;
    margin-top: 2rem;
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    color: black;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

#epCard {
  max-width: 100% !important;
  font-size: 2.2rem !important;
}

.ep-icon {
  font-size: 2.2rem !important;
}

#epName {
  font-size: 2.2rem;
}

#epBloodType {
  font-size: 2.2rem;
}

.ep-title {
  font-size: 2.3rem !important;
}

.section-title {
    font-size: 1.2rem;
    color: black;
    border-bottom: 1px solid #333;
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
}
.data-text {
    font-size: 1.1rem;
    font-weight: 500;
}
.highlight {
    color: var(--riderq-red);
}

.package-card {
    border: 2px solid var(--riderq-red);
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: all 0.2s ease;
}

.package-card:hover {
    cursor: pointer;
    transform: scale(0.98);
}

.package-card.active {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.03);
    border: 3px solid var(--riderq-red);
    border-bottom: 10px solid var(--riderq-red) !important;
}

.selected-package-summary {
  background: #f8f9fa;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 15px;
  font-size: 1.1em;
}


.wyg-card {
    border: 2px solid var(--bg-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.wyg-card:hover {
    color: white;
    background-color: var(--riderq-red);
    border: 2px solid var(--riderq-red);
}

.wyg-card:active {
    transform: scale(0.98);
}

/* Modern nav-tabs style */
#profileTabs {
  border-bottom: none; /* remove default line */
}

#profileTabs .nav-link {
  position: relative;
  color: #333; /* default text color */
  border: none;
  background: transparent;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

/* Hover effect */
#profileTabs .nav-link:hover {
  color: #bb100d; /* your green accent */
}

/* Underline effect for hover and active */
#profileTabs .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0%;
  height: 3px;
  background-color: #bb100d;
  transition: all 0.3s ease;
  border-radius: 2px;
  transform: translateX(-50%);
}

/* Hover underline animation */
#profileTabs .nav-link:hover::after {
  width: 50%;
}

/* Active tab style */
#profileTabs .nav-link.active {
  color: #bb100d;;
  font-weight: 600;
}

#profileTabs .nav-link.active::after {
  width: 50%;
}

/* Optional: subtle shadow on hover for active tab */
#profileTabs .nav-link.active:hover {
  text-shadow: 0px 0px 5px rgba(180, 12, 9, 0.2);
}

.list-group-numbered > li.empty-placeholder {
  counter-increment: none;
  list-style: none;
}

#epbody {
  background-color: var(--riderq-red);
}

#epLogo {
  max-height: 60px;
  width: auto;
}

.ep-contact-card {
  border: 2px solid #333 !important;
}

.ep-alert-p {
  font-size: 1.2rem !important;
  font-weight: 500;
}

#eAlertPEc {
  font-weight: 700 !important;
}

#previewQR {
  max-width: 300px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) !important;
}