        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Montserrat', sans-serif;
            height: 100vh;
            background: url('https://images.unsplash.com/photo-1502082553048-f009c37129b9?q=80&w=2070') no-repeat center center/cover;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        /* Overlay doux */
        body::before {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom right, rgba(0,0,0,0.6), rgba(0,40,60,0.6));
            backdrop-filter: blur(4px);
        }

        .container {
            position: relative;
            text-align: center;
            color: #fff;
            max-width: 800px;
            padding: 40px;
            background: rgba(255, 255, 255, 0.08);
            border-radius: 20px;
            backdrop-filter: blur(15px);
            box-shadow: 0 15px 40px rgba(0,0,0,0.4);
            animation: fadeIn 2s ease-in-out;
        }

        .logo {
            width: 220px;
            margin-bottom: 30px;
        }

        h1 {
            font-family: 'Playfair Display', serif;
            font-size: 42px;
            margin-bottom: 10px;
        }

        .dates {
            font-size: 18px;
            opacity: 0.9;
            margin-bottom: 25px;
        }

        .message {
            font-size: 20px;
            font-style: italic;
            margin-bottom: 35px;
            line-height: 1.6;
        }

        .btn-hommage {
            display: inline-block;
            padding: 14px 30px;
            background: linear-gradient(45deg, #6EC1E4, #009688);
            border-radius: 50px;
            color: white;
            text-decoration: none;
            font-weight: 500;
            transition: 0.4s;
        }

        .btn-hommage:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 20px rgba(0,0,0,0.5);
        }

        @keyframes fadeIn {
            from {opacity: 0; transform: translateY(20px);}
            to {opacity: 1; transform: translateY(0);}
        }

        footer {
            position: absolute;
            bottom: 20px;
            color: rgba(255,255,255,0.7);
            font-size: 14px;
        }
          /* Bouton Connexion */
        .login-btn {
            position: absolute;
            top: 25px;
            left: 25px;
            padding: 10px 22px;
            background: rgba(255,255,255,0.15);
            color: #ffffff;
            text-decoration: none;
            border-radius: 30px;
            font-size: 16px;
            letter-spacing: 1px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.3);
            transition: 0.4s;
            z-index: 2;
        }

        .login-btn:hover {
            background: linear-gradient(45deg, #6EC1E4, #009688);
            transform: scale(1.05);
            box-shadow: 0 5px 20px rgba(0,0,0,0.4);
        }


        
    .back-btn{
     position: absolute;
            top: 25px;
            left: 25px;
            padding: 10px 22px;
            background: rgba(255,255,255,0.15);
            color: #ffffff;
            text-decoration: none;
            border-radius: 30px;
            font-size: 16px;
            letter-spacing: 1px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.3);
            transition: 0.4s;
            z-index: 2;
    }
    .back-btn:hover{
       background: linear-gradient(45deg, #6EC1E4, #009688);
            transform: scale(1.05);
            box-shadow: 0 5px 20px rgba(0,0,0,0.4);
        }
            .card{
      position:relative;
      width:min(520px, 100%);
      padding:46px 42px;
      background:rgba(255,255,255,0.07);
      border-radius:25px;
      backdrop-filter:blur(20px);
      box-shadow:0 20px 60px rgba(0,0,0,0.5);
      z-index:1;
      animation:fadeIn 0.9s ease;
    }

    .subtitle{
      text-align:center;
      color:rgba(255,255,255,0.85);
      font-size:18px;
      margin-bottom:28px;
    }

    .error{
      margin:0 0 18px 0;
      padding:12px 14px;
      border-radius:14px;
      background:rgba(255, 90, 90, 0.16);
      border:1px solid rgba(255, 90, 90, 0.35);
      color:#fff;
      font-size:16px;
    }

    label{
      display:block;
      color:rgba(255,255,255,0.9);
      font-size:16px;
      margin:12px 0 8px;
      letter-spacing:0.2px;
    }

    .input{
      width:100%;
      padding:14px 16px;
      border-radius:16px;
      border:1px solid rgba(255,255,255,0.25);
      background:rgba(255,255,255,0.10);
      color:#fff;
      font-size:18px;
      outline:none;
      transition:0.25s;
    }
    .input::placeholder{color:rgba(255,255,255,0.6)}
    .input:focus{
      border-color:rgba(110,193,228,0.75);
      box-shadow:0 0 0 4px rgba(110,193,228,0.15);
    }

    .row{
      display:flex;
      gap:12px;
      align-items:center;
      justify-content:space-between;
      margin-top:16px;
      flex-wrap:wrap;
    }

    .check{
      display:flex;
      align-items:center;
      gap:10px;
      color:rgba(255,255,255,0.85);
      font-size:16px;
      user-select:none;
    }

    .check input{
      width:18px;height:18px;
      accent-color:#6EC1E4;
    }

    .link{
      color:rgba(255,255,255,0.9);
      text-decoration:none;
      border-bottom:1px solid rgba(255,255,255,0.35);
      padding-bottom:2px;
      transition:0.25s;
      font-size:16px;
    }
    .link:hover{
      color:#fff;
      border-bottom-color:rgba(110,193,228,0.9);
    }
    .btn{
      width:100%;
      margin-top:22px;
      padding:14px 18px;
      border:none;
      border-radius:50px;
      color:#fff;
      font-size:18px;
      letter-spacing:0.5px;
      cursor:pointer;
      background:linear-gradient(45deg,#6EC1E4,#009688);
      transition:0.35s;
    }
    .btn:hover{
      transform:scale(1.02);
      box-shadow:0 10px 30px rgba(0,0,0,0.35);
    }


       .connexion{
      font-family:'Cinzel', serif;
      color:#fff;
      font-size:40px;
      letter-spacing:2px;
      text-align:center;
      text-shadow:0 4px 20px rgba(0,0,0,0.6);
      margin-bottom:14px;
    }

    .footer_login{
      text-align:center;
      margin-top:18px;
      color:rgba(255,255,255,0.7);
      font-size:14px;
    }
    .modal-content {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
}


/* Fond global du modal */
#searchDefuntModal .modal-dialog {
    max-width: 820px;
}

#searchDefuntModal .modal-content.hommage-modal {
    border-radius: 28px;
    background: rgba(35, 45, 45, 0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    color: #fff;
    overflow: hidden;
    position: relative;
}

/* Léger contour lumineux */
#searchDefuntModal .modal-content.hommage-modal::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.03));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    pointer-events: none;
}

