
:root {
    --main-bg: #F6E7C4;
    --dark-green: #1D3B36;
    --burnt-orange: #C7461D;
    --light-orange: #E37A32;
    --accent-red: #9B2F22;
}

body {
    background-image: url('../images/cbbt-plain.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    background-color: transparent;
    padding: 2rem;
    border-radius: 10px;
    flex: 1;
}

h1 {
    font-family: 'Alfa Slab One', cursive;
    color: var(--accent-red);
}

.btn-success {
    background-color: var(--burnt-orange);
    border-color: var(--burnt-orange);
    font-weight: bold;
}

.btn-success:hover {
    background-color: var(--accent-red);
    border-color: var(--accent-red);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.btn-custom {
    background-color: var(--burnt-orange);
    color: #fff !important;
    border: none;
    font-weight: bold;
    padding: 6px 14px;
    border-radius: 4px;
    text-decoration: none !important;
    display: inline-block;
    vertical-align: middle;
    transition: background-color 0.3s ease;
}

.btn-custom:hover {
    background-color: var(--accent-red);
    color: #fff !important;
}

.header-image {
    max-height: 180px;
}

.modal-content {
    background-color: var(--dark-green);
    color: #fff;
}

.modal-content iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.location-card {
    background-color: #3e4b3a;
    color: #f0eada;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(51, 37, 16, 0.3);
    font-family: 'Segoe UI', sans-serif;
    transition: transform 0.2s ease, background-color 0.2s ease;
    overflow: hidden;
    width: 100%;
}

.location-card:hover {
    transform: translateY(-5px);
    background-color: #476252;
}

.card-title-bar {
    background-color: #17413c;
    padding: 14px 20px;
    border-bottom: 1px solid #6a7d62;
}

.card-title-bar h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #b13125;
}

.card-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

.card-info {
    flex: 2;
}

.card-info p {
    margin: 6px 0;
}

.card-info a {
    display: inline-block;
    margin-top: 10px;
    color: #b13125;
    text-decoration: underline;
}

.card-info a:hover {
    color: #ffcc70;
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    max-width: 250px;
    height: 180px;
    background-color: #2f2f2f;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-image-wrapper:hover .card-image {
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .card-content {
        flex-direction: column;
    }

    .card-image-wrapper {
        max-width: 100%;
        height: 200px;
    }
}

label.form-label {
    color: #000; /* or any other color you want */
}

legend {
    color: #000 !important;
    font-weight: bold;
}

.celebration-overlay {
	position: fixed;
	top: 0; left: 0;
	width: 100vw;
	height: 100vh;
	background: rgba(0, 0, 0, 0.75);
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.celebration-modal {
	background: #fff;
	color: #000;
	padding: 2rem;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 0 30px rgba(255, 165, 0, 0.5);
	max-width: 600px;
	width: 90%;
}

.badge-popup {
  position: fixed !important;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 3px solid #ff9800;
  padding: 20px;
  z-index: 999999; /* make sure it's way on top */
  box-shadow: 0 5px 25px rgba(0,0,0,0.3);
  border-radius: 12px;
  animation: fadeIn 0.5s ease-in-out;
  max-width: 90%;
}

.badge-popup-inner {
  text-align: center;
}

.badge-grid {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
}

.badge-card {
  width: 100px;
  padding: 10px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fff8e1;
}

.badge-card img {
  max-width: 100%;
  height: auto;
}

.close-badge-popup {
  margin-top: 15px;
  padding: 8px 12px;
  background: #ff9800;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.badge-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff9800;
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.3s ease, bottom 0.3s ease;
  z-index: 9999;
}

.badge-toast.visible {
  opacity: 1;
  bottom: 50px;
}

