/* Styles to prevent printing and screenshots */
@media print {
    body * {
        visibility: hidden;
    }
    body::before {
        content: "Printing this document is not allowed.";
        visibility: visible;
        display: block;
        text-align: center;
        font-size: 24px;
        margin-top: 50%;
    }
}

body {
    margin: 0;
    padding: 0;
    background-color: #2c3e50;
    font-family: 'Work Sans', sans-serif;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background-color: #003366;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 100;
    position: relative;
}

.header h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.close-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.pdf-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #525f6f;
    position: relative;
    overflow: hidden;
}

.pdf-object {
    width: 100%;
    height: 100%;
    border: none;
    z-index: 1;
}

.pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: transparent;
}

.pdf-alternative {
    padding: 2rem;
    text-align: center;
    color: white;
}

.pdf-alternative a {
    color: #00a79d;
    text-decoration: underline;
}

.protection-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

.watermark {
    position: absolute;
    opacity: 0.05;
    font-size: 80px;
    color: white;
    transform: rotate(-45deg);
    user-select: none;
    pointer-events: none;
}

.warning-message {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 10000;
    text-align: center;
}

/* Prevent text selection */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide PDF toolbar in some browsers */
.pdf-object::-webkit-media-controls {
    display: none !important;
}

/* Hide native PDF controls */
.pdf-object {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}