/* Scytales Wallet Connector - Relying Party Styles */
:root {
    --primary-color: #FF7900;
    --primary-dark: #CC6100;
    --secondary-color: #000000;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --font-primary: 'Questrial', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background-color: var(--secondary-color);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.header .logo-accent {
    color: var(--primary-color);
}

.content-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

.error-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
}

.error-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.error-icon .material-icons {
    font-size: 48px;
    color: white;
}

.error-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.error-message {
    color: var(--text-secondary);
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

.info-box {
    background: #f9fafb;
    border-left: 4px solid var(--primary-color);
    padding: 1.25rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.info-box strong {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 121, 0, 0.3);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
}

.btn-secondary {
    background: white;
    border: 2px solid var(--border-color);
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: white;
}

.footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.technical-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.technical-details summary {
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.875rem;
    user-select: none;
}

.technical-details summary:hover {
    color: var(--primary-color);
}

.technical-details-content {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}