#gf-preview-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.gf-preview-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.gf-preview-modal-content h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    margin-top: 0px;
}

.gf-preview-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: #fff;
}

.gf-preview-table th,
.gf-preview-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 15px;
}

.gf-preview-table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.gf-preview-table tr:hover {
    background-color: #f8f9fa;
}

.gf-preview-label {
    font-weight: 500;
    color: #555;
    width: 30%;
}

.gf-preview-value {
    color: #333;
}

.gf-preview-buttons {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

.gf-preview-buttons .gform_button {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.gf-preview-buttons .gform_button:first-child {
    background-color: #f8f9fa;
    color: #333;
}

.gf-preview-buttons .gform_button:last-child {
    background-color: #007bff;
    color: #fff;
}

.gf-preview-buttons .gform_button:hover {
    opacity: 0.9;
}

/* Responsive styles */
@media (max-width: 768px) {
    .gf-preview-modal-content {
        padding: 20px;
        width: 95%;
    }

    .gf-preview-table th,
    .gf-preview-table td {
        padding: 10px;
    }

    .gf-preview-label {
        width: 40%;
    }
}