/* Arrière-plan assombri du modal */
#searchDefuntModal {
    background: rgba(0, 0, 0, 0.35);
}

#searchDefuntModal .modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
    opacity: 0.9;
}

#searchDefuntModal .modal-header .btn-close:hover {
    opacity: 1;
}

.hommage-logo {
    max-height: 75px;
    object-fit: contain;
}

.hommage-title {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
}

.hommage-subtitle {
    font-size: 1.25rem;
    line-height: 1.7;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hommage-search-form {
    max-width: 560px;
}


.hommage-input::placeholder {
    color: rgba(255,255,255,0.65);
}

.hommage-btn {
    border: none;
    border-radius: 999px !important;
    padding: 14px 28px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #58c6f1 0%, #0ea5a8 100%);
    box-shadow: 0 8px 20px rgba(22, 163, 184, 0.35);
    transition: all 0.25s ease;
}

.hommage-btn:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(22, 163, 184, 0.45);
}

/* Résultats */
#searchResults .list-group-item {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 14px;
    margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 576px) {
    .hommage-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }

    .hommage-input-group {
        border-radius: 22px;
    }

    .hommage-input-group .form-control,
    .hommage-input-group .btn {
        width: 100%;
        border-radius: 16px !important;
    }

    .hommage-input-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
}



.hommage-form{
    max-width:600px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

/* INPUT */
.hommage-input{
    width:100%;
    padding:20px 25px;
    border-radius:50px;
    border:1px solid rgba(255,255,255,0.2);
    background:rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    color:#fff;
    font-size:16px;
}

.hommage-input::placeholder{
    color:rgba(255,255,255,0.5);
}

.hommage-input:focus{
    outline:none;
    border-color:#59c6e8;
    box-shadow:0 0 0 3px rgba(89,198,232,0.2);
}

/* BOUTON */
.hommage-btn{
    width:100%;
    padding:18px;
    border:none;
    border-radius:50px;
    font-size:17px;
    font-weight:600;
    color:white;
    cursor:pointer;

    background:linear-gradient(90deg,#63bde0,#0fa7a6);
    box-shadow:0 10px 30px rgba(0,0,0,0.3);

    transition:0.3s;
}

.hommage-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 15px 35px rgba(0,0,0,0.4);
}