
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%; /* iOS 8+ */
}

*, *:before, *:after {
  box-sizing: inherit;
}

body, h1, p {
  margin: 0;
  padding: 0;
}

main {
  min-height: calc(100vh - 80px);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #f8fafc;
  font-weight: 600;
}

p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #94a3b8;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

html, body {
  height: 100%;
}

body {
  font-family: "Work Sans", sans-serif, "HelveticaNeue", sans-serif;
  line-height: 1.6;
  background-color: #0f172a;
  color: #f8fafc;
  font-weight: 400;
  font-size: 18px;
}
@media only screen and (max-width: 600px) {
  body {
    font-size: 16px;
  }
}

.wrapper {
  padding-top: 160px;
  padding-left: 20px;
  padding-right: 20px;
}
@media only screen and (max-width: 600px) {
  .wrapper {
    padding-top: 80px;
  }
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

.max-width {
  width: 100%;
}

.text-container {
  max-width: 960px;
  margin: 0 auto;
  background-color: #1e293b;
  padding: 20px;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #334155;
}
.text-container.callout {
  background-color: rgba(139, 92, 246, 0.1);
  border-color: #8b5cf6;
}

.relative {
  position: relative;
}

a {
  color: #60a5fa;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.15s ease-in-out;
}
a:active {
  color: #1d4ed8;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: #3b82f6;
}
a.primary {
  color: #60a5fa;
}
a.primary:active {
  color: #1d4ed8;
  text-decoration: none;
}
a.primary:hover {
  text-decoration: none;
  color: #3b82f6;
}
a.warn {
  color: #f87171;
  cursor: pointer;
}
a.warn:hover {
  color: #f31010;
}
a.warn:active {
  color: #fdd2d2;
}

.hyperlink {
  color: #60a5fa;
  cursor: pointer;
}
.hyperlink:hover {
  color: #076eed;
}
.hyperlink:active {
  color: #c3ddfd;
}

img {
  max-width: 100%;
}

ul {
  margin: 0;
  padding: 0;
}

li {
  display: inline;
}

hr {
  opacity: 0.3;
  border-color: #334155;
}

.max-width {
  width: 100%;
}

.m0 {
  margin: 0 !important;
}

.ml5 {
  margin-left: 5px;
}

.ml10 {
  margin-left: 10px;
}

.ml20 {
  margin-left: 20px;
}

.ml30 {
  margin-left: 30px;
}

.mr5 {
  margin-right: 5px;
}

.mr10 {
  margin-right: 10px;
}

.mr20 {
  margin-right: 20px;
}

.mr30 {
  margin-right: 30px;
}

.mt5 {
  margin-top: 5px;
}

.mt10 {
  margin-top: 10px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.mt0 {
  margin-top: 0;
}

.mb0 {
  margin-bottom: 0;
}

.mb5 {
  margin-bottom: 5px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb15 {
  margin-bottom: 15px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.hidden {
  display: none !important;
}

.invisible {
  visibility: hidden;
}

.right {
  text-align: right;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.thin {
  font-weight: 400;
}

.medium {
  font-weight: 500;
}

.strong {
  font-weight: 600;
}

.strongest {
  font-weight: 700;
}

.pointer {
  cursor: pointer;
}

.inline {
  display: inline-block;
}

.de-emphasize {
  opacity: 0.6;
}

.small {
  font-size: 12px !important;
}

.smallish {
  font-size: 14px !important;
}

.flex {
  display: flex;
}

@media only screen and (max-width: 600px) {
  .responsive-flex {
    display: flex;
  }
}

.inline-flex {
  display: inline-flex;
}

.flex-align-center {
  align-items: center;
}

.flex-align-baseline {
  align-items: baseline;
}

.flex-justify-center {
  justify-content: center;
}

.flex-justify-end {
  justify-content: flex-end;
}

.flex-justify-start {
  justify-content: flex-start;
}

.flex-column {
  flex-direction: column;
}

.flex-space-between {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

@media only screen and (max-width: 600px) {
  .flex-responsive-column {
    flex-direction: column;
  }
}

@media only screen and (max-width: 600px) {
  .flex-responsive-column-reverse {
    flex-direction: column-reverse;
  }
}

@media only screen and (max-width: 600px) {
  .responsive-center {
    margin: 0 auto;
    text-align: center;
  }
}

@media only screen and (max-width: 600px) {
  .responsive-mb10 {
    margin-bottom: 10px;
  }
}

@media only screen and (max-width: 600px) {
  .responsive-mb60 {
    margin-bottom: 60px;
  }
}

.nowrap {
  white-space: nowrap;
}

.smallcaps {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
  font-weight: 600;
}

.white {
  color: white;
}

.primary {
  color: #60a5fa;
}

.warn {
  color: #f87171;
}

.green {
  color: #4ade80;
}

.gray {
  color: #94a3b8;
}

.pointer {
  cursor: pointer;
}

.wins {
  color: #4ade80;
}

.losses {
  color: #f87171;
}

.inline {
  display: inline;
}

.emoji {
  height: 1em;
  width: 1em;
  margin: 0 0.05em 0 0.1em;
  vertical-align: -0.1em;
}
.emoji.medal {
  width: 20px;
}

.time {
  background: #1e293b;
}
.time .time-label {
  opacity: 0.8;
}
.time .show {
  opacity: 1;
  font-size: inherit;
}

.callout {
  background: #1e293b;
  border: 2px solid #334155;
  border-radius: 0.5rem;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.strikethrough {
  text-decoration: line-through;
}

.global-search-container {
  max-width: 480px;
  width: 100%;
}

.global-search {
  margin-bottom: 30px;
  flex: 1 1 600px;
}
@media only screen and (max-width: 600px) {
  .global-search {
    width: 100%;
    flex: 1 1 100%;
  }
}

::selection {
  background-color: #60a5fa;
  color: #0f172a;
}

::-moz-selection {
  background-color: #60a5fa;
  color: #0f172a;
}

::-webkit-selection {
  background-color: #60a5fa;
  color: #0f172a;
}

.vertical-align-top {
  vertical-align: top;
}

.footer {
  padding: 30px 0;
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}
.btn.btn-primary {
  background-color: #60a5fa;
  color: #f8fafc;
}
.btn.btn-primary:hover {
  background-color: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}
.btn.btn-outline {
  border-color: #60a5fa;
  color: #60a5fa;
  background-color: transparent;
}
.btn.btn-outline:hover {
  background-color: #60a5fa;
  color: #0f172a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}
.btn.btn-full {
  width: 100%;
  text-align: center;
}

.navbar {
  background: #1e293b;
  border-bottom: 1px solid #334155;
  padding: 1rem 0;
}
.navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.navbar .logo {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f8fafc;
  text-decoration: none;
}
.navbar .logo:hover {
  color: #60a5fa;
}
.navbar .logo .logo-img {
  height: 44px;
}
.navbar nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.navbar .welcome {
  color: #94a3b8;
  margin-right: 1rem;
}

.flash {
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 0.375rem;
}
.flash.flash-notice {
  background-color: rgba(74, 222, 128, 0.1);
  border: 1px solid #4ade80;
  color: #4ade80;
}
.flash.flash-alert {
  background-color: rgba(248, 113, 113, 0.1);
  border: 1px solid #f87171;
  color: #f87171;
}

.auth-container {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.auth-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  padding: 2rem;
  width: 100%;
  max-width: 480px;
}
.auth-card h1 {
  font-size: 1.875rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.5rem;
  text-align: center;
}
.auth-card .subtitle {
  color: #94a3b8;
  text-align: center;
  margin-bottom: 2rem;
}
.auth-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 1.5rem 0 1rem 0;
  border-bottom: 1px solid #334155;
  padding-bottom: 0.5rem;
}
.auth-card h3:first-of-type {
  margin-top: 0;
}

.auth-form .form-group {
  margin-bottom: 1.5rem;
}
.auth-form .form-group label {
  display: block;
  font-weight: 500;
  color: #f8fafc;
  margin-bottom: 0.5rem;
}
.auth-form .form-group .form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #334155;
  border-radius: 0.375rem;
  font-size: 1rem;
  background-color: #0f172a;
  color: #f8fafc;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.auth-form .form-group .form-control:focus {
  outline: none;
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}
.auth-form .form-group .form-control::placeholder {
  color: #94a3b8;
}
.auth-form .form-actions {
  margin-top: 2rem;
}

.error-messages {
  background-color: rgba(248, 113, 113, 0.1);
  border: 1px solid #f87171;
  border-radius: 0.375rem;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.error-messages h4 {
  color: #f87171;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.error-messages ul {
  margin: 0;
  padding-left: 1rem;
}
.error-messages ul li {
  color: #f87171;
  font-size: 0.875rem;
}

.auth-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #334155;
}
.auth-footer p {
  color: #94a3b8;
  margin: 0;
}
.auth-footer .link {
  color: #60a5fa;
  text-decoration: none;
  font-weight: 500;
}
.auth-footer .link:hover {
  text-decoration: underline;
  color: #93c5fd;
}

.title {
  font-family: "Righteous", sans-serif;
  color: #2d3748;
  font-weight: 600;
}

.buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  gap: 1rem;
}
@media only screen and (max-width: 600px) {
  .buttons {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
  }
  .buttons .button {
    margin: 0;
  }
}

.button {
  display: inline-block;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 500;
  padding: 0.875rem 1.5rem;
  border-radius: 0.375rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  min-width: 180px;
}
.button .rapidapi-logo {
  height: 24px;
}
@media only screen and (max-width: 600px) {
  .button {
    min-width: auto;
    width: 100%;
  }
}

.primary-cta {
  background-color: #60a5fa;
  color: white;
  border-color: #60a5fa;
}
.primary-cta:hover {
  background-color: #3b82f6;
  border-color: #3b82f6;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}
.primary-cta:active {
  transform: translateY(0);
}

.secondary-cta {
  background-color: transparent;
  border: 2px solid #60a5fa;
  color: #60a5fa;
}
.secondary-cta:hover {
  background-color: #60a5fa;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.2);
}
.secondary-cta:active {
  transform: translateY(0);
}

.landing-container {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  min-height: 100vh;
  color: white;
}

.hero-section {
  padding: 4rem 1rem;
  text-align: center;
}
.hero-section .hero-title {
  font-family: "Righteous", sans-serif;
  font-size: 3.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}
@media only screen and (max-width: 600px) {
  .hero-section .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
}
.hero-section .hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
@media only screen and (max-width: 600px) {
  .hero-section .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
  }
}

.feature-card {
  background: #1e293b;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  padding: 1rem;
  margin: 0.5rem;
  color: #f8fafc;
  max-width: 280px;
  min-height: 100px;
  border: 1px solid #334155;
}
.feature-card span {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-right: 1rem;
}
.feature-card strong {
  font-size: 1rem;
  color: #f8fafc;
  display: block;
}
.feature-card .small {
  font-size: 0.875rem;
  line-height: 1.4;
}
.feature-card a {
  color: #60a5fa;
}
.feature-card a:hover {
  color: #93c5fd;
}
@media only screen and (max-width: 600px) {
  .feature-card {
    margin: 0.5rem 0;
    max-width: 100%;
    min-height: auto;
  }
}

@media only screen and (max-width: 600px) {
  .flex-wrap {
    flex-direction: column;
    align-items: center;
  }
}

.logo-img {
  height: 60px;
}
@media only screen and (max-width: 600px) {
  .logo-img {
    height: 50px;
  }
}

.text-container.callout {
  max-width: 500px;
  text-align: center;
}
.text-container.callout.pricing {
  max-width: 100%;
}

.dashboard-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.user-dashboard-header {
  text-align: center;
}
.user-dashboard-header h1 {
  font-size: 2.5rem;
  color: #f8fafc;
}

.usage-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
@media only screen and (max-width: 600px) {
  .usage-tabs {
    flex-direction: column;
    gap: 0.25rem;
  }
}

.tab-button {
  background: #1e293b;
  border: 1px solid #334155;
  color: #94a3b8;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}
.tab-button:hover {
  border-color: #60a5fa;
  color: #60a5fa;
}
.tab-button.active {
  background: #60a5fa;
  border-color: #60a5fa;
  color: white;
}
.tab-button.active:hover {
  background: #3b82f6;
  border-color: #3b82f6;
}
@media only screen and (max-width: 600px) {
  .tab-button {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
  }
}

.plan-status {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.plan-status.active {
  background: rgba(74, 222, 128, 0.2);
  color: #4ade80;
  border: 1px solid #4ade80;
}
.plan-status.trialing {
  background: rgba(96, 165, 250, 0.2);
  color: #60a5fa;
  border: 1px solid #60a5fa;
}
.plan-status.past_due, .plan-status.unpaid {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
  border: 1px solid #f87171;
}
.plan-status.canceled, .plan-status.incomplete {
  background: rgba(148, 163, 184, 0.2);
  color: #94a3b8;
  border: 1px solid #94a3b8;
}

.usage-overview .usage-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
@media only screen and (max-width: 600px) {
  .usage-overview .usage-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.usage-card {
  background: #1e293b;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid #334155;
  overflow: hidden;
  transition: transform 0.15s ease-in-out;
}
.usage-card:hover {
  transform: translateY(-2px);
}
.usage-card.primary {
  border-left: 4px solid #60a5fa;
}
.usage-card.secondary {
  border-left: 4px solid #8b5cf6;
}
.usage-card.accent {
  border-left: 4px solid #4ade80;
}
.usage-card .usage-card-content {
  padding: 1.5rem;
}
.usage-card .usage-card-content h3 {
  font-size: 2rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.5rem;
  margin-top: 0;
}
.usage-card .usage-card-content p {
  color: #94a3b8;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.usage-card .usage-card-content small {
  color: #94a3b8;
  font-size: 0.8rem;
}

.usage-bar {
  width: 100%;
  height: 8px;
  background-color: #334155;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.usage-bar .usage-fill {
  height: 100%;
  background: linear-gradient(90deg, #60a5fa 0%, #93c5fd 100%);
  border-radius: 4px;
  transition: width 0.3s ease-in-out;
}

.endpoints-section .endpoints-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}
@media only screen and (max-width: 600px) {
  .endpoints-section .endpoints-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

.endpoint-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.375rem;
  padding: 1rem;
  text-align: center;
  transition: all 0.15s ease-in-out;
}
.endpoint-card:hover {
  border-color: #60a5fa;
  transform: translateY(-1px);
}
.endpoint-card h4 {
  font-size: 0.875rem;
  color: #f8fafc;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.endpoint-card p {
  font-size: 1.5rem;
  font-weight: 600;
  color: #60a5fa;
  margin-bottom: 0.25rem;
}
.endpoint-card small {
  color: #94a3b8;
  font-size: 0.75rem;
}

.plan-section .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.plan-section .feature-list li {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid #334155;
  color: #f8fafc;
}
.plan-section .feature-list li:last-child {
  border-bottom: none;
}
.plan-section .feature-list li:before {
  content: "✓";
  color: #4ade80;
  font-weight: bold;
  margin-right: 0.5rem;
}
@media only screen and (max-width: 600px) {
  .plan-section .flex-responsive-column {
    flex-direction: column;
    text-align: center;
  }
  .plan-section .flex-responsive-column > div:first-child {
    margin-bottom: 1rem;
  }
}

.activity-section .activity-table {
  background: #1e293b;
  border-radius: 0.5rem;
  border: 1px solid #334155;
  overflow: hidden;
}
.activity-section .activity-table .activity-header {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  background: rgba(96, 165, 250, 0.1);
  padding: 1rem;
  font-weight: 600;
  color: #f8fafc;
  border-bottom: 1px solid #334155;
}
@media only screen and (max-width: 600px) {
  .activity-section .activity-table .activity-header {
    grid-template-columns: 1fr 1fr;
  }
  .activity-section .activity-table .activity-header .activity-col:last-child {
    display: none;
  }
}
.activity-section .activity-table .activity-row {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  padding: 1rem;
  border-bottom: 1px solid #334155;
  transition: background-color 0.15s ease-in-out;
}
.activity-section .activity-table .activity-row:hover {
  background: rgba(96, 165, 250, 0.05);
}
.activity-section .activity-table .activity-row:last-child {
  border-bottom: none;
}
@media only screen and (max-width: 600px) {
  .activity-section .activity-table .activity-row {
    grid-template-columns: 1fr 1fr;
  }
  .activity-section .activity-table .activity-row .activity-col:last-child {
    display: none;
  }
}
.activity-section .activity-table .activity-col {
  color: #f8fafc;
  display: flex;
  align-items: center;
}
.activity-section .activity-table .activity-col.strong {
  font-weight: 600;
  color: #60a5fa;
}

.endpoint-tag {
  display: inline-block;
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  margin-right: 0.5rem;
  margin-bottom: 0.25rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.dashboard-actions {
  padding: 2rem 0;
}
.dashboard-actions .btn {
  min-width: 150px;
}

.flash {
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin: 1rem 0;
  border-left: 4px solid transparent;
}
.flash.flash-notice {
  background: rgba(74, 222, 128, 0.1);
  border-left-color: #4ade80;
  color: #4ade80;
}
.flash.flash-alert {
  background: rgba(248, 113, 113, 0.1);
  border-left-color: #f87171;
  color: #f87171;
}
.flash a {
  color: inherit;
  text-decoration: underline;
  font-weight: 600;
}
.flash a:hover {
  opacity: 0.8;
}

@media only screen and (max-width: 600px) {
  .user-dashboard-header h1 {
    font-size: 2rem;
  }
  .usage-card .usage-card-content {
    padding: 1rem;
  }
  .usage-card .usage-card-content h3 {
    font-size: 1.5rem;
  }
  .endpoint-card {
    padding: 0.75rem;
  }
  .endpoint-card p {
    font-size: 1.25rem;
  }
  .activity-table .activity-header,
  .activity-table .activity-row {
    padding: 0.75rem;
  }
  .dashboard-actions .btn {
    margin: 0.25rem;
    min-width: auto;
    display: block;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
}
.organizations-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.org-card {
  background: #1e293b;
  border-radius: 0.75rem;
  border: 1px solid #334155;
  padding: 1.5rem;
  transition: all 0.15s ease-in-out;
}
.org-card:hover {
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.org-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #334155;
}
@media only screen and (max-width: 600px) {
  .org-header {
    flex-direction: column;
    gap: 1rem;
  }
}

.org-info h3.org-name {
  margin: 0 0 0.5rem 0;
  color: #f8fafc;
  font-size: 1.25rem;
  font-weight: 600;
}
.org-info p.org-slug {
  margin: 0 0 0.5rem 0;
  color: #60a5fa;
  font-weight: 500;
  font-size: 0.9rem;
}
.org-info p.org-customer {
  margin: 0;
  color: #94a3b8;
  font-size: 0.8rem;
}

.org-status .status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.org-status .status-badge.active {
  background: rgba(74, 222, 128, 0.1);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
}
.org-status .status-badge.trialing {
  background: rgba(96, 165, 250, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(96, 165, 250, 0.3);
}
.org-status .status-badge.past-due {
  background: rgba(251, 191, 36, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(251, 191, 36, 0.3);
}
.org-status .status-badge.canceled {
  background: rgba(248, 113, 113, 0.1);
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.3);
}
.org-status .status-badge.inactive {
  background: rgba(107, 114, 128, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(107, 114, 128, 0.3);
}

.org-details {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}
@media only screen and (max-width: 768px) {
  .org-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.org-details h4 {
  margin: 0 0 1rem 0;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 2px solid #60a5fa;
  padding-bottom: 0.5rem;
  display: inline-block;
}

.plan-section p.plan-name {
  margin: 0 0 0.5rem 0;
  color: #f8fafc;
  font-weight: 500;
}
.plan-section p.plan-price {
  margin: 0 0 0.25rem 0;
  color: #60a5fa;
  font-weight: 600;
}
.plan-section p.plan-requests {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

.usage-section p.period-dates {
  margin: 0 0 1rem 0;
  color: #94a3b8;
  font-size: 0.9rem;
  font-style: italic;
}

.usage-stats {
  margin-bottom: 1rem;
}
.usage-stats .usage-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(107, 114, 128, 0.1);
}
.usage-stats .usage-item:last-child {
  border-bottom: none;
}
.usage-stats .usage-item.overage .usage-label, .usage-stats .usage-item.overage .usage-value {
  color: #f87171;
  font-weight: 600;
}
.usage-stats .usage-label {
  color: #94a3b8;
  font-size: 0.9rem;
}
.usage-stats .usage-value {
  color: #f8fafc;
  font-weight: 600;
}

.usage-progress .progress-bar {
  width: 100%;
  height: 8px;
  background: rgba(107, 114, 128, 0.2);
  border-radius: 4px;
  overflow: hidden;
}
.usage-progress .progress-bar .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #60a5fa, #8b5cf6);
  border-radius: 4px;
  transition: width 0.3s ease-in-out;
}

.users-section .users-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.users-section .user-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem;
  background: rgba(107, 114, 128, 0.05);
  border-radius: 0.5rem;
  border: 1px solid rgba(107, 114, 128, 0.1);
}
.users-section .user-item .user-name {
  color: #f8fafc;
  font-weight: 500;
  font-size: 0.9rem;
}
.users-section .user-item .user-email {
  color: #94a3b8;
  font-size: 0.8rem;
}

.org-actions {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #334155;
  text-align: right;
}
.org-actions .btn {
  min-width: 120px;
}

.impersonation-banner {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 146, 60, 0.2));
  border: 2px solid rgba(251, 191, 36, 0.5);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.impersonation-banner p {
  color: #f8fafc;
  font-weight: 600;
  margin: 0;
  font-size: 1rem;
}
@media only screen and (max-width: 600px) {
  .impersonation-banner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

.btn-stop-impersonate {
  background: rgba(248, 113, 113, 0.2);
  color: #f87171;
  border: 1px solid #f87171;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}
.btn-stop-impersonate:hover {
  background: #f87171;
  color: white;
  transform: translateY(-1px);
}

.org-users {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
}
.org-users h4 {
  margin: 0 0 1rem 0;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 600;
  border-bottom: 2px solid #60a5fa;
  padding-bottom: 0.5rem;
  display: inline-block;
}
.org-users .no-users {
  color: #94a3b8;
  font-style: italic;
  font-size: 0.9rem;
}

.users-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.user-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(107, 114, 128, 0.05);
  border-radius: 0.5rem;
  border: 1px solid rgba(107, 114, 128, 0.1);
  transition: all 0.15s ease-in-out;
}
.user-item:hover {
  background: rgba(107, 114, 128, 0.1);
  border-color: rgba(96, 165, 250, 0.3);
}
.user-item .user-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.user-item .user-info .user-name {
  color: #f8fafc;
  font-weight: 600;
  font-size: 0.95rem;
}
.user-item .user-info .user-email {
  color: #94a3b8;
  font-size: 0.85rem;
}
@media only screen and (max-width: 600px) {
  .user-item {
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }
}

.btn-impersonate {
  background: linear-gradient(135deg, #60a5fa, #8b5cf6);
  color: white;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  white-space: nowrap;
}
.btn-impersonate:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}
@media only screen and (max-width: 600px) {
  .btn-impersonate {
    width: 100%;
  }
}
