﻿.common-modal-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.common-modal-content {
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 500px;
    animation: modalFadeIn 0.3s;
    border: solid 2px #ffffff;
    box-shadow: black 0px 0px 20px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.common-modal-header {
    padding: 15px 20px;
    border-bottom: 1px solid #e9e9e9;
    background: #a60909;
    color: #fff;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;    
}

    .common-modal-header b {
        margin: 0;
        font-size: 0.40rem;
        
    }

.common-modal-body {
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
    font-weight:bold;
}

.common-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #e9e9e9;
    display: flex;
    justify-content: flex-end;
}

.common-modal-button {
    padding: 8px 16px;
    margin-left: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 15px;
    
}

.common-modal-button-primary {
    background-color: #770707;
    color: white;
    width:30%;
    border-radius:20px;
}

    .common-modal-button-primary:hover {
        background-color: #ff0000;
    }

.common-modal-button-secondary {
    background-color: #f1f1f1;
    color: #333;
}

    .common-modal-button-secondary:hover {
        background-color: #e5e5e5;
    }
