/* document_style.css */

body {
    font-family: 'Times New Roman', Times, serif; /* Classic document font */
    line-height: 1.5;
    background-color: #f0f0f0; /* Light grey background */
    margin: 0;
    padding: 20px;
    color: #000;
}

.word-container {
    display: flex;
    justify-content: center; /* Center page and sidebar container */
    gap: 20px; /* Space between page and comments */
}

.page {
    background-color: #fff; /* White page */
    padding: 50px 60px; /* Typical Word padding (adjust as needed) */
    width: 8.5in; /* Standard US Letter width */
    min-height: 11in; /* Standard US Letter height */
    box-shadow: 0 0 10px rgba(0,0,0,0.1); /* Subtle shadow */
    box-sizing: border-box; /* Include padding in width/height */
    max-width: 900px; /* Limit max width for very large screens */
}

.doc-title {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 30px;
}

h2 {
    text-transform: uppercase;
    font-size: 1.1em;
    margin-top: 25px;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 3px;
}

ol {
    padding-left: 40px;
}

li {
    margin-bottom: 10px;
}

.signature-block {
    margin-top: 40px;
    margin-bottom: 20px;
    width: 40%;
    display: inline-block; /* Place side-by-side */
}

.comments-sidebar {
    width: 250px; /* Fixed width for sidebar */
    background-color: #f8f8f8; /* Light background for comments */
    padding: 15px;
    border-left: 1px solid #ddd;
    height: fit-content; /* Adjust height based on content */
    box-shadow: -2px 0 5px rgba(0,0,0,0.05);
    box-sizing: border-box;
    display: block; /* Ensure it's visible */
}

.comments-sidebar h2 {
    margin-top: 0;
    font-size: 1.2em;
    border-bottom: 2px solid #aaa;
    padding-bottom: 5px;
    text-transform: none;
}

.comment {
    background-color: #fff0c0; /* Pale yellow comment background */
    border: 1px solid #e0d0a0;
    padding: 10px;
    margin-bottom: 15px;
    font-size: 0.9em;
    border-radius: 3px;
}

.comment-author {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #555;
}

.comment-ref {
    background-color: #ffd0d0; /* Light red background for reference */
    color: #a00000; /* Darker red text */
    padding: 0 4px;
    border-radius: 2px;
    font-size: 0.8em;
    vertical-align: super;
    cursor: default; /* Indicate it's not directly clickable (handled by JS if needed) */
}

/* Highlighting styles from nda_script.js */
.highlight-red {
    background-color: rgba(255, 0, 0, 0.2);
    transition: background-color 0.3s ease-in-out;
}

.highlight-yellow {
    background-color: rgba(255, 255, 0, 0.3);
    transition: background-color 0.3s ease-in-out;
}

.highlight-green {
    background-color: rgba(0, 255, 0, 0.2);
    transition: background-color 0.3s ease-in-out;
}

/* --- Media Queries --- */

@media (max-width: 992px) {
    .word-container {
        flex-direction: column; /* Stack page and sidebar */
        align-items: center; /* Center items when stacked */
    }
    .page {
        width: 100%; /* Allow page to take full width */
        max-width: 700px; /* Limit max width still */
        min-height: auto; /* Remove min height */
        padding: 30px 40px;
    }
    .comments-sidebar {
        width: 100%; /* Full width */
        max-width: 700px;
        margin-top: 20px; /* Add space above sidebar */
        border-left: none; /* Remove left border */
        border-top: 1px solid #ddd; /* Add top border */
        box-shadow: none;
    }
    .signature-block {
        width: 48%; /* Adjust width slightly */
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    .page {
        padding: 20px 15px;
    }
    h2 { font-size: 1em; }
    li, p { font-size: 0.95em; }
    .signature-block {
        display: block; /* Stack signature blocks */
        width: 100%;
        margin-bottom: 30px;
    }
    .comments-sidebar {
        padding: 10px;
    }
    .comment {
        font-size: 0.85em;
    }
}

#ezPrivacyCenter {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    top: auto !important;
    left: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 10px 16px !important;
    font-size: 14px !important;
    writing-mode: horizontal-tb !important;
    transform: none !important;
    background-color: #5fa624 !important;
    color: white !important;
    border-radius: 5px !important;
    z-index: 2147483647 !important;
    box-shadow: 0 0 10px rgba(0,0,0,0.3) !important;
    cursor: pointer !important;
} 