@use '../../../../styles/shared-legal.scss';

// Specific styles for company-details only
.requisites {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  
  .req-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    
    .req-label {
      font-weight: var(--font-weight-medium, 500);
      color: var(--text-secondary);
    }
    
    .req-value {
      font-family: 'Courier New', monospace;
      color: var(--text-primary);
      font-weight: var(--font-weight-semibold, 600);
    }
  }
}

.work-hours {
  padding: 1rem;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-color);
  margin-top: 1.5rem;
  
  p {
    margin: 0.5rem 0;
    color: var(--text-primary);
    
    strong {
      color: var(--primary-color);
    }
  }
}

.org-name {
  font-weight: var(--font-weight-semibold, 600);
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.org-short {
  font-size: var(--font-size-md, 0.9375rem);
  /* --text-light fails WCAG AA 4.5:1 at this font size across every theme
     (dexar 3.39:1, lavero/novo 2.54:1) — using --text-secondary instead,
     which passes (4.55:1 / 7.56:1) with no visual-family change. */
  color: var(--text-secondary);
}

.basis {
  font-size: var(--font-size-base, 0.875rem);
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;

  .detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;

    strong {
      color: var(--text-primary);
      font-weight: var(--font-weight-semibold, 600);
    }

    span {
      color: var(--text-secondary);
      
      a {
        color: var(--primary-color);
        text-decoration: none;
        
        &:hover {
          text-decoration: underline;
        }
      }
    }
  }
}
