.navbar-avatar {
  object-fit: cover;
  width: 32px;
  height: 32px;
  max-height: inherit !important;
  border-radius: 50%;
}

/* this removes bullets from the hover dropdown menu items when logged in */
.navbar-item li {
  list-style: none;
}

#profile-picture {
  display: flex;
  justify-content: center;
}

#profile-picture img.avatar {
  object-fit: cover;
  width: 128px;
  height: 128px;
  border-radius: 50%;
}

#profile-upload-holder {
  padding-top: 0.5em;
}

#profile-upload-holder input[type="file"] {
  display: none;
}

.progress-bar {
  background-color: var(--primary);
  width: 2px;
}

#progress-bar-message {
  color: var(--gray);
}

.add-loading-dots:after {
  content: ' .';
  animation: dots 1s steps(5, end) infinite;
}

@keyframes dots {
  0%, 20% {
    color: rgba(0, 0, 0, 0);
    text-shadow: .25em 0 0 rgba(0, 0, 0, 0), .5em 0 0 rgba(0, 0, 0, 0);
  }

  40% {
    color: black;
    text-shadow: .25em 0 0 rgba(0, 0, 0, 0), .5em 0 0 rgba(0, 0, 0, 0);
  }

  60% {
    text-shadow: .25em 0 0 black, .5em 0 0 rgba(0, 0, 0, 0);
  }

  80%, 100% {
    text-shadow: .25em 0 0 black, .5em 0 0 black;
  }
}

/* this makes the list items look nice on mobile */
.upgrade-features li {
  display: flex;
}

.upgrade-features li .pg-icon {
  margin-right: 0.5rem;
}

.upgrade-features li .upgrade-feature {
  width: 100%;
}

#subscription-details-table .subscription-detail {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  margin: 0.5rem;
}

#subscription-details-table .subscription-detail .subscription-detail-label {
  width: 16rem;
  text-align: right;
  margin-right: 1rem;
}

#subscription-details-table .subscription-detail .subscription-detail-value {
  width: 100%;
}

#subscription-details-table .subscription-detail .subdetail {
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

#plan-selector .plan {
  height: 100%; /* fill the whole column */
  /* prevent shifting when border is added */
  border: 3px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  padding: 1rem;
}

#plan-selector .plan.is-selected {
  border: 3px solid var(--primary);
}

#plan-selector .plan .plan-summary {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#plan-selector .plan .price {
  font-size: 1.5rem;
}

/* alpine.js cloak support */
[x-cloak] {
  display: none !important;
}

/* ensure htmx links use pointers */
a[hx-get] {
  cursor: pointer;
}

.h-100 {
  height: 100%;
}

.muted-link {
  color: hsl(0, 0%, 71%);
}

.muted-link:hover {
  color: hsl(0, 0%, 48%);
  text-decoration: underline;
}

/* this is the default class assigned to errors by django forms */
.errorlist {
  color: var(--danger);
}

img.socialicon {
  padding-right: 0.5em;
  max-width: 24px;
  max-height: 24px;
}

/* css loader https://loading.io/css/ */
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}

.lds-ripple div {
  position: absolute;
  border: 4px solid var(--primary);
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}

@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }

  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

@charset "utf-8";

@charset "utf-8";


.clickable {
    cursor: pointer !important
}

.rz-table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 1rem;
    background-color: transparent;
    color: #212529;
    line-height: 1.5;
    text-align: left;
    vertical-align: middle;
    border-radius: 0.25rem;

    tbody tr {
        position: relative;
        cursor: pointer !important;
    }

    tbody tr::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--bs-primary);
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }

    tbody tr:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    & td, & th {
        padding: 1.25rem 0;
    }

}

.rz-table-sm {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 1rem;
    background-color: transparent;
    color: #212529;
    line-height: 1.5;
    text-align: left;
    vertical-align: middle;
    border-radius: 0.25rem;

    tbody tr {
        position: relative;
        cursor: pointer !important;
    }

    tbody tr::after {
        content: '';
        position: absolute;
        width: 100%;
        transform: scaleX(0);
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--bs-primary);
        transform-origin: bottom right;
        transition: transform 0.25s ease-out;
    }

    tbody tr:hover::after {
        transform: scaleX(1);
        transform-origin: bottom left;
    }

    & td, & th {
        padding: 0.5rem 0;
    }

}

.borderless {
    border: none !important;
}

.search-input:focus {
    box-shadow: none !important;
    border: 1px solid var(--bs-border-color) !important;
}

