/**
 * Norbi Application Styles
 * Converted from SCSS to plain CSS (replaces webpack build)
 *
 * Colors from Bootstrap overrides:
 * - Primary: #314c7e
 * - Secondary: #aec0ee
 * - Warning: #b48636
 * - Gray variations from Bootstrap defaults
 */

/* ============================================================================
   Admin Styles
   ============================================================================ */

#bulk_actions {
  display: none;
  padding-bottom: 8px;
}

#scope {
  margin-bottom: 0;
  width: 160px;
  height: 29px;
  font-weight: 400;
  font-size: 12px;
}

.sort:after {
  content: '\f0dc';
  font-family: 'Font Awesome 5 Free';
  margin-left: 6px;
  color: #bbb;
}

.asc:after {
  content: '\f0dd';
  font-family: 'Font Awesome 5 Free';
  margin-left: 6px;
  color: #444;
}

.desc:after {
  content: '\f0de';
  font-family: 'Font Awesome 5 Free';
  margin-left: 6px;
  color: #444;
}

.half-faded {
  opacity: 0.5;
}

/* ============================================================================
   Flatpickr Overrides
   ============================================================================ */

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background-color: #314c7e;
  border-color: #253a5e; /* darken primary by 10% */
}

/* ============================================================================
   Navigation Styles
   ============================================================================ */

.navbar {
  border-bottom: 1px solid #e9ecef; /* gray-200 */
}

.nav-link span.badge {
  padding: 6px;
}

.nav-item {
  margin-top: 2px;
}

/* ============================================================================
   Sticky Footer
   ============================================================================ */

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  padding-bottom: 20px;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
  line-height: 60px;
  border-top: 1px solid #dee2e6; /* gray-300 */
}

/* ============================================================================
   Typography
   ============================================================================ */

h2, h3, h4 {
  margin-top: 30px;
}

h5, h6 {
  margin-top: 20px;
}

h1 {
  padding-bottom: 10px;
  margin-bottom: 30px;
  border-bottom: 1px solid #dee2e6; /* gray-300 */
}

.no-underline {
  text-decoration: none !important;
}

.alert.small {
  padding: 6px;
}

.underline {
  text-decoration: underline;
}

/* ============================================================================
   Table Styles
   ============================================================================ */

.table-striped>tbody>tr:nth-child(odd)>td,
.table-striped>tbody>tr:nth-child(odd)>th {
  background-color: #f8f9fa; /* gray-100 */
}

/* ============================================================================
   Form Styles
   ============================================================================ */

label {
  margin-top: 10px;
}

.form-control:focus {
  border-color: #6c757d; /* gray-600 */
  border: 1px solid #6c757d;
}

.form-control.is-invalid {
  background-image: none;
}

/* ============================================================================
   Spinner
   ============================================================================ */

.spinner {
  display: none;
}

/* ============================================================================
   Billing Styles
   ============================================================================ */

#coupon_code_status {
  display: none;
}

#duration_in_months_wrapper {
  display: none;
}

.payment-errors {
  display: none;
  margin-top: 30px;
  margin-bottom: 30px;
}

.cc-details {
  width: 75px;
}

.scale-up {
  transform: scale(1.05);
}
