﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.fixed-container {
    height: 600px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pdf-controls {
    background-color: #222;
}

.pdf-scroll-container {
    height:550px;
    overflow-y: auto;
    padding: 20px;
}

canvas {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto; /* Important for responsive scaling */
}

/* Optional: Make sure buttons stay nicely aligned */
#prev, #next {
    min-width: 100px;
}

.select2-container {
    width: 100% !important;
}
.select2-selection--single {
    height: calc(2.25rem + 2px) !important;
}

/* Cursor pointer */

.cursor-pointer {
    cursor: pointer;
}

.cursor-pointer:hover {
    opacity: 0.8; 
    transform: scale(1.1);
    transition: 0.2s ease;
}

#document-addEdit-modal .modal-body {
    max-height: calc(100vh - 200px) !important;
    overflow-y: auto !important; 
}