/** Front End CSS. */

/* Define required variables */

:root {
  --wkwc-pa-label-background-color: #2271b1;
  --wkwc-pa-label-font-color: #ffffff;
}

/* Cart From Template */

.wkwc-pa-label {
  background-color: var(--wkwc-pa-label-background-color);
  color: var(--wkwc-pa-label-font-color);
  display: inline-block;
  font-weight: 600;
  padding: 2px 8px;
}
.wkwc-pa-hide {
  display: none !important;
}
.wkwc-pa-prescription-attachment-container {
  border-radius: 0px 0px 5px 5px;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
}

.attachment_header {
    background: #efefef;
    padding: 7px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.attachment_header h2 {
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 0px 5px;
    margin: 0;
    line-height: 1.4;
}

.attachment_body {
    padding: 10px 20px 30px;
}

.wkwc-pa-prescription-attachment-container h2 {
  display: inline-block;
  margin: 0;
  color: #000;
}
.wkwc-pa-prescription-attachment-container .wkwc-pa-tabs {
  margin: 0;
  display: flex;
}
/* .wkwc-pa-prescription-attachment-container .wkwc-pa-tab {
  cursor: pointer;
  display: inline-block;
  font-weight: 600;
  list-style: none;
  margin-right: 20px;
  padding: 8px 0;
} */

.wkwc-pa-prescription-attachment-container .wkwc-pa-tab {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  margin: 5px;
  border: 2px solid #9f9f9f;
  border-radius: 50px;
  padding: 0px 10px ;
}
.wkwc-pa-prescription-attachment-container .wkwc-pa-tab span.dashicons {
  vertical-align: text-bottom;
}
/* .wkwc-pa-prescription-attachment-container .wkwc-pa-tab.wkwc-pa-active {
  border-bottom: 4px solid var(--wkwc-pa-label-background-color);
  color: var(--wkwc-pa-label-background-color);
} */

.wkwc-pa-prescription-attachment-container .wkwc-pa-tab.wkwc-pa-active {
  background-color: var(--wkwc-pa-label-background-color);
  border: 2px solid var(--wkwc-pa-label-background-color);
  color: var(--wkwc-pa-label-font-color);
}


.wkwc-pa-prescription-attachment-container
  .wkwc-pa-prescription-attachment-box {
  grid-gap: 8px;
  display: grid;
  grid-auto-rows: 105px;
  grid-template-columns: repeat(auto-fit, minmax(1px, 100px));
  margin: 0;
}
.wkwc-pa-prescription-attachment-container
  .wkwc-pa-prescription-attachment-box
  label {
  border: 2px solid var(--wkwc-pa-label-background-color);
  border-radius: 10px;
  color: var(--wkwc-pa-label-background-color);
  cursor: pointer;
  font-weight: 600;
  margin-top: 10px;
  position: relative;
  text-align: center;
  vertical-align: top;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.wkwc-pa-prescription-attachment-container
  .wkwc-pa-prescription-attachment-box
  span.dashicons {
  font-size: 40px;
  height: 40px;
  margin: 15px 20px 0;
  width: 40px;
}
.wkwc-pa-prescription-attachment-container
  .wkwc-pa-prescription-attachment-box
  img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}
.wkwc-pa-prescription-attachment-container
  .wkwc-pa-prescription-attachment-box
  a.wkwc-pa-attachment-name {
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
  word-break: break-all;
}
.wkwc-pa-prescription-attachment-container
  .wkwc-pa-attachment-later-description {
  margin-bottom: 0;
  margin-top: 10px;
}
.wkwc-pa-prescription-attachment-container .wkwc-pa-remove-prescription {
  position: absolute;
  right: -2px;
  top: -5px;
}
.wkwc-pa-prescription-attachment-container .wkwc-pa-remove-prescription:before {
    content: "x";
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    border: 1px solid #2271b1;
    border-radius: 50%;
    padding: 0px 5px;
    background: #2271b1;
    color: #fff;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    z-index: 99;

}

.wkwc-pa-prescription-attachment-container .wkwc-pa-approval-submit {
  margin-top: 10px;
}
.woocommerce-help-tip {
  color: #666;
    display: inline-block;
    font-size: 1.1em;
    font-style: normal;
    height: 16px;
    line-height: 16px;
    position: relative;
    vertical-align: middle;
    width: 16px;
}

.woocommerce-help-tip:after {
  font-family: Dashicons;
  speak: never;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  text-indent: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  content: "\f223";
  cursor: help;
}
#tiptip_holder.tip_top {
  padding-bottom: 5px;
}
#tiptip_holder {
  display: none;
  left: 0;
  position: absolute;
  top: 7px;
  z-index: 8675309;
}
#tiptip_arrow,
#tiptip_arrow_inner {
  height: 0;
  position: absolute;
  width: 0;
}
#tiptip_holder.tip_top #tiptip_arrow_inner {
  border-top-color: #333;
}
#tiptip_content,
.chart-tooltip,
.wc_error_tip {
  background: #333;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgb(0 0 0);
  color: #fff;
  font-size: 0.8em;
  max-width: 150px;
  padding: 0.618em 1em;
  text-align: center;
}
.wkwc-pa-status {
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  float: right;
  font-weight: 700;
  line-height: normal;
  padding: 5px 10px;
  text-transform: uppercase;
}
.wkwc-pa-status.wkwc-pa-status-attachments_pending {
  background-color: #555;
}
.wkwc-pa-status.wkwc-pa-status-pending {
  background-color: orange;
}
.wkwc-pa-status.wkwc-pa-status-approved {
  background-color: green;
}
.wkwc-pa-status.wkwc-pa-status-rejected {
  background-color: brown;
}
.wkwc-pa-loader-wrap {
  align-items: center;
  background-color: rgb(0 0 0);
  bottom: 0;
  display: grid;
  height: 100%;
  justify-content: center;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 999999;
}
.wkwc-pa-loader {
  height: 60px;
  width: 60px;
}
.wkwc-pa-loader svg {
  animation: rotation 1455ms linear infinite;
  height: 100%;
  overflow: visible;
  width: 100%;
}
.wkwc-pa-loader circle {
  stroke: currentColor;
  stroke-dasharray: 44px;
  stroke-dashoffset: 11px;
  animation: spinner 3.85s ease infinite;
  color: #f3f3f3;
  transform: rotatey(180deg) rotate(90deg);
  transform-origin: center;
}
@keyframes spinner {
  0% {
    stroke-dashoffset: 33px;
    transform: rotatey(0deg) rotate(0deg);
  }
  25% {
    stroke-dashoffset: 11px;
    transform: rotatey(0deg) rotate(0deg);
  }
  25.0001% {
    stroke-dashoffset: 11px;
    transform: rotatey(180deg) rotate(270deg);
  }
  50% {
    stroke-dashoffset: 33px;
    transform: rotatey(180deg) rotate(270deg);
  }
  50.0001% {
    stroke-dashoffset: 33px;
    transform: rotatey(0deg) rotate(180deg);
  }
  75% {
    stroke-dashoffset: 11px;
    transform: rotatey(0deg) rotate(180deg);
  }
  75.0001% {
    stroke-dashoffset: 11px;
    transform: rotatey(180deg) rotate(90deg);
  }
  to {
    stroke-dashoffset: 33px;
    transform: rotatey(180deg) rotate(90deg);
  }
}
@keyframes rotation {
  to {
    transform: rotate(1turn);
  }
}


/* Alert Class Css */

.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}
