/* Entity Group Warning Modal Styles */

.entity-warning-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.entity-warning-modal {
    background-color: #A0A0F5;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    max-width: auto;
    width: 90%;
    max-height: 40vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.entity-warning-icon {
    font-size: 32px;
    margin-right: 16px;
    flex-shrink: 0;
}


.entity-warning-body {
    padding: 24px 24px 0 24px;
    color: #555;
    line-height: 1.6;
    text-align: center;
}

.entity-warning-message {
    text-align: center; 
}

.entity-warning-message p {
    margin: 0 0 16px 0;
    text-align: center;
}

.entity-warning-message p:last-child {
    margin-bottom: 0;
}

.entity-warning-main {
    font-size: 16px;
    color: #222;
    margin-bottom: 20px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.entity-warning-footer {
    padding: 0 24px 16px 0;
    display: flex;
    justify-content: flex-end;
}

.entity-warning-button {
    background-color: #240046;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.entity-warning-button:hover {
    background-color: #1976d2;
    transform: translateY(-1px);
}

.entity-warning-button:active {
    transform: translateY(0);
}

.entity-warning-button:focus {
    outline: 2px solid #2196f3;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .entity-warning-modal {
        width: 95%;
        max-height: 90vh;
    }
    
    .entity-warning-header {
        padding: 20px 16px 12px 16px;
    }
    
    .entity-warning-icon {
        font-size: 28px;
        margin-right: 12px;
    }
    
    .entity-warning-title {
        font-size: 18px;
    }
    
    .entity-warning-body {
        padding: 16px;
    }
    
    .entity-warning-button {
        padding: 10px 24px;
        font-size: 14px;
    }
}
