.rael-post-navigation { display: flex; gap: 80px; column-gap: 80px;}

.tagcloud a {
    background-color: #334355 !important;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px !important; 
    line-height: 1; 
    margin: 0 5px 5px 0; 
    display: inline-block; 
}

.tagcloud a:hover {
    background-color: #4a5d71; 
    color: #fff;
}

/* Modal container styles */
#json-input-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal active state - for pages where modal should be visible by default */
#json-input-modal.modal-active {
    display: block !important;
    position: static !important;
    background-color: transparent !important;
    z-index: auto !important;
    width: 100% !important;
    height: auto !important;
}

/* Modal content styles */
.modal-content {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-width: 600px; /* Set a max width */
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Modal content styles when modal is active (inline display) */
#json-input-modal.modal-active .modal-content {
    margin: 20px auto;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Close button style */
.close-button {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

/* Success and error message styles */
#response-message.success {
    color: #46b450;
    background-color: #ecf7ed;
    border: 1px solid #46b450;
    padding: 10px;
    border-radius: 3px;
    margin-top: 10px;
}

#response-message.error {
    color: #dc3232;
    background-color: #fbeaea;
    border: 1px solid #dc3232;
    padding: 10px;
    border-radius: 3px;
    margin-top: 10px;
}

/* JSON input styling */
#product-json {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.4;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 10px;
}

/* Button styling */
#submit-json {
    margin-top: 15px !important;
}

/* Pre code styling for JSON example */
pre {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.3;
    overflow-x: auto;
}

/* Debug styles - ensure modal is visible */
#json-input-modal {
    border: 2px solid red !important;
    min-height: 100px !important;
}

#json-input-modal.modal-active {
    border: 2px solid green !important;
}