#alert-dialog {
    display: none;
    font-family: sans-serif;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    animation: fadeIn 0.7s ease both;
}

#overlay-alert-dialog {
    display: grid;
    place-items: center;
    height: 100%;
}

#frame-alert-dialog {
    display: block;
    margin: auto;
    background-color: white;
    height: fit-content;
    position: relative !important;
    border-radius: 0.2rem;
    width: 30%;
    max-width: 470px;
    min-height: 230px;
}

#icon-alert-dialog-area {
    background-color: var(--color-main);
    border-radius: 0.2rem;
    padding: 18px;
}

#close-alert-dialog {
    position: absolute;
    color: var(--color-third);
    right: 10px;
    top: 7px;
}

#close-alert-dialog:hover {
    cursor: pointer;
}

#icon-alert-dialog {
    position: relative;
    display: block;
    margin: auto;
    height: 110px;
    width: 110px;
}

#alert-title {
    font-family: var(--font-main);
    font-size: clamp(16px, 2.5vw + 7px, 22px);
    margin-bottom: 5px;
}

#alert-content {
    padding: 3%;
}

#alert-mess {
    overflow: hidden;
}

#alert-button-area {
    margin: 30px 8% 10px 8%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; 
}

#con-btn-area {
    display: none;
    max-width: 180px;
    margin: auto;
}



/*
  ******  RESPONSIVE LAYOUT  ******
*/
@media screen and (max-width: 1200px) {
    #frame-alert-dialog {
        width: 40%;
    }
}

@media screen and (max-width: 900px) {
    #frame-alert-dialog {
        width: 50%;
        min-height: 200px;
    }

    #icon-alert-dialog {
        height: 100px;
        width: 100px;
    }
}

@media screen and (max-width: 768px) {
    #frame-alert-dialog {
        width: 60%;
        min-height: 190px;
    }

    #icon-alert-dialog {
        height: 80px;
        width: 80px;
    }
}

@media screen and (max-width: 580px) {
    #frame-alert-dialog {
        width: 70%;
        min-height: 170px;
    }

    #icon-alert-dialog {
        height: 70px;
        width: 70px;
    }
}

@media screen and (max-width: 450px) {
    #frame-alert-dialog {
        width: 75%;
    }
}

@media screen and (max-width: 365px) {
    #frame-alert-dialog {
        width: 80%;
        min-height: 150px;
    }

    #icon-alert-dialog {
        height: 50px;
        width: 50px;
    }
}