* {
    box-sizing: border-box;
}

*:before,
*:after {
    box-sizing: border-box;
}

html,
body {
    font-family: Arial, Helvetica, sans-serif;
    height: 100%;
    position: relative;
    margin:0px;
}

header {
    text-align: center;
}
/* 
li {
    display: inline;
    padding: 5px;
} */

/* .homelist li {
    display: inline;
    padding: 5px;
} */

a {
    text-decoration: none;
    color: blue;
}

a:hover { color : red;}

hr {
    width: 100%;
    height:4px;
    margin-left: auto;
    margin-right: auto;
    background-color: darkblue;
    border: 0 none;
}

input[type=text], input[type=password] {
    width: 50%;
    padding: 7px;
    /* margin: 5px 0 22px 0; */
    display: inline-block;
    border: none;
    background: #f1f1f1;
}

input[type=text]:focus, input[type=password]:focus {
    background-color: #ddd;
    outline: none;
}

.top-container {
    background: #ccc;
    padding:5px;
    border-bottom:2px solid #0f0f0f;
}
.bottom-container {
    background: #333;
    padding: 10px 5px;   /* give more vertical space */
    border-top: 2px solid #0f0f0f;
    width: 100%;
}

.container-term {
    width:80%;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}
footer {
    text-align: center;
    color: white;
    padding: 10px 0;
    background-color: #333;
    position: absolute;
    bottom: 0;
    width: 100%;
}
.wrapper {
    min-height: 100%;
    position: relative;
    padding-bottom: 70px;  /* leave space for footer */
}

.btn-submit {
    background-color: cornflowerblue;
    color: white;
    padding: 16px 20px;
    margin: 8px 0;
    border: none;
    cursor: pointer;
    width: 100%;
    opacity: 0.9;
}
.btn-submit:hover {
    opacity: 1;
}

.error-message {
    color :red;
}

.user {
    float: right;
    position: absolute;
    font-size: 25px;
    right: 10em;
    top: 2em;
}

.slick-prev:before,
.slick-next:before {
  color: black!important;
}

.seqlogo {
    /* width: 90%; */
    margin: 0 auto;
}

.upset {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tooltip {
  font-size: 16px;
}
.tooltip-inner {
    text-align: left;
}

.lds-hourglass {
    display: inline-block;
    /* position: relative;
    width: 80px;
    height: 80px; */
    position: fixed;
    top: 50%;
    left: 50%;
    
  }
  .lds-hourglass:after {
    content: " ";
    display: block;
    border-radius: 50%;
    width: 0;
    height: 0;
    margin: 8px;
    box-sizing: border-box;
    border: 32px solid #fff;
    border-color: #fff gray #fff gray;
    animation: lds-hourglass 1.2s infinite;
  }
  @keyframes lds-hourglass {
    0% {
      transform: rotate(0);
      animation-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19);
    }
    50% {
      transform: rotate(900deg);
      animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    }
    100% {
      transform: rotate(1800deg);
    }
  }
  
.tooltip-motif-image {
    position: fixed;
    background-color: white;
    border: 1px solid #ddd;
    padding: 4px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 9999;
    pointer-events: none;
}

.tooltip-motif-image img {
    max-width: 200px;
    height: auto;
}

.motif-ref {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
    position: relative;
}

/* General table enhancements */
#topprotiens td,
#topprotiens th {
  word-wrap: break-word;
  white-space: normal;
  vertical-align: top;
  padding: 6px 8px;
  font-size: 0.875rem;
  text-align: left;
}

/* Header-specific tweaks */
#topprotiens th {
  white-space: nowrap;
  font-weight: 500;
  background-color: #f8f9fa; /* light gray background for headers */
}

/* Make the table scrollable without distorting layout */
.table-container {
  max-height: 300px;
  overflow-y: auto;
}

/* Improve link visibility in Peptide Count column */
#topprotiens a {
  color: #0d6efd; /* Bootstrap primary color */
  text-decoration: none;
}

#topprotiens a:hover {
  text-decoration: underline;
}

/* Zebra-striping for better row distinction */
#topprotiens tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Optional: Add a slight shadow to card */
.card {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
}

/* Make image responsive and styled */
#pepscannerimage {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
}

.badge {
    padding: 0.5em 0.75em;
    font-size: 0.9em;
}