
.dashboard-card-link-light {
  color: rgba(255, 255, 255, 0.9);
}

.dashboard-card-link-light:hover {
  color: white;
}

.dashboard-empty-state {
  border-radius: 0.5rem;
  border-width: 1px;
  border-style: dashed;
  background-color: rgb(255 255 255 / 0.8);
  padding: 1.5rem;
  border-color: var(--theme-primary-soft);
}

.app-profile-menu {
  position: relative;
}

.app-profile-summary {
  display: flex;
  cursor: pointer;
  list-style-type: none;
  align-items: center;
  gap: 0.375rem;
  border-radius: 0.375rem;
  padding-left: 0.375rem;
  padding-right: 0.375rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    -webkit-backdrop-filter;
  transition-property:
    color, background-color, border-color, text-decoration-color, fill, stroke,
    opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    backdrop-filter,
    -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
  min-width: 0;
  background: transparent;
}

.app-profile-summary::-webkit-details-marker {
  display: none;
}

.app-profile-summary:hover {
  background: rgba(var(--theme-primary-rgb), 0.04);
}

.app-profile-menu[open] .app-profile-summary {
  background: rgba(var(--theme-primary-rgb), 0.04);
}

.app-profile-avatar {
  display: inline-flex;
  height: 1.75rem;
  width: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(var(--theme-filled-primary-foreground-rgb));
  background: var(--theme-filled-primary);
}

.app-profile-chevron {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
}

.app-profile-chevron .bi {
  height: 0.875rem;
  width: 0.875rem;
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    -webkit-backdrop-filter;
  transition-property:
    color, background-color, border-color, text-decoration-color, fill, stroke,
    opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    backdrop-filter,
    -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 200ms;
}

.app-profile-menu[open] .app-profile-chevron .bi {
  transform: rotate(180deg);
}

.app-profile-dropdown {
  position: absolute;
  right: 0px;
  top: calc(100% + 0.35rem);
  z-index: 50;
  display: none;
  width: 13rem;
  border-radius: 0.5rem;
  border-width: 1px;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  --tw-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  --tw-shadow-colored: 0 8px 24px var(--tw-shadow-color);
  box-shadow:
    var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000),
    var(--tw-shadow);
  border-color: var(--color-surface-200, #e2e8f0);
}

.app-profile-menu[open] .app-profile-dropdown {
  display: block;
}

.app-profile-dropdown-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-hover-muted, #f1f5f9);
}

.app-profile-dropdown-name {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.app-profile-dropdown-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding-left: 0.625rem;
  padding-right: 0.625rem;
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  background: rgba(var(--theme-primary-rgb), 0.08);
  color: var(--theme-primary);
}

.app-profile-badge-conservative {
  background: var(--color-success, #059669);
  color: white;
}

.app-profile-badge-moderate {
  background: var(--color-info, #2563eb);
  color: white;
}

.app-profile-badge-bold {
  background: var(--color-warning, #d97706);
  color: white;
}

.app-profile-badge-aggressive {
  background: var(--color-error, #dc2626);
  color: white;
}

.app-profile-badge-sophisticated {
  background: var(--color-info, #7e22ce);
  color: white;
}

.app-profile-dropdown-links {
  display: grid;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.app-profile-dropdown-link {
  display: block;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    -webkit-backdrop-filter;
  transition-property:
    color, background-color, border-color, text-decoration-color, fill, stroke,
    opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property:
    color,
    background-color,
    border-color,
    text-decoration-color,
    fill,
    stroke,
    opacity,
    box-shadow,
    transform,
    filter,
    backdrop-filter,
    -webkit-backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.app-profile-dropdown-link:hover {
  background: var(--color-surface-100, #f8fafc);
}

.app-profile-dropdown-signout-form {
  margin: 0;
}

button.app-profile-dropdown-link {
  width: 100%;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.app-profile-dropdown-link-title {
  display: block;
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: var(--color-secondary);
}

.app-profile-dropdown-link:hover .app-profile-dropdown-link-title {
  color: var(--theme-primary);
}

.app-profile-dropdown-separator {
  margin-left: 0.75rem;
  margin-right: 0.75rem;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  border-top: 1px solid var(--color-hover-muted, #f1f5f9);
}

.app-profile-dropdown-link-danger .app-profile-dropdown-link-title {
  color: var(--color-error, #b42318);
}

.app-footer {
  border-top: 1px solid var(--color-border, #e5e7eb);
  background-color: var(--color-surface, #ffffff);
}

.app-footer-inner {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  width: 100%;
  max-width: 1600px;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 1rem;
  padding-right: 1rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media (min-width: 640px) {
  .app-footer-inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .app-footer-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.app-footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

@media (min-width: 640px) {
  .app-footer-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }
}

.app-footer-tagline {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 600;
  line-height: 1.375;
  color: var(--color-secondary);
}
