/**
* This is a valid CSS file.
  **/

/* font https://www.fontshare.com/fonts/clash-grotesk */
@font-face {
  font-family: 'Clash Grotesk';
  src: url(css/ClashGrotesk-Variable.ttf) format('ttf');
}

body {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 570;
  font-size: 20px;
}

small,
.small {
  font-size: 0.7rem;
}
p {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 500;
  font-size: 14px;
}

h1 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 430;
}

h2 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 550;
}

h3 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 550;
}

h4 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 550;
}

h5 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 550;
}

h6 {
  font-family: 'Clash Grotesk', sans-serif;
  font-weight: 550;
}

a {
  text-decoration: none;
}

.dossier-button {
  background-color: #ffffff; /* Primary blue color */
  color: #ffffff; /* White text color */
  border: 1px solid #007bff; /* Border color matching the background */
  font-size: 16px; /* Adjust font size as needed */
  padding: 10px 20px; /* Adjust padding as needed */
  font-weight: 550; /* Font weight */
  border-radius: 4px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s, border-color 0.3s; /* Smooth transition for hover effects */
}

.ipad-svg {
  margin-top: 10px;
}

/* Angepasstes Media Query für ausgeblendeten Text */
@media (min-width: 767px) and (max-width: 1060px) {
  .hide-button-text {
    display: none;
  }
  .ipad-svg {
    margin: auto !important; /* Zentriert das SVG horizontal und vertikal */
  }
}

.box-bg {
  background-color: #ffffff;
}

hr {
  border: 1px solid #000000;
}

.border-right {
  border-right: 1px solid #000; /* Adjust color and width as needed */
}

.modal-header,
.modal-footer {
  border: none;
}

/* Dossier CTA button styling aligned with v2 home */
.btn-dossier {
  background-color: #0f62fe;
  color: #ffffff;
  border: 1px solid #0f62fe;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease, color 0.2s ease;
}

.btn-dossier:hover,
.btn-dossier:focus-visible {
  background-color: #0c53d7;
  border-color: #0c53d7;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 98, 254, 0.25);
}

.btn-dossier:active {
  background-color: #0a47bc;
  border-color: #0a47bc;
  color: #ffffff;
}

.btn-dossier-load.is-loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn-dossier-load.is-loading .spinner-border {
  width: 0.85em;
  height: 0.85em;
  border-width: 2px;
  vertical-align: -0.1em;
  margin-right: 0.35em;
}

/* Dashboard card font */
.dashboard-card,
.dashboard-card *,
.dossier-card,
.dossier-card * {
  font-family: 'IBM Plex Sans', sans-serif;
}

.dashboard-card-title,
.dossier-card-title {
  font-size: 21px;
  font-weight: 600;
}

.subscription-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 576px) {
  .subscription-grid {
    grid-template-columns: 1fr;
  }
}

.subscription-grid .abo-h,
.subscription-grid .text-primary,
.subscription-grid .text-primary * {
  color: #0a3078 !important;
}

.subscription-grid .abo-h,
.subscription-grid h1 {
  font-family: 'Clash Grotesk', sans-serif;
}

.subscription-grid .abo-h {
  font-weight: 500;
}

.subscription-grid p.text-primary {
  font-weight: 600;
}

.profile-card {
  border-radius: 14px;
}

.profile-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #0a3078;
}

.profile-edit {
  font-weight: 600;
  color: #0f62fe;
  text-decoration: none;
}

.profile-edit:hover {
  text-decoration: underline;
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 24px;
  font-weight: 700;
  color: #0a3078;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 32px;
}

@media (max-width: 768px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}

.profile-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-label {
  font-size: 12px;
  font-weight: 500;
  color: #5b6b7a;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.profile-value {
  font-size: 14px;
  font-weight: 600;
  color: #0a3078;
  line-height: 1.35;
}

/* Bottom Action Cards (Rechnungen, Ihr Abo, Store) */
.bottom-action-card {
  display: flex;
  flex-direction: column;
  min-height: 200px;
}

.bottom-action-card .dashboard-card-title {
  font-size: 21px;
  font-weight: 600;
  color: #0a3078;
  line-height: 1.3;
}

.bottom-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: #ecedee;
  color: #0a3078;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

.bottom-card-badge--success {
  background-color: #d4edda;
  color: #155724;
}

.bottom-card-badge--warning {
  background-color: #fff3cd;
  color: #856404;
}

.bottom-card-description {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #5b6b7a;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.bottom-card-content {
  flex: 1;
}

.bottom-card-detail-item {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #0a3078;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.bottom-card-detail-item i {
  color: #0f62fe;
  font-size: 1rem;
}

.bottom-card-btn-secondary {
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 200;
  border: 1px solid #0f62fe;
  color: #0f62fe;
  background-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.bottom-card-btn-secondary:hover,
.bottom-card-btn-secondary:focus-visible {
  background-color: #0f62fe;
  color: #ffffff;
  border-color: #0f62fe;
  box-shadow: 0 4px 14px rgba(15, 98, 254, 0.25);
}

.bottom-card-btn-secondary:active {
  background-color: #0a47bc;
  border-color: #0a47bc;
  color: #ffffff;
}

/* Ensure equal height cards with proper flex layout */
.bottom-action-card .mt-auto {
  margin-top: auto;
}

@media (max-width: 768px) {
  .bottom-action-card {
    min-height: auto;
  }
}

/* Team Members Card */
.team-member-item {
  /* No border separator between members */
}

.team-member-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.team-member-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0a3078;
  line-height: 1.4;
}

.team-member-email {
  font-size: 0.8125rem;
  font-weight: 400;
  color: #5b6b7a;
  line-height: 1.4;
}

.team-member-count {
  font-size: 1.25rem;
  font-weight: 600;
  color: #0a3078;
  line-height: 1;
}

.team-member-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #5b6b7a;
  line-height: 1.3;
  text-align: center;
}

.team-member-empty {
  font-size: 0.9375rem;
  font-weight: 400;
  color: #5b6b7a;
  text-align: center;
  padding: 2rem 0;
}
