.icod-modal-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(15, 23, 42, 0.5);
backdrop-filter: blur(4px);
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.2s ease;

}
.icod-modal-overlay.show {
opacity: 1;
}
.icod-modal-box {
background: #ffffff;
border-radius: 16px;
width: 400px;
max-width: 90%;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
transform: scale(0.95) translateY(10px);
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
padding: 24px;
font-family: var(--icod-font, 'Cairo', sans-serif);
text-align: start;
}
.icod-modal-overlay.show .icod-modal-box {
transform: scale(1) translateY(0);
}
.icod-modal-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 16px;
}
.icod-modal-icon {
width: 48px;
height: 48px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.icod-modal-icon.warning {
background: #fef2f2;
color: #dc2626;
}
.icod-modal-icon.info {
background: #eff6ff;
color: #3b82f6;
}
.icod-modal-title {
font-size: 18px;
font-weight: 700;
color: #0f172a;
margin: 0;
}
.icod-modal-msg {
font-size: 14.5px;
color: #475569;
margin: 0 0 24px;
line-height: 1.6;
}
.icod-modal-actions {
display: flex;
gap: 12px;
justify-content: flex-end;
}
.icod-modal-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 0 20px;
height: 38px;
border-radius: 8px;
font-size: 14px;
font-weight: 600;
cursor: pointer;
border: none;
transition: 0.15s ease;
font-family: inherit;
}
.icod-modal-btn.cancel {
background: #f1f5f9;
color: #475569;
}
.icod-modal-btn.cancel:hover {
background: #e2e8f0;
}
.icod-modal-btn.confirm {
background: #16a34a;
color: #ffffff;
box-shadow: 0 1px 4px rgba(0,0,0,.03);
}
.icod-modal-btn.confirm:hover {
background: #15803d;
box-shadow: 0 8px 24px rgba(22, 163, 74, 0.15);
}
.icod-modal-btn.danger {
background: #dc2626;
color: #ffffff;
}
.icod-modal-btn.danger:hover {
background: #b91c1c;
}
