/* -------------------- GLOBAL -------------------- */
body {
  font-family: 'Poppins', sans-serif;
}

h1, p, label, input, button {
  font-family: 'Poppins', sans-serif;
}

/* -------------------- BACKGROUND -------------------- */
.background {
  position: relative;
  width: 100%;
  height: 100vh;
  /*background: linear-gradient(to top, #0077c8, #9feaff);*/
  background: url("../images/la-plaine.jpg") no-repeat center center/cover;

  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* -------------------- WHITE CIRCLE -------------------- */
.white-circle {
  position: absolute;
  width: 500px;
  height: 500px;
  background: white;
  border-radius: 50%;
  top: -50px;
  left: -100px;
  box-shadow: 0 0 40px rgba(0,0,0,0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

/* -------------------- LOGO -------------------- */
.logo-pdp {
  position: relative; /* plus besoin de position absolue */
  width: 280px !important;/* ajuste la taille selon ton rendu */
  object-fit: contain;
  z-index: 2;
}

/* -------------------- LOGIN CONTAINER -------------------- */
.login-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* -------------------- LOGIN CARD -------------------- */
.login-card {
  background: rgba(219, 216, 216, 0.24); /* blanc transparent */
  backdrop-filter: blur(6px); /* flou derrière */
  -webkit-backdrop-filter: blur(13px); /* compatibilité Safari */
  
  padding: 35px 45px;
  border-radius: 25px;
  width: 90%;
  max-width: 330px;
  text-align: center;

  box-shadow: 0 5px 25px rgba(0,0,0,0.25);
  animation: fadeInUp 1.2s ease-out;
  border: 1px solid rgba(236, 235, 235, 0.253); /* bord léger */
}


/* -------------------- TITRES & TEXTES -------------------- */
h1 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 2px;
}

.login-card p {
  font-size: 16px;
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: left;
}

/* -------------------- INPUTS -------------------- */
input {
  width: 80%;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 16px;
}

/* -------------------- BUTTON -------------------- */
.btn-login {
  width: 70%;
  padding: 15px;
  font-size: 18px;
  border-radius: 12px;
  background-color: #f9b233;
  color: white;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-login:hover {
  background-color: #ffcc00;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* -------------------- ANIMATIONS -------------------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 768px) {
  .login-card {
    width: 90%;
    padding: 25px;
  }

  h1 {
    font-size: 32px;
  }

  .login-card p {
    font-size: 18px;
  }

  input, .btn-login {
    font-size: 15px;
    padding: 12px;
  }

  .white-circle {
  width: clamp(80px, 18vw, 120px);
  height: clamp(80px, 18vw, 120px);
  display: flex;
  justify-content: center;
  align-items: center;
  border: radius 50px;
  }
}
.copyright {
  font-size: 10px !important;
  color: hsl(240, 36%, 85%) !important;
  margin-top: 6% !important ;
}
input {
  width: 100%;
  box-sizing: border-box;
}
.link-info {
  display: block;
  margin-top: 15px;
  font-size: 14px;
  color: #ffffff;
  text-decoration: underline;
  text-align: center;
}
/* ------------------------------
   STYLE GLOBAL
------------------------------ */

body {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
  background-color: #f4f1e8; /* beige clair */
  color: #333;
}

.page-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* ------------------------------
   HEADER
------------------------------ */

header {
  text-align: center;
  margin-bottom: 30px;
}

.logo-pdp {
  width: 120px;
  margin-bottom: 10px;
}

header h1 {
  font-size: 26px;
  font-weight: 600;
  color: #444;
}

/* ------------------------------
   BLOCS (sections)
------------------------------ */

.bloc {
  background-color: #e8dfcf; /* beige foncé */
  padding: 20px;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.bloc h2 {
  margin-top: 0;
  font-size: 20px;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 15px;
}

/* ------------------------------
   FORMULAIRE
------------------------------ */

.form-defunt .row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 15px;
}

.form-defunt label {
  flex: 1 1 150px;
  font-weight: 600;
}

.form-defunt input,
.form-defunt textarea {
  flex: 2 1 250px;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background-color: #fdfbe9; /* beige très clair */
  font-size: 14px;
}

textarea {
  min-height: 80px;
  resize: vertical;
}

/* ------------------------------
   CHECKBOXES
------------------------------ */

.checkboxes label {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1 1 150px;
}

/* ------------------------------
   BOUTON
------------------------------ */

.btn-save {
  background-color: #d9534f;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  margin-top: 10px;
  transition: 0.2s;
}

.btn-save:hover {
  background-color: #c64542;
}

/* ------------------------------
   TABLEAU
------------------------------ */

table {
  width: 100%;
  border-collapse: collapse;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
}

thead {
  background-color: #d4c7b4;
}

thead th {
  padding: 12px;
  font-weight: 600;
  text-align: left;
}

tbody td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

tbody tr:hover {
  background-color: #f5f0e6;
}

/* ------------------------------
   FOOTER
------------------------------ */

footer {
  text-align: center;
  margin-top: 40px;
  color: #555;
}
.background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25); /* voile sombre léger */
  backdrop-filter: blur(2px); /* flou subtil */
  z-index: 0;
}
.fade-out {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.5s ease;
}

.fade-in {
  opacity: 1;
  transform: translateY(0.5);
  transition: 0.5s ease;
}
.choix-cimetiere .btn-login {
    margin: 10px 0;
}
.background::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  z-index: 0;
}
.logo-pdp {
  opacity: 0;
  transform: scale(0.9);
  animation: logoFade 1.2s ease-out forwards;
}

@keyframes logoFade {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.btn-login {
  position: relative;
  overflow: hidden;
}

.btn-login::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
  transition: all 0.6s;
}

.btn-login:hover::before {
  left: 100%;
}
.fade-out {
  opacity: 0;
  transform: scale(0.98);
  transition: 0.5s ease;
}

.fade-in {
  opacity: 1;
  transform: scale(1);
  transition: 0.5s ease;
}
