.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.4);
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

.modal h2 {
    color: #333;
    margin-bottom: 20px;
    border-bottom: 2px solid #3a3a5c;
    padding-bottom: 10px;
}

.modal h3 {
    color: #3a3a5c;
    margin-top: 20px;
    margin-bottom: 10px;
}

.event-details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.detail-item {
    flex: 1;
}

.detail-label {
    font-weight: bold;
    color: #666;
}

.event-description p {
    line-height: 1.6;
}

.event-impact {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.impact-values {
    display: flex;
    justify-content: space-between;
}

.impact-item {
    flex: 1;
    text-align: center;
}

.impact-label {
    display: block;
    font-weight: bold;
    color: #666;
    margin-bottom: 5px;
}

.impact-value {
    font-size: 1.2em;
    color: #333;
}

.impact-value.highlight {
    color: #4CAF50;
    font-weight: bold;
}

.event-key-points ul,
.trading-considerations ul {
    padding-left: 20px;
}

.event-key-points li,
.trading-considerations li {
    margin-bottom: 10px;
}

.learn-more {
    background-color: #e9ecef;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.learn-more ul {
    padding-left: 20px;
}

.learn-more a {
    color: #3a3a5c;
    text-decoration: none;
}

.learn-more a:hover {
    text-decoration: underline;
}
