.apex-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.apex-modal-overlay.apex-show {
    opacity: 1;
    visibility: visible;
}

.apex-modal-content {
    background: #fff;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    transform: translateY(50px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    font-family: 'IRANSansWeb', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.apex-modal-overlay.apex-show .apex-modal-content {
    transform: translateY(0);
}

.apex-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.apex-close-btn:hover {
    color: #333;
}

.apex-icon-wrapper {
    margin-bottom: 20px;
    animation: apexFloat 3s ease-in-out infinite;
}

.apex-modal-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.apex-modal-body p {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.apex-modal-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.apex-btn-primary {
    background-color: #E2C784;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    border: none;
    font-size: 14px;
}

.apex-btn-primary:hover {
    background-color: #d4b66a;
    color: #fff;
}
#apex-close-modal {
	position: absolute;
	border-radius: 8px;
	font-size: 16px;
}
.apex-btn-secondary {
    background-color: #f5f5f5;
    color: #555;
    padding: 10px 20px;
    border-radius: 10px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    font-family: inherit;
    font-size: 14px;
}

.apex-btn-secondary:hover {
    background-color: #e0e0e0;
}

@keyframes apexFloat {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}