.search-btn {
    border-top: 1px solid var(--bs-border-color) !important;
    border-bottom: 1px solid var(--bs-border-color) !important;
    border-right: 1px solid var(--bs-border-color) !important;
}

.rz-capsule {
    font-size: 0.8rem;
    background-color: var(--bs-primary-bg-subtle);
    color: var(--bs-primary-text-emphasis);
    border-radius: 10px;
    padding: 0.05em 0.5em 0.15em 0.5em;
    margin-left: 0.5em;
    line-height: 1;

    &.warning {
        background-color: var(--bs-warning-bg-subtle);
        color: var(--bs-warning-text-emphasis);
    }
    &.danger {
        background-color: var(--bs-danger-bg-subtle);
        color: var(--bs-danger-text-emphasis);
    }
    &.black {
        background-color: var(--bs-dark);
        color: var(--bs-gray-100);
    }
}

.rz-badge {
    font-size: 0.8rem;
    font-weight: 600;
    background-color: var(--bs-gray-600);
    color: white;
    border-radius: 50rem;
    padding: 0.05em 0.65em 0.15em 0.65em;
    line-height: 1;
    white-space: nowrap;

    &.warning {
        background-color: var(--bs-warning);
        color: var(--bs-dark);
    }
    &.danger {
        background-color: var(--bs-danger);
        color: white;
    }
    &.black {
        background-color: var(--bs-dark);
        color: var(--bs-gray-100);
    }
}

.feature-main-bg {
    background: linear-gradient(150deg, #f8fafc 60%, #eaf1ff 100%);
    min-height: 100vh;
    padding-top: 48px;
    padding-bottom: 44px;
}
.feature-card {
    background: #fff;
    border-radius: 24px;
    max-width: 860px;
    margin: 0 auto 40px auto;
    box-shadow: 0 6px 24px rgba(43, 54, 116, 0.08);
    padding: 0;
    overflow: hidden;
}
@media (max-width: 991px) {
    .feature-card {
        margin: 0 6px 28px 6px;
        border-radius: 12px;
    }
}
.feature-hero {
    padding: 26px 36px 26px 36px;
    background: linear-gradient(-100deg, #eaf1ff 64%, #fafdff 100%);
    display: flex;
    align-items: center;
    gap: 28px;
}
.feature-hero-icon {
    font-size: 2.6rem;
    background: #eaf1ff;
    color: #1074e7;
    border-radius: 40px;
    width: 72px; height: 72px;
    display: flex;
    align-items: center; justify-content: center;
    box-shadow: 0 1px 7px rgba(16,116,231,0.07);
    flex-shrink: 0;
}
.feature-hero-content h1 {
    font-size: 2.15rem;
    font-weight: 800;
    margin-bottom: 7px;
    letter-spacing: -.01em;
}
.feature-hero-content .subtitle {
    font-size: 1.18rem;
    color: #41506a;
    font-weight: 500;
}
.feature-benefit-section {
    padding: 36px 36px 18px 36px;
    border-bottom: 1px solid #f0f2f8;
}
.feature-benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.feature-benefit-item {
    flex: 1 1 50%;
    min-width: 260px;
    padding: 0 18px 0 0;
    margin-bottom: 16px;
}
.feature-benefit-item .fa {
    color: #27ae60;
    margin-right: 10px;
}
.feature-how-section {
    padding: 30px 36px 9px 36px;
}
.feature-how-row {
    display: flex;
    flex-wrap: wrap;
    gap: 34px 36px;
    align-items: flex-start;
}
.feature-illustration {
    background: #eff5fe;
    padding: 22px 10px;
    border-radius: 16px;
    box-shadow: 0 2px 14px rgba(16,94,223,0.07);
    text-align: center;
}
.feature-code-block {
    background: #191f2c;
    color: #e6e9f1;
    padding: 18px 23px 14px 23px;
    border-radius: 8px;
    font-size: 0.98rem;
    font-family: 'Fira Mono', 'Consolas', monospace;
    overflow-x: auto;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(22,31,59,0.07);
}
.feature-faq-section {
    padding: 24px 36px 20px 36px;
    border-top: 1px solid #eef1f6;
}
.feature-faq {
    margin: 0;
    padding: 0;
    list-style: none;
}
.feature-faq li {
    margin-bottom: 18px;
}
.feature-cta-section {
    text-align: center;
    padding: 34px 36px 42px 36px;
}
.feature-cta-section .btn {
    margin: 0 8px 8px 8px;
}
@media (max-width: 767px) {
    .feature-hero, .feature-benefit-section, .feature-how-section, .feature-faq-section, .feature-cta-section {
        padding: 22px 12px;
    }
}
