/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

@import url("https://fonts.googleapis.com/css?family=Roboto Slab&display=swap");
@import url("https://fonts.googleapis.com/css?family=Roboto&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap");

a {
  text-decoration: underline;
  letter-spacing: 0px;
  color: #0085ba;
}

.billsby-notification-danger a {
  color: #dc3232;
}

.billsby-notification-danger a {
  color: #f4ff8c;
}

.center-v {
  display: flex;
  align-items: center;
}

.billsby-fw-bold {
  font-weight: bold;
}

.billsby-pt-3px {
  margin-top: 3px;
}

.billsby-mt-20px {
  margin-top: 20px;
}

/* Admin Icon */
#adminmenu #toplevel_page_billsby-plugin-settings .wp-menu-image img {
  opacity: 1;
}

/* Billsby Container */
.billsby-container {
  margin: 0 0 0 -20px;
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  font-size: 14px;
}

/* Billsby Header */
.billsby-header {
  background-image: url(../assets/billsby_bg_settings.svg);
  background-repeat: no-repeat, repeat;
  background-position: center;
  background-size: cover;
  padding: 22px;
  min-height: 302px;
}

.billsby-header-alt {
  background-image: url(../assets/billsby_bg_all.svg);
  background-repeat: no-repeat, repeat;
  background-position: center;
  background-size: cover;
  padding: 22px;
  height: 131px;
  display: flex;
  align-items: center;
}

/* Billsby Title */
.billsby-header-title {
  width: 483px;
  height: 127px;
  margin-top: 24px;
  font-size: 52px;
  color: #fffefc;
  letter-spacing: -2.4px;
  line-height: 54px;
  font-family: "Roboto Slab", sans-serif;
  font-weight: bold;
}

.billsby-header-title-alt {
  font-size: 52px;
  color: #fffefc;
  letter-spacing: -2.4px;
  line-height: 54px;
  font-family: "Roboto Slab", sans-serif;
  font-weight: bold;
}

/* Billsby Description */
.billsby-header-description {
  font-size: 23px;
  font-family: "Roboto", sans-serif;
  text-align: left;
  line-height: 30px;
  letter-spacing: -0.48px;
  color: #fffefc;
  width: 344px;
  height: 60px;
}

/* Billsby Header Button */
.billsby-header-button {
  display: inline-block;
  margin-top: 19px;
  padding: 17px 18px;
  font-family: "Roboto", sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: #243f5c;
  line-height: 24px;
  text-align: left;
  text-decoration: none;
  letter-spacing: -0.38px;
  border: 0;
  border-radius: 5px;
  background-color: #fff;
}

.billsby-header-button:hover {
  color: #243f5c;
  background-color: #eee;
}

.billsby-register-btn,
.billsby-help-and-support-btn {
  display: none;
}

/* Billsby Body Container */
.billsby-body-container {
  padding: 22px;
  font-size: 14px;
}

.billsby-access-control-page .billsby-body-container {
  padding-top: 26px;
}

/* .billsby-complete-setup .billsby-body-container {
  padding-top: 24.5px;
} */

/* Billsby Notification */
.billsby-notification {
  margin-top: 20px;
  max-width: 100%;
  padding: 15px 18px;
  border-radius: 5px;
  line-height: 19px;
}

/* .billsby-webhook-status-notif .billsby-notification {
  display: none;
} */

.billsby-notification-with-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 11px 11px 18px;
}

.billsby-complete-setup .billsby-notification {
  margin-top: 3px;
  margin-bottom: 16px;
  margin-right: -5px;
}

.billsby-notification-warning {
  background-color: #ffeec1;
  color: #d98500;
  font-size: 14px;
}

.billsby-notification-danger {
  background-color: #ffcbcb;
  color: #dc3232;
  font-size: 14px;
}

.billsby-notification-success {
  background-color: #dcf7dd;
  color: #4db54f;
  font-size: 14px;
}
.billsby-notification-hide {
  opacity: 0;
}

/* ------- Billsby Settings Page ------- */

/* Billsby Form */
.billsby-form-input-group {
  display: flex;
  margin-bottom: 30px;
}

.billsby-wizard-screen-2 .billsby-form-input-group {
  margin-bottom: 18px;
}

.billsby-form-input-field {
  width: 100%;
  color: #5f5f5f;
}

.billsby-form-input-label {
  min-width: 255px;
  font-weight: bold;
  text-align: left;
  letter-spacing: 0px;
  color: #1a2432;
}

.billsby-access-control-page .billsby-form-input-label {
  margin-bottom: 15px;
}

/* Billsby Form Input Field (bfif) */
.billsby-container .bfif-input-text {
  min-height: 26px;
  padding: 0 6px;
  border: 1px solid #dddddd;
  border-radius: 2px;
  line-height: 19px;
  letter-spacing: 0px;
  color: #5f5f5f;
}

.billsby-container .bfif-input-text.billsby-has-error {
  border: 1px solid #dc3232;
  color: #dc3232;
}

