

.excahngebody {
    font-family: 'Inter', sans-serif;
    backdrop-filter: blur(1px);
    background: rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 1050; /* Higher than menu's 1001 */
}

.excahngebody[style*="display: block"],
.excahngebody[style*="display: flex"] {
    display: flex !important;
}

.excahngemodal {
    background-color: #ffffff;
    border-radius: 8px;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.excahngemodal-header {
    padding: 6px 16px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f5f5;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.excahngemodal-header h2 {
    font-size: 14px;
    font-weight: 600;
    color: #000000;
}

.excahngeclose-btn {
    background: none;
    border: none;
    font-size: 35px;
    color: #1f2937;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}


.excahngemodal-body {
    padding: 16px 18px 13px 15px;
}

.excahngemodal table {
    width: 100%;
    border-collapse: collapse;
    border: 2px solid gainsboro;
}

.excahngemodal thead {
    background-color: #f9fafb;
}

.excahngemodal th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid gainsboro;
}

.excahngemodal td {
    padding: 8px 16px;
    font-size: 12px;
    color: #1f2937;
    border: 1px solid gainsboro;
}

.excahngemodal tbody tr:nth-child(even) {
    background-color: #ebf9ff;
}

.excahngemodal tbody tr:hover {
    background-color: #d0f0ff;
}

.notes{
    padding:16px 0px 0px 0px;
}
.notes p {
    font-size: 15px;
    color: #1f2937;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Responsive design */
@media (max-width: 768px) {
    .excahngemodal {
        max-width: 95%;
    }

    .excahngemodal th,
    .excahngemodal td {
        padding: 8px 12px;
        font-size: 12px;
    }

    .excahngemodal-header h2 {
        font-size: 14px;
    }
}
