/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Flip card 3D effect */
.flip-perspective {
  perspective: 1000px;
}

.flip-card {
  position: relative;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

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

.flip-front,
.flip-back {
  backface-visibility: hidden;
}

.flip-front {
  position: relative;
}

.flip-back {
  position: absolute;
  inset: 0;
  transform: rotateY(180deg);
}
