﻿.alert {
    flex-direction: row;
    justify-content: space-evenly;
    position: fixed;
    width: 50%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 20px;
}

.alert-close {
    margin-left: 20px;
    margin-top: 1.5px;
}

/*Alert colors*/
.alert-info {
    border: 2px solid #bee5eb;
    background-color: #d1ecf1;
    color: var(--dark-blue);
}

.alert-warning {
    border: 2px solid #efd78b;
    background-color: #fff3cd;
    color: var(--dark-brown);
}

.alert-success {
    border: 2px solid #bfedca;
    background-color: #d4edda;
    color: #155724;
}

.alert-message {
    width: 85%;
}

.alert-button {
    margin: 10px;
    display: flex;
    justify-content: space-evenly;
}

.custom-button:active {
    background-color: var(--primary-green);
    border: 1px solid var(--primary-green);
}

/*close button*/
.close-btn {
    cursor: pointer;
    padding: 3px 5px;
    transition: all 0.3s ease 0s;
    border-radius: 50%;
    border: none;
    background-color: transparent;
    height: 25px;
    width: 25px;
    display: flex;
    justify-content: center;
}

    .close-btn:hover {
        background-color: var(--burnt-orange);
        border-radius: 50%;
    }
/*create new client model*/
.modal-flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 70vw;
    height: 100%;
    z-index: 2;
}
    .overlay.transparent {
        background-color: transparent;
        display: block;
    }
    .overlay.dark {
        background-color: rgba(0, 0, 0, 0.5);
        display: block;
    }
    .overlay.show {
        display: block;
    }

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    max-width: 60rem;
    background-color: white;
    z-index: 10;
    height: auto;
    min-height: 30vh;
    border-radius: 13px;
}
    .modal.shadowed {
        display: block;
        box-shadow: rgba(14, 30, 37, 0.32) 0 40px 150px 120px;
    }

    .modal.plain {
        display: block;
    }
@media (max-width: 1024px) {
    .modal {
        width: 500px;
        max-width: 500px;
    }
}

/*modal title here*/
.modal-title-container {
    display: flex;
    justify-content: space-between;
    margin-right: 3px;
    padding: 20px 25px 10px 25px;
    align-items: center;
}

.modal-title {
    align-content: center;
    font-size: 1.2rem;
    font-weight: var(--font-weight-medium);
    color: var(--dark-blue);
}

.modal-top {
    margin: 0 20px;
    border-radius: 11px;
    padding: 5px 20px 35px 25px;
}

.modal-label {
    color: var(--dark-blue);
    font-weight: var(--font-weight-semibold);
}

    .modal-label label {
        padding: 10px 0;
    }

.abn-textedit {
    height: 35px;
    border: 2px solid transparent;
    width: 80%;
    border-radius: 15px;
    padding-left: 10px;
    margin-inline:10px;
}

    .abn-textedit:focus {
        outline: none;
    }

    .abn-textedit:disabled {
        background-color: var(--soft-grey);
    }

#modal-button {
    display: flex;
    margin-right: 18px;
    justify-content: end;
    padding: 20px 10px;
}

#modal-btn {
    background-color: #a7a7a7;
    color: snow;
    font-weight: var(--font-weight-regular);
    font-size: 0.9rem;
}

    #modal-btn:hover {
        box-shadow: var(--burnt-orange);
        background-color: var(--burnt-orange);
        color: snow;
    }

    #modal-btn:focus {
        display: none;
    }


.add-situation {
    margin-left: 10px;
    align-content: center;
}