.billsby-error-msg {
  color: #dc3232;
  line-height: 19px;
}

.billsby-apikey-error {
  margin-left: 5px;
  display: none;
}

.bfif-screenshot-holder {
  width: fit-content;
  margin-top: 19px;
  /* box-shadow: 0px 0px 5px #00000029; */
}

.bfif-screenshot-holder img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.billsby-wizard-screen-1 .bfif-screenshot-holder img {
  box-shadow: 0px 0px 5px #00000029;
  max-width: 688px;
}

.billsby-wizard-screen-2 .bfif-screenshot-holder img {
  box-shadow: 0px 0px 10px #00000029;
  max-width: 1081px;
}

.bfif-api-key {
  width: 354px;
  margin-bottom: 16px;
}

.bfif-copy-text {
  padding: 0 16px;
  background-color: #dddddd;
  /* display: flex;
  justify-content: center; */
  width: max-content;
  color: #444444;
  text-align: center;
  letter-spacing: -0.5px;
}

.bfif-btn {
  min-width: 128px;
  border: 0;
  border-radius: 3px;
  padding: 4px 10px;
  /* display: flex;
  justify-content: center; */
  text-align: center;
  letter-spacing: 0px;
  color: #ffffff;
  font-size: 13px;
  line-height: 18px;
  cursor: pointer;
}

.bfif-btn-full {
  width: 100%;
}

.billsby-wizard-screen-1 .bfif-btn {
  margin-top: 19px;
}

.bfif-btn:disabled {
  opacity: 0.5 !important;
}

.bfif-btn-primary {
  background-color: #0085ba;
  box-shadow: 0px 2px 0px #006799;
  color: white;
}

.bfif-description {
  margin-bottom: 19px;
  font-size: 14px;
  line-height: 19px;
  text-align: left;
  letter-spacing: 0px;
  color: #5f5f5f;
}

/* ------- Billsby Buttons Page END ------- */

/* ------- Billsby Buttons Page ------- */

.billsby-section {
  margin: 0 0 22px;
}

.billsby-section.subscription-button-sc {
  margin-top: 3px;
}

.billsby-section-title {
  font-family: "Open Sans";
  font-size: 18px;
  font-weight: bold;
  line-height: 24px;
  letter-spacing: 0px;
  color: #1a2432;
}

.billsby-access-control-sc .billsby-section-title {
  margin-bottom: 21px;
}

.billsby-btn {
  display: inline-block;
  background: #000000 0% 0% no-repeat padding-box;
  border-radius: 5px;
  color: white;
  padding: 17px 20px;
  border: 0;
  font-family: "Open Sans", "Roboto";
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0;
  cursor: pointer;
  letter-spacing: -0.38px;
  line-height: 24px;
}

.billsby-section-content-details {
  display: flex;
  margin-bottom: 12px;
}

.billsby-access-control-page .billsby-section-content-details {
  margin-bottom: 20px;
}

.bscd-label {
  min-width: 221px;
  font-family: "Open Sans";
  font-weight: bold;
  font-size: 14px;
  color: #1a2432;
  line-height: 19px;
}

.bscd-description {
  max-width: 100%;
}

.bscd-copy-text {
  background-color: #ddd;
  max-width: 100%;
  font-family: "Open Sans";
  font-size: 14px;
  color: #5f5f5f;
  line-height: 19px;
  width: max-content;
  padding: 0 4px;
}

.bscd-paragraph {
  font-family: "Open Sans";
  margin-top: 12px;
  font-size: 14px;
  line-height: 19px;
  color: #5f5f5f;
  letter-spacing: 0px;
}

.billsby-access-control-page .bscd-paragraph {
  margin-top: 20px;
}

/* ------- Billsby Buttons Page END ------- */

/* ------- Billsby Account Sync Page ------- */

.billsby-description {
  margin-bottom: 23px;
  text-align: left;
  letter-spacing: 0px;
  color: #5f5f5f;
  font-size: 14px;
  line-height: 19px;
}

.billsby-wizard-screen-2 .billsby-description,
.billsby-complete-setup .billsby-description {
  margin-bottom: 20px;
}

.billsby-access-control-page .billsby-description {
  margin-bottom: 15px;
}

.billsby-account-sync,
.billsby-access-control {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.billsby-access-control {
  margin-bottom: 17px;
}

.billsby-account-sync span,
.billsby-access-control span {
  margin-left: 15px;
  font-size: 14px;
  text-align: left;
  letter-spacing: 0px;
  color: #5f5f5f;
  line-height: 19px;
}

/* #billsby-account-sync-box,
#billsby-access-control-box {
  border: 1px solid #dddddd;
  border-radius: 0px;
  transform: scale(1.5);
  margin-right: 15px;
  margin-left: 5px;
}

#billsby-account-sync-box:hover,
#billsby-access-control-box:hover {
  background-color: #ccc;
} */

.billsby-w-223px {
  min-width: 223px;
}

.bfif-log-out-url {
  margin-bottom: 11px;
  width: 360px;
}
/* ------- Billsby Account Sync Page END ------- */

/* ------- CSS for User Profile Billsby Details */

#billsby-subscription-list {
  margin: 0;
}
.billsby-subscription-list-items {
  margin-bottom: 20px;
}

