/* General Styles for Modals and Alerts */
.idn-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.idn-modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 25px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.idn-close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.idn-close-modal:hover,
.idn-close-modal:focus {
    color: black;
}

/* Alert Message Styles */
#idn-alert-message, #idn-report-alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-weight: bold;
    color: #fff;
    text-align: center;
}
.idn-alert-success {
    background: linear-gradient(45deg, #28a745, #218838, #90ee90); /* সবুজ */
}
.idn-alert-error {
     background: linear-gradient(45deg, #dc3545, #c82333, #ffc0cb); /* লাল এবং পিংক */
}

/* Common Button Style */
.idn-submit-button, .idn-delete-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.idn-submit-button {
    background: linear-gradient(45deg, #6f42c1, #007bff); /* বেগুনি ও নীল */
}
.idn-delete-button {
    background: linear-gradient(45deg, #dc3545, #c82333); /* লাল */
}
.idn-submit-button:hover, .idn-delete-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Mobile Friendliness */
@media (max-width: 768px) {
    .idn-modal-content {
        width: 95%;
        margin: 20% auto;
    }
}