/* Styles for general UI elements like alerts */
#custom-alert {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

#custom-alert.visible {
    visibility: visible;
    opacity: 1;
}

.alert-box {
    background-color: rgba(240, 240, 240, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    text-align: center;
    padding: 20px;
    width: 270px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.alert-box p {
    margin: 0 0 20px 0;
    font-size: 17px;
    color: #000;
}

.alert-box button {
    width: 100%;
    padding: 12px;
    border: none;
    background-color: transparent;
    border-top: 1px solid #dbdbdd;
    color: #007aff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.alert-box button:active {
    background-color: rgba(0,0,0,0.05);
}