/* Custom styles for PDF editor */
#pdf-container {
    transition: all 0.3s ease;
}

#pdf-viewer {
    margin: 0 auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

#empty-state {
    max-width: 400px;
    margin: 0 auto;
}

/* Signature canvas styling */
#sign-canvas {
    background-color: #f9fafb;
    cursor: crosshair;
}

/* Annotation layer styling */
.annotation {
    position: absolute;
    pointer-events: auto;
}

.text-annotation {
    cursor: move;
    padding: 4px;
    border: 1px dashed transparent;
}

.text-annotation:hover {
    border-color: rgba(59, 130, 246, 0.5);
}

/* Tool active state */
.tool-active {
    background-color: #3b82f6 !important;
    color: white !important;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    #pdf-container {
        min-height: 50vh;
    }
}

@media (max-width: 640px) {
    #pdf-container {
        min-height: 40vh;
    }
}