/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
	- Structure
	- Navigation
	- Dashboard
	
--------------------------------------------------------------*/

input[type="submit"] {
  border: none;
  border-radius: 50px;
  line-height: 1;
  padding: 0;
}

.fa-question:before {
  content: "\f128";
}

body:not(.logged-in) {
  background: white;
}

body.no-background {
  background: white;
}

/* Structure */
.aff-dashboard {
  min-height: 70vh;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  width: 100%;
  position: relative;
  padding: 0;
  clear: both;
  z-index: 8;
}
.dashboard-heading-nav {
  min-width: 78px;
}
#dashboard_menu.collapsed .menu_items .menu_item {
  padding-right: 0;
}
#dashboard_menu.collapsed {
  width: 72px !important;
}
#dashboard_menu,
#dashboard_menu .text,
#dashboard_menu .menu_items .menu_item .gpbox-icon {
  transition: none !important;
}

#wcfm-main-contentainer .aff-container.wcfm-collapse {
  width: 100%;
  flex: unset;
  vertical-align: unset;
  background-color: var(--background-color);
  border-radius: 0;
  margin-left: 240px;
  transition: none;
  min-height: 100vh;
}
#wcfm-main-contentainer .aff-container.collapsed ~ .wcfm-collapse {
  margin-left: 72px !important;
}

.affiliate-link {
  display: block;
  resize: none;
  text-align: center;
  padding: 1rem !important;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent-clr);
  border-radius: 5px !important;
  height: 64px;
  white-space: nowrap;
}

input.affiliate-link {
  color: var(--text-black-clr);
}

.clipboard-copy {
  position: absolute;
  right: 0.75rem;
  font-weight: 700;
  padding: 1rem;
  border: var(--border);
  background: var(--ultra-light-grey-clr);
  color: var(--accent-clr);
  border-radius: 50px;
  line-height: unset;
  height: unset;
  height: calc(64px - 1.5rem);
}
.clipboard-copy.bg-icon:before {
  background-color: var(--very-light-grey-clr);
}

label > .right-label {
  margin-left: auto;
}

.show-password-input {
  top: 10px;
}

/* Navigation menu */
.aff-menu-item {
  padding: 0.15rem 0;
}

.aff-menu-item.is-active a {
  background-color: var(--ultra-light-grey-clr);
  font-weight: 700;
  color: var(--accent-clr);
  border-radius: 20px;
}

/* Home dashboard page */
.border-box-item {
  padding: 0 3% 0 0;
  border-right: var(--border);
  width: 23.5%;
  margin-right: 2%;
  margin-left: 0;
}
.border-box-item:last-child {
  padding-right: 0;
  margin-right: 0;
  border-right: 0;
}
.border-box-item:first-child {
  padding-left: 0;
  margin-left: 0;
}

.big-number {
  font-size: 28px;
  font-weight: 700;
}

/* Sales dashboard screen */
.daterange-action-buttons {
  margin-left: auto;
}
.daterange-action-buttons input {
  padding: 0 1rem;
}
.woocommerce-info {
  margin-top: 0;
}
.wpam-responsive-table {
  text-align: center;
}
.wpam-responsive-table tr th {
  border-bottom: var(--border);
}
.wpam-responsive-table td[data-column="Amount"] {
  font-weight: 700;
}

/* Account information screen */
#saveInfoButton {
  padding: 0 1rem;
}

@media screen and (max-width: 64rem) {
  .border-box-item {
    width: 100% !important;
    border-right: none;
    border-bottom: var(--border);
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
  }
  .border-box-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}
