/*
--------------------------------------------------
| Root elements
--------------------------------------------------
*/

/*
--------------------------------------------------
| ...
--------------------------------------------------
*/

/*
--------------------------------------------------
| Alpinejs
--------------------------------------------------
*/
[x-cloak] {
  display: none !important;
}

/*
--------------------------------------------------
| Quilljs
--------------------------------------------------
*/
.ql-image-url::before {
  content: "🖼️"; /* Unicode for the desired Font Awesome icon */
}

/*
--------------------------------------------------
| Summernote
--------------------------------------------------
*/
.note-group-select-from-files {
  display: none;
}

/*
--------------------------------------------------
| Signaturepad
--------------------------------------------------
*/
.signature-pad {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-size: 10px;
  width: 100%;
  height: 100%;
  /*max-width: 700px;
  max-height: 460px;*/
  border: 1px solid #e8e8e8;
  background-color: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.08) inset;
  border-radius: 4px;
  padding: 16px;
}

.signature-pad--body {
  /*position: relative;*/
  margin: 0 auto;
  width: 352px;
  height: 102px;
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  /*border: 1px solid #f4f4f4;*/
  border: 1px solid red;
}

.signature-pad--body canvas {
  /*position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;*/
  width: 350px;
  height: 100px;
  border-radius: 4px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.02) inset;
}

.signature-pad--footer {
  color: #c3c3c3;
  text-align: center;
  font-size: 1.2em;
  margin-top: 8px;
}

.signature-pad--actions {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-top: 8px;
}

.signature-pad {
  margin: auto;
  height: auto;
}

.signature-pad--body {
  min-height: 100px;
}

.signature-pad--actions {
  overflow: hidden;
}

.signature-pad--actions > div:first-child {
  float: left;
}

.signature-pad--actions > div:last-child {
  float: right;
}

.help-content {
  display: none; /* Hidden by default */
  position: absolute;
  border: 1px solid #ccc;
  background-color: white;
  width: 500px; /* or whatever size you prefer */
  padding: 10px;
  font-size: 0.8rem;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1; /* Ensure it sits on top of other content */
}

.data-table td, th{
  text-align: left !important;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/** Used for membership cards, and delegate cards and various other cards added in by Jason **/
/** Uses the "badge" class as the basis, but adds some sizing restrictions and flex-direction **/
.card {
  display: inline-flex;
  flex-direction: column; 
  position: relative;
  width: 100%;
  max-width: 400px;
  min-width: 300px;  
  align-items: center;
  border-radius: 0.375rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity));  
}

.card-highlight {
  border: 1px solid #918989; 
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
/** Adds a gold highlight outline & box-shadow **/
.card-highlight-gold {
  border: 1px solid #e8c6a3; 
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.card-name {
  font-weight: bold; 
  color: white; 
  text-align: center; 
  font-size: 1.3rem; 
  width: 100%; 
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.card-title {
  color: #ef5451; 
  text-shadow: -1px -1px 0 #e8c6a3, 1px -1px 0 #e8c6a3, -1px 1px 0 #e8c6a3, 1px 1px 0 #e8c6a3; 
  font-size: 1.1rem
}

.card-logo {
  position: absolute;
  left: 10px;
  top: 15%;
}

.card-logo-circle {
  float: left;
  margin-right: 10px;
  width: 60px;
  height: auto;
  border: 1px solid #e8c6a3;
  border-radius: 60%
}

.text-2xs {
  font-size: 0.6rem;
  line-height: 1rem;
}

