/**
 * Mortgage Rate Snapshot Styles
 */

.mortgage-rate-button {
    background-color: #0073e6;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    margin: 10px 0;
}

.mortgage-rate-button:hover {
    background-color: #005bbd;
}

.mortgage-rate-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mortgage-rate-popup-content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    width: 80%;
    max-width: 600px;
    max-height: 80%;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.mortgage-rate-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.mortgage-rate-popup-close:hover {
    color: #333;
}

.mortgage-rates-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.mortgage-rates-table th,
.mortgage-rates-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.mortgage-rates-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.mortgage-rates-table tr:hover {
    background-color: #f5f5f5;
}

.mortgage-rate-inline-display {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}