.sidenav .sidenav-header {
  height: auto;
  padding: 0.85rem;
}

.sidenav .navbar-brand {
  margin: 0 !important;
  padding: 0;
}

.readit-logo {
  display: block;
  width: 100%;
  height: auto !important;
  max-height: none !important;
}

.vote-col {
  min-width: 2rem;
}

.vote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #67748e;
  cursor: pointer;
}

.vote-btn:disabled {
  cursor: default;
  opacity: 0.7;
}

.vote-btn:not(:disabled):hover {
  color: #cb0c9f;
}

.icon-svg {
  width: 16px;
  height: 16px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-shape .icon-svg {
  color: #344767;
}

.icon-shape.bg-gradient-primary .icon-svg {
  color: #fff;
}

.vote-btn .icon-svg {
  width: 14px;
  height: 14px;
}

.text-xs .icon-svg,
.nav-link .icon-svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: -2px;
}

html,
body {
  min-height: 100%;
}

body.g-sidenav-show {
  min-height: 100vh;
}

.main-content {
  min-height: 100vh;
  max-height: none !important;
  height: auto !important;
  display: flex;
  flex-direction: column;
  overflow: visible !important;
}

.page-content {
  flex: 1 0 auto;
}

.footer {
  margin-top: auto;
  flex-shrink: 0;
}

.create-post-bar {
  color: inherit;
}

.create-post-bar .form-control {
  cursor: pointer;
}

.create-post-plus {
  flex: 0 0 3rem;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 0.75rem;
  background-image: linear-gradient(310deg, #ea580c, #f59e0b);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.12);
}

a.create-post-plus,
.create-post-bar .create-post-plus {
  color: #fff;
}

.create-post-bar:hover .create-post-plus {
  filter: brightness(1.06);
}

.auth-logo {
  width: 140px;
  height: auto;
}

/* theme sets padding-left: 0 on inputs after an icon */
.input-group .form-control:not(:first-child) {
  padding-left: 0.55rem;
}

.form-label {
  display: block;
  margin-bottom: 0.4rem;
  line-height: 1.25;
}

.avatar {
  line-height: 1;
}

.icon-shape {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.navbar-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.navbar-top-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-left: auto;
  min-width: 0;
}

.post-copy {
  overflow-wrap: anywhere;
}

#iconNavbarSidenav {
  background: transparent;
  border: 0;
}

.navbar-search {
  min-width: 0;
  flex: 1 1 10rem;
  width: auto !important;
}

.navbar-top-actions > form,
.navbar-top-actions > .btn,
.navbar-top-actions > #iconNavbarSidenav {
  flex-shrink: 0;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.card-actions .btn {
  flex: 1 1 8.5rem;
  margin: 0 !important;
  text-align: center;
}

@media (max-width: 767.98px) {
  .navbar-top-actions {
    flex: 1 1 100%;
    width: 100%;
    margin-left: 0;
  }

  .navbar-search {
    flex: 1 1 0;
  }
}

#popup-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#popup-inside {
  text-align: center;
  width: 100%;
  max-width: 300px;
  background: white;
  margin: 30px auto 20px auto;
  padding: 20px 20px 20px;
  position: relative;
  border: 1px solid #00050a;
  border-radius: 12px;
}

#popup-inside h2 {
  font-size: 1rem;
  margin: 0;
}

/* AI help me here */
#close {
  position: absolute;
  top: 0.9px;
  right: 10px;
  cursor: pointer;
  font-weight: bold;
}
