body {
    text-align: center;
    font-family: sans-serif, Verdana;
    background-image: url('../image/pixabay_disney-832089_1920.jpg');
}

.danger {
    color: #8B0000; /* rouge foncé */
    font-weight: bold;
}

.info {
    color: #005eff; /* bleu lisible */
    font-weight: bold;
}

.red {
    color: red;
}
.blue {
    color: blue;
}
.outline {
    text-shadow:
        -1px -1px 0 #fff,
        1px -1px 0 #fff,
        -1px 1px 0 #fff,
        1px 1px 0 #fff;
}

#custom-alert-icon {
    font-size: 30px;
    text-align: center;
    margin-bottom: 10px;
}

#custom-alert-overlay {
    position: fixed;
    inset: 0; /* équivalent à top:0; left:0; width:100%; height:100%; */
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#custom-alert-box:active {
    cursor: grabbing;
}

#custom-alert-box {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    width: 420px;
    height: auto;

    min-width: 250px;
    min-height: 220px;
    max-width: 50vw;
    max-height: 50vh;

    resize: both;
    overflow: auto;

    padding: 20px 25px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);

    opacity: 0;
    pointer-events: none;
}

#custom-alert-box::-webkit-resizer {
    background: linear-gradient(
        135deg,
        transparent 40%,
        rgba(255, 255, 255, 0.8) 40%,
        rgba(255, 255, 255, 0.8) 60%,
        transparent 60%
    );
}

@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

#custom-alert-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

#custom-alert-message {
    white-space: pre-line;
    font-size: 16px;
    margin-bottom: 20px;
}

#custom-alert-button {
    width: 100%;
    padding: 10px;
    background: #0078ff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

#custom-alert-button:hover {
    background: #005fcc;
}

.hidden {
    display: none !important ;
}

@keyframes pop {
    from {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}
