html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #072146;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header img {
  width: 40px;
  height: 40px;
}

header button {
  padding: 10px 20px;
  background-color: #FFC107;
  color: #333;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

section.activities {
  padding: 20px;
}

/* Activities Grid */
.activities-grid {
  padding: 2rem;
}

.activities-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 0.5rem;
  padding: 1rem;
}

.activity-card {
  position: relative;
  height: 200px;
  perspective: 1000px;
  cursor: pointer;
  overflow: hidden;
}

.activity-front,
.activity-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.3s;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.activity-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.3s ease-in-out;
}

.activity-back {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  transition: top 0.3s ease-in-out;
}

.activity-card:hover .activity-front {
  transform: translateY(-100%);
}

.activity-card:hover .activity-back {
  top: 0;
}

.activity-icon {
  width: 70px;
  height: 70px;
  margin-bottom: 1rem;
}

.activity-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.activity-details {
  width: 100%;
  text-align: left;
  overflow: auto;
}

.activity-details p {
  margin: .5rem 0 0 1rem;
  font-size: .9rem;
  color: #666;
}

.activity-details i {
  width: 20px;
  margin-right: .5rem;
  color: #333;
}

.activity-item-selected {
  background-color: #ccfb89;
}

/* Color variations for cards */
.activity-card:nth-child(4n+1) .activity-front { background-color: #3498db; }
.activity-card:nth-child(4n+2) .activity-front { background-color: #9b59b6; }
.activity-card:nth-child(4n+3) .activity-front { background-color: #e91e63; }
.activity-card:nth-child(4n+4) .activity-front { background-color: #2980b9; }

.activity-card:nth-child(4n+1) .activity-front h3,
.activity-card:nth-child(4n+2) .activity-front h3,
.activity-card:nth-child(4n+3) .activity-front h3,
.activity-card:nth-child(4n+4) .activity-front h3 {
  color: white;
}

.carousel-image {
  width: 600px;
  height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

.hide-scrollbar {
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
  scrollbar-width: none;  /* Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;  /* Safari and Chrome */
}

.auth-form-container {
  padding: 20px;
  background-color: white;
  margin-top: 20px;
  border-radius: 8px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.active-table-button {
  background-color: #EBFFD0 !important;
}

.flip-card {
  perspective: 1000px;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

.flip-card.flipped {
  transform: rotateY(180deg);
}

.flip-card-back {
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.flip-card-front {
  backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.category-card {
  cursor: pointer;
}

.category-card:hover {
  box-shadow: #ccc 0 0 10px;
}

.category-card-selected {
  border: 3px solid #97c15c;
}

.category-card-selection-selected {
  border: 8px solid #2463EF;
  padding: 0.5rem;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.fade-in.show {
  opacity: 1;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

.fade-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-100%);
  transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

.fade-in-left.show {
  opacity: 1;
  transform: translateX(0);
}

.step-incomplete .dot {
  border: 2px solid #dee2e6;
  background-color: #ffffff;
}

.step-in-progress .dot {
  border: 2px solid #97c15c;
  background-color: #ffffff;
}

.step-complete .dot {
  border: 2px solid #97c15c;
  background-color: #97c15c;
}

.step-incomplete::before {
  border-bottom: 2px solid #dee2e6;
  background-color: #ffffff;
}

.step-in-progress::before {
  border-bottom: 2px solid #97c15c;
  background-color: #ffffff;
}

.step-complete::before {
  border-bottom: 2px solid #97c15c;
  background-color: #97c15c;
}

.step-name-mobile{
  color: #97c15c;
} 

.step-incomplete .dot-text,
.step-complete .dot-text {
  color: #000000;
}

.step-in-progress .dot-text {
  color: #97c15c;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
