/* MODAL STYLES */
.rmt-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.rmt-modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.rmt-modal-close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
    padding: 10px 15px;
    cursor: pointer;
}

.rmt-modal-close:hover {
    color: #000;
}

.rmt-modal-body {
    padding: 30px;
}

.rmt-modal-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.rmt-modal-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    color: #2c3e50;
}

.rmt-modal-subtitle {
    font-size: 14px;
    color: #7f8c8d;
}

.rmt-modal-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.rmt-modal-stat {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    color: white;
}

.rmt-modal-stat-label {
    font-size: 12px;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 8px;
}

.rmt-modal-stat-value {
    font-size: 28px;
    font-weight: 700;
}

.rmt-modal-stat-value.positive {
    color: #4ade80;
}

.rmt-modal-stat-value.negative {
    color: #fbbf24;
}

.rmt-modal-table-container h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.rmt-modal-table {
    width: 100%;
    border-collapse: collapse;
}

.rmt-modal-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.rmt-modal-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.rmt-modal-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.rmt-modal-table tbody tr:hover {
    background-color: #f8f9fa;
}

.rmt-modal-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    font-size: 13px;
    color: #7f8c8d;
}
