/* Custom styles for SPID Discovery page */

.brand-header {
  background: linear-gradient(135deg, #0066cc 0%, #004494 100%);
  padding: 2rem 0;
  margin-bottom: 3rem;
  box-shadow: 0 4px 20px rgba(0, 102, 204, 0.15);
}

.brand-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.logo-primary {
  max-height: 80px;
  filter: brightness(1.1) contrast(1.05);
}

.logo-secondary {
  max-height: 40px;
  opacity: 0.9;
}

.brand-title {
  color: white;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.brand-subtitle {
  color: rgba(255,255,255,0.9);
  font-weight: 300;
  margin: 0;
}

.spid-container {
  max-width: 1000px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  padding: 3rem 2rem 2rem 2rem;
  border: 1px solid rgba(0,102,204,0.1);
}

.spid-title {
  color: #0066cc;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.spid-description {
  color: #666;
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.spid-button-container {
  margin: 2rem 0 0 0;
}

.spid-info {
  text-align: center;
  margin-top: 2rem;
}

.spid-info p {
  margin-bottom: 0.5rem;
}

.spid-info small {
  color: #6c757d;
}

.spid-register-link {
  color: #0066cc;
  text-decoration: none;
  font-size: 0.9rem;
}

.spid-register-link:hover {
  text-decoration: underline;
}

.info-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e9ecef;
}

.info-text {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.powered-by {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #6c757d;
  font-size: 0.85rem;
}

.thux-logo {
  height: 20px;
  opacity: 0.7;
}

.agid-logo {
  max-width: 280px;
  height: auto;
  opacity: 0.8;
  margin-top: 1.5rem;
}

.spid-info-text {
  text-align: left;
  color: #495057;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  margin-right: 2rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-left: 3px solid #0066cc;
}

.spid-info-text:last-of-type {
  background-color: #fff3cd;
  border-left-color: #ffc107;
  color: #856404;
}

body {
  background: #f8f9fa;
  font-family: 'Titillium Web', sans-serif;
  padding-bottom: 2rem;
}

.spid-idp-button-link a {
  display: flex !important;
  padding-left: 15px;
  align-items: center;
  width: 100%;
}

.dropdown-item {
  list-style: none;
  padding: 8px 0 8px 24px !important;
  margin: 0;
  line-height: 18px;
  display: flex !important;
  align-items: center;
  width: 100%;
}

@media (max-width: 950px) {
  .container-md, .container-sm, .container {
      max-width: 95% !important;
  }

  .spid-idp-button {
    position: relative !important;
    top: 0 !important;
    left: 20px !important;
  }

  .spid-logo {
     margin-top: 1rem;
  }

  .spid-info-text {
    margin-right: 0;
  }

  .spid-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
  }

  .error-body {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

.card:after {
  display: none !important;
}