﻿.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
}

.styled-modal {
    width: 400px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 10002;
    text-align: center;
}
@media (max-width:768px) {
    .styled-modal {
        width: 290px;
    }

    .modal-body p {
        margin: 1rem 0;
    }
}

/*information->*/
.modal-header-information {
    padding: 20px;
    background: white;
    color: #3C8EE5;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle-information {
    width: 50px;
    height: 50px;
    border: 2px solid #3C8EE5;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
}

.checkmark-information {
    font-size: 30px;
    color: #3C8EE5;
}
/*<-information*/

/*question->*/
.modal-header-question {
    padding: 20px;
    background: white;
    color: #4CAF50;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle-question {
    width: 50px;
    height: 50px;
    /*border: 2px solid #4CAF50;*/
    border: 2px solid #FFD700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
}

.checkmark-question {
    font-size: 30px;
    /*color: #4CAF50;*/
    color: #FFD700;
}
/*<-information*/

/*warning->*/
.modal-header-warning {
    padding: 20px;
    background: white;
    color: #FFD700;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle-warning {
    width: 50px;
    height: 50px;
    border: 2px solid #FFD700;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
}

.checkmark-warning {
    font-size: 30px;
    color: #FFD700;
}
/*<-warning*/

/*error->*/
.modal-header-error {
    padding: 20px;
    background: white;
    color: #F44336;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-circle-error {
    width: 50px;
    height: 50px;
    border: 2px solid #F44336;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: white;
}

.checkmark-error {
    font-size: 30px;
    color: #F44336;
}
/*<-error*/

.modal-body {
    padding: 10px;
    font-size: 16px;
    color: #333;
    word-wrap: break-word;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

    .modal-body h3 {
        font-weight: bold;
        font-size: 16px;
        margin: 10px 0;
    }

.modal-footer {
    padding: 10px;
    background: #f2f2f2;
    display: flex;
    justify-content: center;
}

.confirm-button {
    width: 100px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    background-color: #2196ff;
    color: white;
}

.confirm-button:focus, .confirm-button:hover {
    background-color: #1976D2;
}

.gray-button {
    background-color: grey;
    color: white;
}

.gray-button:hover, .gray-button:focus {
    background-color: darkgrey;
}