/* Styles for the complaint page */

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Add some space for the fixed header */
section[id] {
  scroll-margin-top: 100px;
}

/* PDF Lightbox Styles */
.pdf-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.pdf-lightbox.active {
    display: flex;
}

.pdf-container {
    background: white;
    border-radius: 10px;
    width: 90%;
    height: 90%;
    max-width: 900px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.canvas-container {
    flex-grow: 1;
    overflow-y: auto;
    text-align: center;
}

#pdf-canvas {
    max-width: 100%;
    height: auto;
}

.pdf-controls {
    padding: 10px;
    background: #f8f8f8;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.pdf-controls button {
    padding: 8px 15px;
    border: none;
    background: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.pdf-controls button:hover {
    background: #0056b3;
}

.close-btn {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 24px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    color: #333;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
