﻿.modal-overlay-addToSiteModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;    
}

.modal-content-addToSiteModal {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: auto;
    height: auto;
}

    .modal-content-addToSiteModal h2 {
        font-size: 30px;
        font-weight: 600;
    }

    .modal-content-addToSiteModal p {
        font-size: 18px;
        margin-top: 5px;
    }

    .textarea-addToSiteModal {
        width: auto;
        height: auto;
        margin: 20px 0;
        background-color: #F4F4F4;
        align-content: center;
        display: flex;
        flex-direction: column;
        padding: 20px;
        border-left: 10px solid #ADACAC;
    }

    .textarea-addToSiteModal span {
        display: inline-block;
        width: 500px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        word-wrap: break-word;
    }

.textarea-addToSiteModal div {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
}

.textarea-color-addToSiteModal {
    color: #00C735;
}

.textarea-display-addToSiteModal {
    display:flex;
    flex-direction: row !important;
    margin: 0;
}

.buttons-addToSiteModal {
    display: flex;
    gap: 20px;
    margin: 40px 40px 0px 40px;
}

@media (max-width: 768px) {
    .modal-overlay-addToSiteModal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    .textarea-addToSiteModal span {
        width: 250px;
    }
}