.billsby-subscription-list-items > ul {
  line-height: 2;
}

.billsby-subscription-list-items > ul > li {
  display: flex;
}

.billsby-subscription-list-items > ul > li > b {
  width: 180px;
}

#billsby-tags-list {
  display: flex;
}
.billsby-tags-list-items {
  margin-right: 10px;
}

.billsby-tags-list-items > ul {
  line-height: 2;
}

.billsby-tags-list-items > ul > li {
  display: flex;
}

.billsby-tags-list-items > ul > li > b {
  width: 180px;
}

.billsby-subscription-status {
  background-color: rgb(221, 221, 221);
  border-radius: 5px;
  padding: 2px 10px;
  font-size: 12x;
}

.billsby-subscription-status-active {
  background-color: #40d240;
  color: white;
}

.billsby-subscription-status-suspended {
  background-color: #910000;
  color: white;
}

.billsby-tags {
  background-color: rgb(37, 124, 196);
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
  color: white;
  margin-right: 5px;
}

/* ----------------------------- Access Control ----------------------------- */
.billsby-textarea {
  display: block;
  width: 100%;
  border: 1px solid rgb(221, 221, 221);
  margin: 0;
  height: 190px;
}

.billsby-access-control-page .billsby-textarea {
  margin-bottom: 20px;
}

.billsby-restriction-msg {
  margin-bottom: 20px;
}

.billsby-meta-box {
  padding: 16px 8px 8px;
}

.billsby-meta-box .billsby-meta-box-title {
  font-weight: bold;
}

.billsby-meta-box .feature-tags-wrapper {
  padding: 0;
}

.billsby-meta-box .billsby-feature-tag {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  margin-right: 12px;
  margin-top: 12px;
  border: 1px solid #007cba;
  border-radius: 4px;
  color: #007cba;
}

.billsby-meta-box .billsby-remove-tag {
  position: absolute;
  top: 0;
  right: 0;
  padding: 3px;
  color: #000;
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
}

.billsby-meta-box button {
  padding: 0 24px;
  cursor: pointer;
  height: 100%;
  background-color: #007cba;
  border: none;
  border-radius: 3px;
  color: #fff;
}

.billsby-meta-box button:hover {
  background-color: #007cba;
}

.billsby-meta-box input[type="text"] {
  border-radius: 3px;
  border: 1px solid #7e8993;
  background-color: #fff;
  color: #32373c;
}

.billsby-meta-box input[type="checkbox"] {
  margin: 0 6px 0 0;
  border: 1px solid #7e8993;
  border-radius: 3px;
}

.billsby-meta-box .billsby-input-holder {
  margin-top: 16px;
}

.billsby-meta-box .billsby-input-holder.billsby-input-tag {
  display: flex;
}

.billsby-meta-box .billsby-input-holder.billsby-input-tag input[type="text"] {
  width: 100%;
  height: 35px;
}

.billsby-meta-box .billsby-input-holder.billsby-input-tag button {
  height: 35px;
  min-width: max-content;
  margin-left: 12px;
}

.billsby-meta-box .billsby-input-description {
  margin-top: 16px;
  color: #000;
}

/*-------- Billsby Checkbox List Item --------*/
.billsby-checkbox-list-item {
  display: flex;
  margin-bottom: 21px;
  /* border: 1px solid gray; */
  align-items: center;
  color: #5f5f5f;
}

/* .billsby-checkbox-list-item input[type=checkbox] {
  margin: 0;
} */

.billsby-checkbox-label-holder {
  margin-left: 16px;
}

.billsby-checkbox-title {
  margin-bottom: 10.5px;
  font-weight: bold;
  line-height: 19px;
}

.billsby-checkbox-subtitle {
  line-height: 19px;
}

/*------- Billsby Checkbox --------*/
.billsby-container .billsby-checkbox {
  position: relative;
  height: 26px;
  width: 26px;
  min-width: 26px;
  border: 1px solid #dddddd;
  border-radius: 0px;
  margin: 0;
  box-shadow: none;
}

.billsby-container .billsby-checkbox:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.billsby-container .billsby-checkbox:checked::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 8px;
  width: 4px;
  height: 10px;
  border: solid #5f5f5f;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

/* -------- Billsby Button List Item ------- */
.billsby-button-list-item {
  display: flex;
  margin-bottom: 21px;
  padding-right: 11px;
  align-items: center;
  color: #5f5f5f;
  justify-content: space-between;
}

.billsby-button-title {
  margin-bottom: 10.5px;
  font-weight: bold;
}

.billsby-complete-setup .billsby-button-list-item {
  margin-right: -5px;
}

.billsby-mis-config,
.billsby-wizard-screen-1,
.billsby-wizard-screen-2,
.billsby-wizard-screen-3,
.billsby-complete-setup {
  display: none;
}
